[llvm-commits] CVS: llvm/lib/Target/X86/FloatingPoint.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 11 00:28:02 PDT 2004


Changes in directory llvm/lib/Target/X86:

FloatingPoint.cpp updated: 1.36 -> 1.37

---
Log message:

Fix bug in previous checkin


---
Diffs of the changes:  (+3 -0)

Index: llvm/lib/Target/X86/FloatingPoint.cpp
diff -u llvm/lib/Target/X86/FloatingPoint.cpp:1.36 llvm/lib/Target/X86/FloatingPoint.cpp:1.37
--- llvm/lib/Target/X86/FloatingPoint.cpp:1.36	Thu Jun 10 23:49:02 2004
+++ llvm/lib/Target/X86/FloatingPoint.cpp	Fri Jun 11 00:22:44 2004
@@ -638,6 +638,9 @@
   // anywhere.
   moveToTop(Op0, I);
 
+  MI->getOperand(0).setReg(getSTReg(Op1));
+  MI->RemoveOperand(1);
+
   // If any of the operands are killed by this instruction, free them.
   if (KillsOp0) freeStackSlotAfter(I, Op0);
   if (KillsOp1 && Op0 != Op1) freeStackSlotAfter(I, Op1);





More information about the llvm-commits mailing list