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
2
2
3
3
// This is the ossa version of CopyForwarding tests
4
4
sil_stage raw
@@ -209,9 +209,12 @@ bb1: // Preds: bb0
209
209
copy_addr %0 to [initialization] %5 : $*T // id: %6
210
210
%7 = apply %4<T>(%5) : $@convention(thin) <τ_0_0> (@in τ_0_0) -> ()
211
211
dealloc_stack %5 : $*T // id: %8
212
- br bb2 // id: %9
212
+ br bb3 // id: %9
213
213
214
- bb2: // Preds: bb0 bb1
214
+ bb2:
215
+ br bb3
216
+
217
+ bb3: // Preds: bb0 bb1
215
218
destroy_addr %0 : $*T // id: %10
216
219
%11 = tuple () // user: %12
217
220
return %11 : $() // id: %12
You can’t perform that action at this time.
0 commit comments