GVN-hoist: fix typo

llvm-svn: 282165
This commit is contained in:
Sebastian Pop 2016-09-22 15:08:09 +00:00
parent 3d1c3fcd78
commit 8b7ceb1130

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