Skip to content

Commit 4d85e48

Browse files
committed
[DebugInfo] Fix dead-store-elim test for 32 bits
rdar://126620071 (cherry picked from commit a9d89e5)
1 parent e245c42 commit 4d85e48

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/DebugInfo/dead-store-elimination.sil

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import Builtin
1212
// salvage debug info when removing the store.
1313

1414
// CHECK-LABEL: @trivial_local_dead_store
15-
// CHECK: debug_value %{{[0-9]+}} : $Int, var, name "a"
15+
// CHECK: debug_value %{{[0-9]+}} : $Int64, var, name "a"
1616
// CHECK: return
1717
sil hidden @trivial_local_dead_store : $@convention(thin) () -> () {
1818
bb0:
19-
%0 = alloc_stack $Int, var, name "a"
19+
%0 = alloc_stack $Int64, var, name "a"
2020
%1 = integer_literal $Builtin.Int64, 1
21-
%2 = struct $Int (%1 : $Builtin.Int64)
22-
store %2 to %0 : $*Int
21+
%2 = struct $Int64 (%1 : $Builtin.Int64)
22+
store %2 to %0 : $*Int64
2323
%4 = tuple ()
24-
dealloc_stack %0 : $*Int
24+
dealloc_stack %0 : $*Int64
2525
return %4 : $()
2626
}

0 commit comments

Comments
 (0)