Skip to content

Commit b8bd250

Browse files
committed
Update dead_alloc_elim.sil
1 parent 135533e commit b8bd250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/dead_alloc_elim.sil

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,8 @@ bb0(%0 : $_ContiguousArrayStorage<Element>):
716716
sil @dead_zero_init : $@convention(thin) () -> () {
717717
bb0:
718718
%0 = alloc_stack $Kl
719-
builtin "zeroInitializer"(%0 : $*Kl)
720-
dealloc_stack %0
719+
%empty = builtin "zeroInitializer"(%0 : $*Kl) : $()
720+
dealloc_stack %0 : $*Kl
721721
%1 = tuple ()
722722
return %1
723723
}

0 commit comments

Comments
 (0)