1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-block-placement -verify-machineinstrs | FileCheck %s
3 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4 target triple = "wasm32-unknown-unknown"
9 ; Tests if br_table is printed correctly with a tab.
11 ; CHECK: br_table {0, 1, 0, 1, 0}
12 define void @test0(i32 %n) {
14 switch i32 %n, label %sw.epilog [
21 sw.bb: ; preds = %entry, %entry
22 tail call void @foo0()
25 sw.bb.1: ; preds = %entry, %entry
26 tail call void @foo1()
29 sw.epilog: ; preds = %entry, %sw.bb, %sw.bb.1