Files
swift-mirror/test/sil-passpipeline-dump/basic.test-sh

20 lines
896 B
Plaintext

// 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: ---
// 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: ...