Skip to content

Commit cfdbd99

Browse files
committed
[Test] Underscored instruction_move_before.
Use underscores rather than hyphens so that text editors understand the name as a single word.
1 parent 47a874a commit cfdbd99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SIL/IR/SILInstruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void SILInstruction::moveBefore(SILInstruction *Later) {
126126
}
127127

128128
namespace swift::test {
129-
FunctionTest MoveBeforeTest("instruction-move-before",
129+
FunctionTest MoveBeforeTest("instruction_move_before",
130130
[](auto &function, auto &arguments, auto &test) {
131131
auto *inst = arguments.takeInstruction();
132132
auto *other = arguments.takeInstruction();

test/SILOptimizer/address_lowering_preprocessed.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bb0(%t : @owned $T, %box : $*Box<T>):
2727
// The destroy_value appears first in the textual SIL in order to be first in
2828
// the use list. Before running AddressLowering, it's sunk to after the
2929
// end_access.
30-
specify_test "instruction-move-before @instruction @instruction[+5]"
30+
specify_test "instruction_move_before @instruction @instruction[+5]"
3131
destroy_value %t : $T
3232
%copy = copy_value %t : $T
3333
%field_addr = struct_element_addr %box : $*Box<T>, #Box._value

0 commit comments

Comments
 (0)