Skip to content

Commit 81ebb56

Browse files
committed
Clean up uneeded SIL in a LIT test
1 parent 215bdc0 commit 81ebb56

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/SILAnalysis/basic-aa.sil

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ struct Int {
1414
}
1515

1616
enum E {
17-
case A
18-
case B
19-
case C
17+
case A
18+
case B
19+
case C
2020
}
2121

2222
class Base { }
@@ -38,7 +38,6 @@ sil @foo_init : $@convention(thin) (@thick foo.Type) -> @owned foo
3838
// CHECK: (0): %12 = argument of bb3 : $foo
3939
// CHECK: NoAlias
4040
sil hidden @silargument_alias_check : $@convention(thin) (Bool) -> () {
41-
// %0 // users: %1, %2
4241
bb0(%0 : $Bool):
4342
%1 = alloc_ref $foo
4443
%2 = struct_extract %0 : $Bool, #Bool._value // user: %3
@@ -56,7 +55,6 @@ bb2: // Preds: bb0
5655
%10 = apply %8(%9) : $@convention(thin) (@thick foo.Type) -> @owned foo // user: %11
5756
br bb3(%10 : $foo) // id: %11
5857

59-
// %12 // users: %13, %16, %19, %20
6058
bb3(%12 : $foo): // Preds: bb1 bb2
6159
strong_retain %12 : $foo // id: %13
6260
%14 = integer_literal $Builtin.Int64, 12 // user: %15
@@ -99,7 +97,6 @@ bb4: // Preds: bb2
9997
%16 = integer_literal $Builtin.Int64, 3 // user: %17
10098
br bb5(%16 : $Builtin.Int64) // id: %17
10199

102-
// %18 // user: %19
103100
bb5(%18 : $Builtin.Int64): // Preds: bb1 bb3 bb4
104101
return %18 : $Builtin.Int64 // id: %19
105102
}

0 commit comments

Comments
 (0)