aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstSelectSimple.cpp
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
commit6f8fd25697c2aec8c915c34f3c90ee52b77b8f56 (patch)
tree0f8f572f70dfaf9f34299bf723aa44ebf11ddeba /lib/Target/X86/InstSelectSimple.cpp
parent16612dbe47696c4a1c56324a1aa84ac834625e2a (diff)
Remove dead fixme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index 7112a8a152..06cc156e63 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/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;
}