Skip to content

Commit c91bd90

Browse files
committed
LV/Legality: strip extra parens (NFC)
1 parent aa9784d commit c91bd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static IntegerType *getWiderInductionTy(const DataLayout &DL, Type *Ty0,
413413
Type *Ty1) {
414414
IntegerType *TyA = getInductionIntegerTy(DL, Ty0);
415415
IntegerType *TyB = getInductionIntegerTy(DL, Ty1);
416-
return (TyA->getScalarSizeInBits() > TyB->getScalarSizeInBits()) ? TyA : TyB;
416+
return TyA->getScalarSizeInBits() > TyB->getScalarSizeInBits() ? TyA : TyB;
417417
}
418418

419419
/// Check that the instruction has outside loop users and is not an

0 commit comments

Comments
 (0)