summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-09-05 00:06:23 +0000
committerOwen Anderson <resistor@mac.com>2008-09-05 00:06:23 +0000
commit50288e3c99f4d1525e42653e0ca2c1792662e31f (patch)
tree750697008688b0bee9f01acdc3061ad88f861213 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parentc92c134563c47e0b7015fabdbd2f365cce31e78b (diff)
downloadbcm5719-llvm-50288e3c99f4d1525e42653e0ca2c1792662e31f.tar.gz
bcm5719-llvm-50288e3c99f4d1525e42653e0ca2c1792662e31f.zip
Add initial support for selecting constant materializations that require constant
pool loads on X86 in fast isel. This isn't actually used yet. llvm-svn: 55814
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index d118eefd221..043691cf071 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -80,7 +80,7 @@ unsigned FastISel::getRegForValue(Value *V) {
/// NOTE: This is only necessary because we might select a block that uses
/// a value before we select the block that defines the value. It might be
/// possible to fix this by selecting blocks in reverse postorder.
-void FastISel::UpdateValueMap(Instruction* I, unsigned Reg) {
+void FastISel::UpdateValueMap(Value* I, unsigned Reg) {
if (!ValueMap.count(I))
ValueMap[I] = Reg;
else
OpenPOWER on IntegriCloud