GVN-hoist: fix typo

llvm-svn: 282165
This commit is contained in:
Sebastian Pop 2016-09-22 15:08:09 +00:00
parent 65fd2fc7b4
commit 5d68aa7913
1 changed files with 1 additions and 1 deletions

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