mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Fix an inadvertent typo error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0956ae5ac2
commit
19bfae4797
@ -455,7 +455,7 @@ bool NclPopcountRecognize::detectIdiom(Instruction *&CntInst,
|
||||
continue;
|
||||
|
||||
PHINode *Phi = dyn_cast<PHINode>(Inst->getOperand(0));
|
||||
if (!Phi && Phi->getParent() != LoopEntry)
|
||||
if (!Phi || Phi->getParent() != LoopEntry)
|
||||
continue;
|
||||
|
||||
// Check if the result of the instruction is live of the loop.
|
||||
|
Loading…
Reference in New Issue
Block a user