Skip to content

Commit 8bbfd69

Browse files
committed
Removed autoformatting error
1 parent e58f65e commit 8bbfd69

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,9 @@ FunctionPass *llvm::createStraightLineStrengthReducePass() {
271271

272272
bool 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()) &&

0 commit comments

Comments
 (0)