Skip to content

Commit 944e69c

Browse files
committed
format
1 parent 34e0917 commit 944e69c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/SROA.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5303,8 +5303,8 @@ selectPartitionType(Partition &P, const DataLayout &DL, AllocaInst &AI,
53035303
// represent as a legal integer type because we are probably just copying
53045304
// data around and the integer can be promoted.
53055305
if (OnlyIntrinsicUsers && DL.isLegalInteger(P.size() * 8) &&
5306-
TypePartitionTy->isAggregateType())
5307-
auto *IntNTy = Type::getIntNTy(*C, P.size() * 8);
5306+
TypePartitionTy->isAggregateType()) {
5307+
auto *IntNTy = Type::getIntNTy(C, P.size() * 8);
53085308
return {IntNTy, isIntegerWideningViable(P, IntNTy, DL), nullptr};
53095309
}
53105310

0 commit comments

Comments
 (0)