aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-03-07 21:38:33 +0000
committerChad Rosier <mcrosier@apple.com>2013-03-07 21:38:33 +0000
commit4fde76db466a749200af555b0f400af873111767 (patch)
tree9cd4102d3ea08eefd39650e2b50d5d3a46a82cf9 /lib/CodeGen/SelectionDAG/FastISel.cpp
parent87d212095feced42295c2a5813f1ce577d01d44f (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.cpp6
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;
}
}