diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-03-07 21:38:33 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-03-07 21:38:33 +0000 |
commit | 4fde76db466a749200af555b0f400af873111767 (patch) | |
tree | 9cd4102d3ea08eefd39650e2b50d5d3a46a82cf9 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 87d212095feced42295c2a5813f1ce577d01d44f (diff) |
[fast-isel] Seriously, add support for the expect intrinsic.
rdar://13370942
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 35f7fcbd39..4fb9c5c8a0 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -699,9 +699,9 @@ bool FastISel::SelectCall(const User *I) { return true; } case Intrinsic::expect: { -// unsigned ResultReg = getRegForValue(Call->getArgOperand(0)); -// UpdateValueMap(Call, ResultReg); -// return true; + unsigned ResultReg = getRegForValue(Call->getArgOperand(0)); + UpdateValueMap(Call, ResultReg); + return true; } } |