1 # RUN: llc -mtriple=wasm32-unknown-unknown -run-pass wasm-cfg-stackify %s -o - | FileCheck %s
3 # This tests if END_LOOP marker is placed correctly when the BB it is to be
4 # placed is unreachable. Regression test for PR41307.
6 # CHECK-LABEL: unreachable_test
9 - { reg: '$arguments' }
15 ; predecessors: %bb.0, %bb.2
21 BR %bb.1, implicit-def dead $arguments
26 UNREACHABLE implicit-def $arguments