llvm::machineFunctionIsIllegal

Checks that MIR is fully legal, returns an illegal instruction if it's not, nullptr otherwise

Synopsis

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

MachineInstr const*
machineFunctionIsIllegal(MachineFunction const& MF);

Return Value

Representation of each machine instruction.