diff options
| author | Eric Christopher <echristo@apple.com> | 2012-02-17 23:03:39 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-02-17 23:03:39 +0000 |
| commit | 81e2bf2b778ef3f74152cf559bedd264461f41ff (patch) | |
| tree | 21d9be1b9d656fcd7657471ec7e8b2e64bdf8ff6 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | 1fdedc99f2b39c9516cd13408f7a22f2a91b2180 (diff) | |
| download | bcm5719-llvm-81e2bf2b778ef3f74152cf559bedd264461f41ff.tar.gz bcm5719-llvm-81e2bf2b778ef3f74152cf559bedd264461f41ff.zip | |
Ignore the lifetime intrinsics in fast-isel.
llvm-svn: 150848
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 2700309e6f0..f20a714d2b8 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -567,6 +567,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. + case Intrinsic::lifetime_start: + case Intrinsic::lifetime_end: + return true; case Intrinsic::dbg_declare: { const DbgDeclareInst *DI = cast<DbgDeclareInst>(Call); if (!DIVariable(DI->getVariable()).Verify() || |

