Return true if MI can obviously be folded into IntoMI.

Synopsis

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

bool
isObviouslySafeToFold(
    MachineInstr& MI,
    MachineInstr& IntoMI) const;

Description

MI and IntoMI do not need to be in the same basic blocks, but MI must precede IntoMI.

Return Value

True if MI can obviously be folded into IntoMI.

Parameters

Name

Description

MI

‐ Instruction being considered for folding.

IntoMI

‐ Instruction that would receive the folded operand.

Created with MrDocs