We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35aa07d commit 573c2a9Copy full SHA for 573c2a9
llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -1241,8 +1241,8 @@ bool JumpThreadingPass::preserveLoopPreHeader(BasicBlock *BB) {
1241
if (isOpDefinedInBlock(Op, BB))
1242
HasValueDefinedInPreHeader = true;
1243
else if (!isa<PHINode>(Inst) &&
1244
- llvm::any_of(Inst->operand_values(),
1245
- [&PHI](Value *V) { return V == &PHI; }))
+ llvm::any_of(Inst->operand_values(),
+ [&PHI](Value *V) { return V == &PHI; }))
1246
HasPotentialSelfReference = true;
1247
}
1248
return HasValueDefinedInPreHeader && HasPotentialSelfReference;
0 commit comments