summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-27 21:23:43 +0000
committerChris Lattner <sabre@nondot.org>2002-10-27 21:23:43 +0000
commit52c2d10a19ed5fc58844ae223561ba6653f995f2 (patch)
treea474729dcc44b7dced24327726fbb5ec551d14d0
parent814516f54a12d612254948fcbe68d6c189fae2c6 (diff)
downloadbcm5719-llvm-52c2d10a19ed5fc58844ae223561ba6653f995f2.tar.gz
bcm5719-llvm-52c2d10a19ed5fc58844ae223561ba6653f995f2.zip
Remove dead fixme
llvm-svn: 4300
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 7112a8a1527..06cc156e63e 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -73,12 +73,12 @@ namespace {
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;
}
OpenPOWER on IntegriCloud