Files
swift-mirror/test/SILOptimizer/postdomtree_verification_crash.sil
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

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 : $()
}