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:
65fd2fc
)
GVN-hoist: fix typo
author
Sebastian Pop
<sebpop@gmail.com>
Thu, 22 Sep 2016 15:08:09 +0000
(15:08 +0000)
committer
Sebastian Pop
<sebpop@gmail.com>
Thu, 22 Sep 2016 15:08:09 +0000
(15:08 +0000)
llvm-svn: 282165
llvm/lib/Transforms/Scalar/GVNHoist.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/GVNHoist.cpp
b/llvm/lib/Transforms/Scalar/GVNHoist.cpp
index
023d125
..
8b2164c
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/GVNHoist.cpp
+++ b/
llvm/lib/Transforms/Scalar/GVNHoist.cpp
@@
-892,7
+892,7
@@
private:
break;
// Do not value number terminator instructions.
- if (
!
isa<TerminatorInst>(&I1))
+ if (isa<TerminatorInst>(&I1))
break;
if (auto *Load = dyn_cast<LoadInst>(&I1))