summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-05-11 23:10:58 +0000
committerChad Rosier <mcrosier@apple.com>2012-05-11 23:10:58 +0000
commite40f5d3ee0f3d444506601b4992fa44cb26236c2 (patch)
treeed5d8bad273eeb3a0c661080d5c2bf0514c28bd3
parent4f362c79601a0ed0f94cb977a052c5290bb16158 (diff)
downloadbcm5719-llvm-e40f5d3ee0f3d444506601b4992fa44cb26236c2.tar.gz
bcm5719-llvm-e40f5d3ee0f3d444506601b4992fa44cb26236c2.zip
[fast-isel] Fast-isel doesn't use the expect intrinsic.
llvm-svn: 156658
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 0c1ac6982d2..cb8ee279934 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -570,9 +570,10 @@ bool FastISel::SelectCall(const User *I) {
// Handle selected intrinsic function calls.
switch (F->getIntrinsicID()) {
default: break;
- // At -O0 we don't care about the lifetime intrinsics.
+ // At -O0 we don't care about the lifetime or expect intrinsics.
case Intrinsic::lifetime_start:
case Intrinsic::lifetime_end:
+ case Intrinsic::expect:
return true;
case Intrinsic::dbg_declare: {
const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call);
OpenPOWER on IntegriCloud