projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b923d9
)
Ignore the lifetime intrinsics in fast-isel.
author
Eric Christopher
<echristo@apple.com>
Fri, 17 Feb 2012 23:03:39 +0000
(23:03 +0000)
committer
Eric Christopher
<echristo@apple.com>
Fri, 17 Feb 2012 23:03:39 +0000
(23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150848
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/FastISel.cpp
b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 2700309e6f0a0e036cf0500a11a2c8d35f539ebb..f20a714d2b8090f4a76728dec67f45fb0d631fbf 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/
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() ||