diff options
author | Owen Anderson <resistor@mac.com> | 2008-09-05 00:06:23 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-09-05 00:06:23 +0000 |
commit | 50288e3c99f4d1525e42653e0ca2c1792662e31f (patch) | |
tree | 750697008688b0bee9f01acdc3061ad88f861213 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | c92c134563c47e0b7015fabdbd2f365cce31e78b (diff) | |
download | bcm5719-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.cpp | 2 |
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 |