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:
2abbcc9
)
gvn small fix
author
Piotr Padlewski
<prazek@google.com>
Thu, 17 Sep 2015 20:34:22 +0000
(20:34 +0000)
committer
Piotr Padlewski
<prazek@google.com>
Thu, 17 Sep 2015 20:34:22 +0000
(20:34 +0000)
http://reviews.llvm.org/D12928
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247935
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVN.cpp
b/lib/Transforms/Scalar/GVN.cpp
index e3455de9151e202559fa4af4b7bc28777c1a5225..433d3038462eace96eefac062b11a7783bdd0aac 100644
(file)
--- a/
lib/Transforms/Scalar/GVN.cpp
+++ b/
lib/Transforms/Scalar/GVN.cpp
@@
-1939,10
+1939,8
@@
bool GVN::processLoad(LoadInst *L) {
++NumGVNLoad;
return true;
}
- }
- // If the value isn't available, don't do anything!
- if (Dep.isClobber()) {
+ // If the value isn't available, don't do anything!
DEBUG(
// fast print dep, using operator<< on instruction is too slow.
dbgs() << "GVN: load ";