[#llvm-LegalizerHelper-LegalizeResult] = xref:llvm.adoc[llvm]::xref:llvm/LegalizerHelper.adoc[LegalizerHelper]::LegalizeResult :relfileprefix: ../../ :mrdocs: Result of attempting to legalize a single instruction. == Synopsis Declared in `<llvm/CodeGen/GlobalISel/LegalizerHelper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum LegalizeResult; ---- == Members [cols="1,4"] |=== | Name| Description | `AlreadyLegal` | Instruction was already legal and no change was made to the MachineFunction. | `Legalized` | Instruction has been legalized and the MachineFunction changed. | `UnableToLegalize` | Some kind of error has occurred and we could not legalize this instruction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#