diff options
author | Sebastian Pop <sebpop@gmail.com> | 2016-09-22 15:08:09 +0000 |
---|---|---|
committer | Sebastian Pop <sebpop@gmail.com> | 2016-09-22 15:08:09 +0000 |
commit | 5d68aa7913fc5a66ecbd6388d3ed02ab1ffec7be (patch) | |
tree | aaf50258a0d8e603b3e9810fc854e039c1b9c39e | |
parent | 65fd2fc7b407ca9dafc1b0a87df281b38e2eefb0 (diff) | |
download | bcm5719-llvm-5d68aa7913fc5a66ecbd6388d3ed02ab1ffec7be.tar.gz bcm5719-llvm-5d68aa7913fc5a66ecbd6388d3ed02ab1ffec7be.zip |
GVN-hoist: fix typo
llvm-svn: 282165
-rw-r--r-- | llvm/lib/Transforms/Scalar/GVNHoist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVNHoist.cpp b/llvm/lib/Transforms/Scalar/GVNHoist.cpp index 023d1255064..8b2164c5071 100644 --- 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)) |