summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit3a200e1faf1e66ea4f899621aded0d664bb0ef81 (patch)
tree7e1bbe85429aa15a661f8795fbb6abe40331eabc /llvm/lib
parenta8ec7eb9cfe2adeb1b5d03a94f6cee70972e47b7 (diff)
downloadbcm5719-llvm-3a200e1faf1e66ea4f899621aded0d664bb0ef81.tar.gz
bcm5719-llvm-3a200e1faf1e66ea4f899621aded0d664bb0ef81.zip
[fast-isel] Seriously, add support for the expect intrinsic.
rdar://13370942 llvm-svn: 176659
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 35f7fcbd390..4fb9c5c8a03 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/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;
}
}
OpenPOWER on IntegriCloud