Skip to content

Commit 6546c09

Browse files
committed
fix formatting
1 parent dfa5dfe commit 6546c09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,8 @@ void SPIRVEmitIntrinsics::replacePointerOperandWithPtrCast(
17061706
return;
17071707
} else if (isTodoType(Pointer)) {
17081708
eraseTodoType(Pointer);
1709-
if (!isa<CallInst>(Pointer) && !isa<GetElementPtrInst>(Pointer) && !isa<AllocaInst>(Pointer)) {
1709+
if (!isa<CallInst>(Pointer) && !isa<GetElementPtrInst>(Pointer) &&
1710+
!isa<AllocaInst>(Pointer)) {
17101711
// If this wouldn't be the first spv_ptrcast but existing type info is
17111712
// uncomplete, update spv_assign_ptr_type arguments.
17121713
if (CallInst *AssignCI = GR->findAssignPtrTypeInstr(Pointer)) {

0 commit comments

Comments
 (0)