From 9e0fa6e58cf32b7db5391d334170897144df64cf Mon Sep 17 00:00:00 2001 From: Finagolfin Date: Tue, 20 May 2025 22:20:45 +0530 Subject: [PATCH] [test] Fix IRGen/framepointer.sil for the test-simulator CI which generates IR without a llvm.trap function --- test/IRGen/framepointer.sil | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/IRGen/framepointer.sil b/test/IRGen/framepointer.sil index 14054a9e7bd49..39202c14fa5b7 100644 --- a/test/IRGen/framepointer.sil +++ b/test/IRGen/framepointer.sil @@ -31,12 +31,12 @@ entry(%i : $Int32): // CHECK: entry: // CHECK: %1 = call swiftcc i32 @leaf_function_no_frame_pointer(i32 %0) // CHECK: ret i32 %1 -// CHECK: } -// CHECK-SYSV: Function Attrs: +// CHECK-SYSV: } // CHECK-SYSV-macosx: attributes [[ATTR]] = { {{.*}}"frame-pointer"="all" // CHECK-SYSV-linux-gnu: attributes [[ATTR]] = { {{.*}}"frame-pointer"="all" // CHECK-SYSV-linux-android: attributes [[ATTR]] = { {{.*}}"frame-pointer"="non-leaf" +// CHECK-WIN: } // CHECK-WIN: attributes [[ATTR]] = { {{.*}} // CHECK-ALL: define{{.*}} swiftcc i32 @leaf_function_no_frame_pointer(i32 %0) [[ATTR:#.*]] {