llvm::MachineIRBuilder::validateBinaryOp

Validate types for a binary operation.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

void
validateBinaryOp(
    LLT const Res,
    LLT const Op0,
    LLT const Op1);

Parameters

NameDescription
ResResult type.
Op0First operand type.
Op1Second operand type.