Skip to content

Commit 4329512

Browse files
committed
[Test] Underscored simplify_cfg_simplify_term_with_identical_dest_blocks.
Use underscores rather than hyphens so that text editors understand the name as a single word.
1 parent b0bb974 commit 4329512

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/SILOptimizer/Transforms/SimplifyCFG.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2665,7 +2665,7 @@ namespace swift::test {
26652665
/// Dumps:
26662666
/// - nothing
26672667
static FunctionTest SimplifyCFGSimplifyTermWithIdenticalDestBlocks(
2668-
"simplify-cfg-simplify-term-with-identical-dest-blocks",
2668+
"simplify_cfg_simplify_term_with_identical_dest_blocks",
26692669
[](auto &function, auto &arguments, auto &test) {
26702670
auto *passToRun = cast<SILFunctionTransform>(createSimplifyCFG());
26712671
passToRun->injectPassManager(test.getPassManager());

test/SILOptimizer/simplify_cfg_ossa_simplify_branch.sil

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ enum E1<T> {
5858
// CHECK-LABEL: } // end sil function 'test_simplify_term_with_identical_dest_blocks1'
5959
sil [ossa] @test_simplify_term_with_identical_dest_blocks1 : $@convention(thin) (@owned Klass) -> () {
6060
bb0(%0 : @owned $Klass):
61-
specify_test "simplify-cfg-simplify-term-with-identical-dest-blocks @block[0]"
61+
specify_test "simplify_cfg_simplify_term_with_identical_dest_blocks @block[0]"
6262
%1 = begin_borrow %0 : $Klass
6363
br bb1(%1 : $Klass)
6464

@@ -79,7 +79,7 @@ bb2(%5 : @guaranteed $Klass):
7979
// CHECK-LABEL: } // end sil function 'test_simplify_term_with_identical_dest_blocks2'
8080
sil [ossa] @test_simplify_term_with_identical_dest_blocks2 : $@convention(thin) (@owned Klass) -> () {
8181
bb0(%0 : @owned $Klass):
82-
specify_test "simplify-cfg-simplify-term-with-identical-dest-blocks @block[0]"
82+
specify_test "simplify_cfg_simplify_term_with_identical_dest_blocks @block[0]"
8383
br bb1(%0 : $Klass)
8484

8585
bb1(%3 : @owned $Klass):

0 commit comments

Comments
 (0)