aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86FastISel.cpp
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
commit20d4be151b54feb18aa1e5cc04033a4aa64137ae (patch)
tree5df800c11b786098efd82b64d5f21b8c3d200f35 /lib/Target/X86/X86FastISel.cpp
parentabd1d859b3c35957a3dd5965cf1fd420df0d20e3 (diff)
downloadexternal_llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.zip
external_llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.tar.gz
external_llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.tar.bz2
Enable on-demand fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FastISel.cpp')
-rw-r--r--lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 1c700b2..6733f80 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/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) {