[llvm] [X86][GlobalISel] Enable G_SDIV/G_UDIV/G_SREM/G_UREM (PR #81615)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 12:47:01 PST 2024


================
@@ -1778,12 +1778,9 @@ bool X86InstructionSelector::selectMulDivRem(MachineInstr &I,
         .addImm(8);
----------------
topperc wrote:

Probably for another patch, but we should match SelectionDAG here and use a MOVZX_NOREX or MOVSX_NOREX from AH here. 

https://github.com/llvm/llvm-project/pull/81615


More information about the llvm-commits mailing list