File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,9 @@ FunctionPass *llvm::createStraightLineStrengthReducePass() {
271271
272272bool StraightLineStrengthReduce::isBasisFor (const Candidate &Basis,
273273 const Candidate &C) {
274- return (Basis.Ins !=
275- C.Ins && // skip the same instruction
276- // They must have the same type too. Basis.Base == C.Base
277- // doesn't guarantee their types are the same (PR23975).
274+ return (Basis.Ins != C.Ins && // skip the same instruction
275+ // They must have the same type too. Basis.Base == C.Base
276+ // doesn't guarantee their types are the same (PR23975).
278277 Basis.Ins ->getType () == C.Ins ->getType () &&
279278 // Basis must dominate C in order to rewrite C with respect to Basis.
280279 DT->dominates (Basis.Ins ->getParent (), C.Ins ->getParent ()) &&
You can’t perform that action at this time.
0 commit comments