Skip to content

Commit e64dd3b

Browse files
authored
[fixup] Nope, we'll need one more fixup for the temporary allocation codegen test
1 parent 45d586d commit e64dd3b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/IRGen/temporary_allocation/codegen.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,9 @@ withUnsafeTemporaryAllocation(byteCount: 0x0FFF_FFFF, alignment: 1) { buffer in
8181
// CHECK-LARGE-HEAP-ALLOC-NEXT: call swiftcc void @blackHole([[WORD]] [[HEAP_PTR]])
8282
// CHECK-LARGE-HEAP-ALLOC-NEXT: call void @swift_slowDealloc(i8* [[HEAP_PTR_RAW]], [[WORD]] -1, [[WORD]] -1)
8383

84-
// CHECK-LARGE-STACK-ALLOC: [[SPSAVE:%spsave[0-9]*]] = call i8* @llvm.stacksave()
85-
// CHECK-LARGE-STACK-ALLOC-NEXT: [[STACK_PTR_RAW:%temp_alloc[0-9]*]] = alloca [268435455 x i8], align 1
84+
// CHECK-LARGE-STACK-ALLOC: [[STACK_PTR_RAW:%temp_alloc[0-9]*]] = alloca [268435455 x i8], align 1
8685
// CHECK-LARGE-STACK-ALLOC-NEXT: [[STACK_PTR:%[0-9]+]] = ptrtoint [268435455 x i8]* [[STACK_PTR_RAW]] to [[WORD]]
8786
// CHECK-LARGE-STACK-ALLOC-NEXT: call swiftcc void @blackHole([[WORD]] [[STACK_PTR]])
88-
// CHECK-LARGE-STACK-ALLOC-NEXT: call void @llvm.stackrestore(i8* [[SPSAVE]])
8987

9088
// CHECK-LARGE-ALLOC-DAG: [[IS_SAFE:%[0-9]+]] = call zeroext i1 @swift_stdlib_isStackAllocationSafe([[WORD]] 268435455, [[WORD]] 1)
9189
// CHECK-LARGE-ALLOC-DAG: br i1 [[IS_SAFE]], label %{{[0-9]+}}, label %{{[0-9]+}}

0 commit comments

Comments
 (0)