mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 20:10:38 +00:00
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:
parent
fb27f55135
commit
3132c38344
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user