File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- // RUN: %target-sil-opt -enable-sil-verify-all %s -copy-forwarding -enable-copyforwarding -enable-destroyhoisting | %FileCheck %s
1+ // RUN: %target-sil-opt -enable-sil-verify-all %s -copy-forwarding -enable-copyforwarding -enable-destroyhoisting -allow-critical-edges=false | %FileCheck %s
22
33// This is the ossa version of CopyForwarding tests
44sil_stage raw
@@ -209,9 +209,12 @@ bb1: // Preds: bb0
209209 copy_addr %0 to [initialization] %5 : $*T // id: %6
210210 %7 = apply %4<T>(%5) : $@convention(thin) <τ_0_0> (@in τ_0_0) -> ()
211211 dealloc_stack %5 : $*T // id: %8
212- br bb2 // id: %9
212+ br bb3 // id: %9
213213
214- bb2: // Preds: bb0 bb1
214+ bb2:
215+ br bb3
216+
217+ bb3: // Preds: bb0 bb1
215218 destroy_addr %0 : $*T // id: %10
216219 %11 = tuple () // user: %12
217220 return %11 : $() // id: %12
You can’t perform that action at this time.
0 commit comments