Create a pass that resets MachineFunctions that failed ISel.
Declared in <llvm/CodeGen/Passes.h>
MachineFunctionPass*
createResetMachineFunctionPass(
bool EmitFallbackDiag,
bool AbortOnFailedISel);
This pass resets a MachineFunction when it has the FailedISel property as if it was just created. If EmitFallbackDiag is true, the pass will emit a DiagnosticInfoISelFallback for every MachineFunction it resets. If AbortOnFailedISel is true, abort compilation instead of resetting.
The newly created MachineFunctionPass.
| Name | Description |
|---|---|
| EmitFallbackDiag | Emit a DiagnosticInfoISelFallback when resetting. |
| AbortOnFailedISel | Abort compilation instead of resetting the function. |