Skip to content

Commit 7e7900a

Browse files
committed
Apply clang-format
1 parent c641da1 commit 7e7900a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/lib/Target/DirectX/DXILLegalizePass.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,10 @@ legalizeGetHighLowi64Bytes(Instruction &I,
562562
}
563563
}
564564

565-
static void legalizeLoadStoreOnArrayAllocas(
566-
Instruction &I, SmallVectorImpl<Instruction *> &ToRemove,
567-
DenseMap<Value *, Value *> &) {
565+
static void
566+
legalizeLoadStoreOnArrayAllocas(Instruction &I,
567+
SmallVectorImpl<Instruction *> &ToRemove,
568+
DenseMap<Value *, Value *> &) {
568569

569570
Value *PtrOp;
570571
[[maybe_unused]] Type *LoadStoreTy;
@@ -585,7 +586,8 @@ static void legalizeLoadStoreOnArrayAllocas(
585586
return;
586587

587588
Type *Ty = AllocaPtrOp->getAllocatedType();
588-
if (!isa<ArrayType>(Ty)) return;
589+
if (!isa<ArrayType>(Ty))
590+
return;
589591
assert(!isa<ArrayType>(Ty->getArrayElementType()) &&
590592
"Expected allocated type of AllocaInst to be a flat ArrayType");
591593

0 commit comments

Comments
 (0)