llvm::reportGISelWarning

Report an ISel warning as a missed optimization remark to the LLVMContext's diagnostic stream.

Synopsis

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

void
reportGISelWarning(
    MachineFunction& MF,
    MachineOptimizationRemarkEmitter& MORE,
    MachineOptimizationRemarkMissed& R);

Parameters

NameDescription
MFMachine function associated with the warning.
MORERemark emitter used to report the warning.
RMissed-optimization remark describing the warning.