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

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 16:08:54 PST 2024


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

Do you mean to replace `COPY` + `SHR` by `movzx %ah, %ax`?

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


More information about the llvm-commits mailing list