projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c758181
)
[DSE,MSSA] Continue checking more remaining candidates with dbgcnt.
author
Florian Hahn
<flo@fhahn.com>
Thu, 23 Apr 2020 17:58:33 +0000
(18:58 +0100)
committer
Florian Hahn
<flo@fhahn.com>
Sun, 26 Apr 2020 15:59:32 +0000
(16:59 +0100)
After changing the candidate iteration strategy, we should continue with
the next candidate, rather than breaking out of the loop.
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index
1c5326e
..
8252ff5
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@
-1929,7
+1929,7
@@
bool eliminateDeadStoresMemorySSA(Function &F, AliasAnalysis &AA,
}
if (!DebugCounter::shouldExecute(MemorySSACounter))
-
break
;
+
continue
;
// Check if NI overwrites SI.
int64_t InstWriteOffset, DepWriteOffset;