mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
22 lines
367 B
Plaintext
22 lines
367 B
Plaintext
// RUN: %target-sil-opt -enable-sil-verify-all -sil-verify-without-invalidation %s -compute-dominance-info
|
|
|
|
// Check if post-dominator verification does not crash on multiple roots.
|
|
|
|
sil_stage canonical
|
|
|
|
import Builtin
|
|
import Swift
|
|
|
|
sil @testit : $@convention(thin) () -> () {
|
|
bb0:
|
|
cond_br undef, bb1, bb2
|
|
|
|
bb1:
|
|
br bb1
|
|
|
|
bb2:
|
|
%r = tuple ()
|
|
return %r : $()
|
|
}
|
|
|