GVN-hoist: fix typo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sebastian Pop 2016-09-22 15:08:09 +00:00
parent fb27f55135
commit 3132c38344

View File

@ -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))