OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5822a
)
Remove dead code.
author
Devang Patel
<dpatel@apple.com>
Fri, 18 Mar 2011 23:33:58 +0000
(23:33 +0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 18 Mar 2011 23:33:58 +0000
(23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127923
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/Local.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/Local.cpp
b/lib/Transforms/Utils/Local.cpp
index
19b9997
..
623d89b
100644
(file)
--- a/
lib/Transforms/Utils/Local.cpp
+++ b/
lib/Transforms/Utils/Local.cpp
@@
-225,8
+225,6
@@
bool llvm::isInstructionTriviallyDead(Instruction *I) {
return true;
}
- if (isa<DbgInfoIntrinsic>(I)) return false;
-
if (!I->mayHaveSideEffects()) return true;
// Special case intrinsics that "may have side effects" but can be deleted