-
Notifications
You must be signed in to change notification settings - Fork 10.4k
/
Copy pathbasic.test-sh
20 lines (17 loc) · 932 Bytes
/
basic.test-sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: %sil-passpipeline-dumper -Onone | %FileCheck %s
// Use this testfile to check if the `swift-frontend -sil-passpipeline-dumper` option works.
// RUN: %swift_frontend_plain -sil-passpipeline-dumper -Onone | %FileCheck %s
// REQUIRES: swift_in_compiler
// CHECK: ---
// CHECK: name: Non-Diagnostic Mandatory Optimizations
// CHECK: passes: [ "for-each-loop-unroll", "mandatory-arc-opts", "onone-prespecializer",
// CHECK-NEXT: "cmo" ]
// CHECK: ---
// CHECK: name: Serialization
// CHECK: passes: [ "serialize-sil", "sil-moved-async-var-dbginfo-propagator",
// CHECK-NEXT: "ownership-model-eliminator" ]
// CHECK: ---
// CHECK: name: Rest of Onone
// CHECK: passes: [ "use-prespecialized", "function-stack-protection", "late-onone-simplification",
// CHECK-NEXT: "cleanup-debug-steps", "sil-debuginfo-gen" ]
// CHECK: ...