[llvm] [X86][FixupSetCC] Substitute setcc + zext pair with setzucc if possible (PR #96594)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 00:26:01 PDT 2024


================
@@ -98,9 +106,8 @@ bool X86FixupSetCCPass::runOnMachineFunction(MachineFunction &MF) {
         continue;
 
       // On 32-bit, we need to be careful to force an ABCD register.
-      const TargetRegisterClass *RC = MF.getSubtarget<X86Subtarget>().is64Bit()
-                                          ? &X86::GR32RegClass
-                                          : &X86::GR32_ABCDRegClass;
+      const TargetRegisterClass *RC =
----------------
goldsteinn wrote:

Seems unrelated.

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


More information about the llvm-commits mailing list