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

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 27 15:24:01 PST 2002


Changes in directory llvm/lib/Target/X86:

InstSelectSimple.cpp updated: 1.2 -> 1.3

---
Log message:

Remove dead fixme


---
Diffs of the changes:

Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.2 llvm/lib/Target/X86/InstSelectSimple.cpp:1.3
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.2	Sun Oct 27 15:16:59 2002
+++ llvm/lib/Target/X86/InstSelectSimple.cpp	Sun Oct 27 15:23:43 2002
@@ -73,11 +73,11 @@
       if (Reg == 0)
         Reg = CurReg++;
 
+      // If this operand is a constant, emit the code to copy the constant into
+      // the register here...
+      //
       if (Constant *C = dyn_cast<Constant>(V))
         copyConstantToRegister(C, Reg);
-
-      // FIXME: Constants should be thrown into registers here and appended to
-      // the end of the current basic block!
 
       return Reg;
     }





More information about the llvm-commits mailing list