[PATCH] D6629: x86: Emit LAHF/SAHF instead of PUSHF/POPF

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 00:51:27 PDT 2015


sanjoy added a subscriber: sanjoy.

================
Comment at: llvm/trunk/lib/CodeGen/MachineInstrBundle.cpp:313
@@ -312,3 +312,3 @@
 
-    bool IsRegOrSuperReg = MOReg == Reg || TRI->isSubRegister(MOReg, Reg);
+    bool IsRegOrSuperReg = MOReg == Reg || TRI->isSuperRegister(MOReg, Reg);
     bool IsRegOrOverlapping = MOReg == Reg || TRI->regsOverlap(MOReg, Reg);
----------------
Was this bit intentional?  I think (without understanding the surrounding code) this is contributing to PR25033.


Repository:
  rL LLVM

http://reviews.llvm.org/D6629





More information about the llvm-commits mailing list