projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a07a4
)
Another missing check for debug intrinsics.
author
Dale Johannesen
<dalej@apple.com>
Thu, 12 Mar 2009 17:42:45 +0000
(17:42 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Thu, 12 Mar 2009 17:42:45 +0000
(17:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66800
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 555e30e5f02ef83b49798beb96da11c653f8cf34..e3fa995de8deff83774f4bfee02dab04d4c15795 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-2000,7
+2000,7
@@
bool llvm::SimplifyCFG(BasicBlock *BB) {
--BBI;
// Do not delete instructions that can have side effects, like calls
// (which may never return) and volatile loads and stores.
- if (isa<CallInst>(BBI)) break;
+ if (isa<CallInst>(BBI)
&& !isa<DbgInfoIntrinsic>(BBI)
) break;
if (StoreInst *SI = dyn_cast<StoreInst>(BBI))
if (SI->isVolatile())