summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-01 02:58:57 +0000
committerDan Gohman <gohman@apple.com>2010-07-01 02:58:57 +0000
commit722f5fc5672e6fdde1731e9d0cee3fd6bee1f490 (patch)
tree98885e3eb6ae9e5f1a8794ca0284e6b2952d2a29 /llvm/lib/Target
parent207624edb00cf2c29678b75c49f2d052556ec7ac (diff)
downloadbcm5719-llvm-722f5fc5672e6fdde1731e9d0cee3fd6bee1f490.tar.gz
bcm5719-llvm-722f5fc5672e6fdde1731e9d0cee3fd6bee1f490.zip
Enable on-demand fast-isel.
llvm-svn: 107377
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 1c700b290a6..6733f80d501 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -935,7 +935,7 @@ bool X86FastISel::X86SelectBranch(const Instruction *I) {
if (CI->getIntrinsicID() == Intrinsic::sadd_with_overflow ||
CI->getIntrinsicID() == Intrinsic::uadd_with_overflow) {
const MachineInstr *SetMI = 0;
- unsigned Reg = lookUpRegForValue(EI);
+ unsigned Reg = getRegForValue(EI);
for (MachineBasicBlock::const_reverse_iterator
RI = MBB->rbegin(), RE = MBB->rend(); RI != RE; ++RI) {
OpenPOWER on IntegriCloud