File tree Expand file tree Collapse file tree 6 files changed +27
-11
lines changed Expand file tree Collapse file tree 6 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
3
3
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
4
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
4
+
5
+ // https://github.com/apple/swift/issues/54526
6
+ // Workaround because import declarations are not preserved in .sib files.
5
7
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
6
8
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck %s
7
9
8
- // NOTE(SR-12090): `shell` is required only to run `sed` as a SR-12090 workaround.
10
+ // `shell` is required only to run `sed` as a
11
+ // https://github.com/apple/swift/issues/54526 workaround.
9
12
// REQUIRES: shell
10
13
11
14
sil_stage raw
Original file line number Diff line number Diff line change 7
7
// RUN: %empty-directory(%t)
8
8
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
9
9
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
10
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
10
+
11
+ // https://github.com/apple/swift/issues/54526
12
+ // Workaround because import declarations are not preserved in .sib files.
11
13
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
12
14
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck %s
13
15
16
18
// RUN: %target-swift-frontend -emit-ir %s | %FileCheck %s --check-prefix=IRGEN --check-prefix %target-cpu
17
19
// NOTE: `%target-cpu`-specific FileCheck lines exist because lowered function types in LLVM IR differ between architectures.
18
20
19
- // NOTE(SR-12090): `shell` is required only to run `sed` as a SR-12090 workaround.
21
+ // `shell` is required only to run `sed` as a
22
+ // https://github.com/apple/swift/issues/54526 workaround.
20
23
// REQUIRES: shell
21
24
22
25
sil_stage raw
Original file line number Diff line number Diff line change 11
11
// RUN: %empty-directory(%t)
12
12
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
13
13
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
14
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
14
+ // https://github.com/apple/swift/issues/54526
15
+ // Workaround because import declarations are not preserved in .sib files.
15
16
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
16
17
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck %s
17
18
18
- // NOTE(SR-12090): `shell` is required only to run `sed` as a SR-12090 workaround.
19
+ // `shell` is required only to run `sed` as a
20
+ // https://github.com/apple/swift/issues/54526 workaround.
19
21
// REQUIRES: shell
20
22
21
23
sil_stage raw
Original file line number Diff line number Diff line change 7
7
// RUN: %empty-directory(%t)
8
8
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
9
9
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
10
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
10
+
11
+ // https://github.com/apple/swift/issues/54526
12
+ // Workaround because import declarations are not preserved in .sib files.
11
13
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
12
14
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck %s --check-prefix=CHECK-SIL
13
15
14
16
// IRGen test.
15
17
16
18
// RUN: %target-swift-frontend -emit-ir %s | %FileCheck %s --check-prefix=CHECK-IRGEN
17
19
18
- // NOTE(SR-12090): `shell` is required only to run `sed` as a SR-12090 workaround.
20
+ // `shell` is required only to run `sed` as a
21
+ // https://github.com/apple/swift/issues/54526 workaround.
19
22
// REQUIRES: shell
20
23
21
24
// Would need to update for arm64e.
Original file line number Diff line number Diff line change 7
7
// RUN: %empty-directory(%t)
8
8
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
9
9
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
10
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
10
+
11
+ // https://github.com/apple/swift/issues/54526
12
+ // Workaround because import declarations are not preserved in .sib files.
11
13
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
12
14
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck %s --check-prefix=CHECK-SIL
13
15
Original file line number Diff line number Diff line change 7
7
// RUN: %empty-directory(%t)
8
8
// RUN: %target-sil-opt %s -emit-sib -o %t/tmp.sib -module-name main
9
9
// RUN: %target-sil-opt %t/tmp.sib -o %t/tmp.sil -module-name main
10
- // NOTE(SR-12090): Workaround because import declarations are not preserved in .sib files.
10
+
11
+ // https://github.com/apple/swift/issues/54526
12
+ // Workaround because import declarations are not preserved in .sib files.
11
13
// RUN: sed -e 's/import Swift$/import Swift; import _Differentiation/' %t/tmp.sil > %t/tmp_fixed.sil
12
14
// RUN: %target-sil-opt %t/tmp_fixed.sil -module-name main -emit-sorted-sil | %FileCheck --check-prefix=ROUNDTRIP %s
13
15
14
16
// IRGen test.
15
17
16
18
// RUN: %target-swift-frontend -emit-ir %s | %FileCheck --check-prefix=IRGEN %s
17
19
18
- // NOTE(SR-12090): `shell` is required only to run `sed` as a SR-12090 workaround.
20
+ // `shell` is required only to run `sed` as a
21
+ // https://github.com/apple/swift/issues/54526 workaround.
19
22
// REQUIRES: shell
20
23
21
24
sil_stage raw
You can’t perform that action at this time.
0 commit comments