Skip to content

Commit 76333e2

Browse files
committed
[test] IRGen: Adjust FileCheck pattern where attribute order changed in upstream LLVM
`alias nocapture swiftself` -> `alias swiftself captures(none)`. `nocapture` became `captures(none)` in 29441e4f5fa5f5c7709f7cf180815ba97f611297 (llvm-project). This is intended to reduce future conflicts with rebranch.
1 parent f477ace commit 76333e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/raw_layout.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ entry(%K: $*Keymaster):
348348
return undef : $()
349349
}
350350

351-
// CHECK: define {{.*}}swiftcc ptr @get_cell_addr(ptr %"Cell<T>", ptr {{.*}} swiftself [[SELF:%.*]])
351+
// CHECK: define {{.*}}swiftcc ptr @get_cell_addr(ptr %"Cell<T>", ptr {{.*}} swiftself{{.*}} [[SELF:%.*]])
352352
// CHECK-NEXT: entry:
353353
// CHECK-NEXT: ret ptr [[SELF]]
354354
sil @get_cell_addr : $@convention(method) <T> (@in_guaranteed Cell<T>) -> UnsafeMutablePointer<T> {

0 commit comments

Comments
 (0)