File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
SwiftCompilerSources/Sources/Optimizer/Utilities Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
// let myNewTest =
16
16
// FunctionTest("my_new_test") { function, arguments, context in
17
17
// }
18
- // - In SwiftCompilerSources/Sources/SIL/Test.swift's registerSILTests function,
19
- // register the new test:
18
+ // - In SwiftCompilerSources/Sources/SIL/Test.swift's registerOptimizerTests
19
+ // function, register the new test:
20
20
// registerFunctionTest(myNewTest)
21
21
//
22
22
//===----------------------------------------------------------------------===//
57
57
// 1) A test test/SILOptimizer/interesting_functionality_unit.sil runs the
58
58
// TestRunner pass:
59
59
// // RUN: %target-sil-opt -test-runner %s -o /dev/null 2>&1 | %FileCheck %s
60
+ // // REQUIRES: swift_in_compiler
60
61
// 2) A function in interesting_functionality_unit.sil contains the
61
62
// specify_test instruction.
62
63
// sil @f : $() -> () {
You can’t perform that action at this time.
0 commit comments