llvm::MachineIRBuilder::validateSelectOp

Validate types for a select operation.

Synopsis

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

void
validateSelectOp(
    LLT const ResTy,
    LLT const TstTy,
    LLT const Op0Ty,
    LLT const Op1Ty);

Parameters

NameDescription
ResTyResult type.
TstTyCondition type.
Op0TyTrue-value type.
Op1TyFalse-value type.