diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-07-06 17:33:39 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-07-06 17:33:39 +0000 |
commit | 88d53eae5696ff9c6bab8e4273862578f98115a6 (patch) | |
tree | 73fada22be6198e066121cc700fcc34ff2d1394f /llvm/lib | |
parent | 4cb38a82a26cb3f4ac86834659e0af5f873c1d5b (diff) | |
download | bcm5719-llvm-88d53eae5696ff9c6bab8e4273862578f98115a6.tar.gz bcm5719-llvm-88d53eae5696ff9c6bab8e4273862578f98115a6.zip |
[fast-isel] Tell fast-isel to do nothing with the new donothing intrinsic.
llvm-svn: 159837
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 07dc36577f9..20848b403a1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -573,7 +573,10 @@ bool FastISel::SelectCall(const User *I) { // At -O0 we don't care about the lifetime intrinsics. case Intrinsic::lifetime_start: case Intrinsic::lifetime_end: + // The donothing intrinsic does, well, nothing. + case Intrinsic::donothing: return true; + case Intrinsic::dbg_declare: { const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call); if (!DIVariable(DI->getVariable()).Verify() || |