[#llvm-LegalizerHelper-lower] = xref:llvm.adoc[llvm]::xref:llvm/LegalizerHelper.adoc[LegalizerHelper]::lower :relfileprefix: ../../ :mrdocs: Legalize an instruction by splitting it into simpler parts. == Synopsis Declared in `<llvm/CodeGen/GlobalISel/LegalizerHelper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/LegalizerHelper/LegalizeResult.adoc[LegalizeResult] lower( xref:llvm/MachineInstr.adoc[MachineInstr]& MI, unsigned int TypeIdx, xref:llvm/LLT.adoc[LLT] Ty); ---- == Return Value Result of attempting to legalize the instruction. == Parameters [cols="1,4"] |=== | Name| Description | *MI* | Instruction being legalized. | *TypeIdx* | Type index that triggered the lower action. | *Ty* | Type associated with the lower action. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#