llvm::machineFunctionIsIllegal

Return an illegal instruction in MF, or nullptr if MIR is fully legal.

Synopsis

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

MachineInstr const*
machineFunctionIsIllegal(MachineFunction const& MF);

Return Value

An illegal instruction in MF, or nullptr if MIR is fully legal.

Parameters

NameDescription
MFMachine function whose MIR legality is checked.