Skip to content

Commit a53896b

Browse files
committed
format
1 parent 1717d8d commit a53896b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

llvm/lib/Transforms/Scalar/SROA.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5259,10 +5259,13 @@ AllocaInst *SROA::rewritePartition(AllocaInst &AI, AllocaSlices &AS,
52595259
return {LargestIntTy, true, nullptr};
52605260

52615261
// If there are only intrinsic users, try to represent as a legal integer
5262-
// type because we are probably just copying data around and the integer can
5263-
// be promoted.
5262+
// type because we are probably just copying data around and the integer
5263+
// can be promoted.
52645264
if (OnlyIntrinsicUsers && DL.isLegalInteger(P.size() * 8))
5265-
return {Type::getIntNTy(*C, P.size() * 8), isIntegerWideningViable(P, Type::getIntNTy(*C, P.size() * 8), DL), nullptr};
5265+
return {
5266+
Type::getIntNTy(*C, P.size() * 8),
5267+
isIntegerWideningViable(P, Type::getIntNTy(*C, P.size() * 8), DL),
5268+
nullptr};
52665269

52675270
// Fallback to TypePartitionTy and we probably won't promote.
52685271
return {TypePartitionTy, false, nullptr};

0 commit comments

Comments
 (0)