1; RUN: llc < %s -asm-verbose=false | FileCheck %s
2; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 | FileCheck %s
3
4target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
5target triple = "wasm32-unknown-unknown"
6
7; CHECK-LABEL: return_void:
8; CHECK-NEXT: .endfunc{{$}}
9define void @return_void() {
10  ret void
11}
12
13; CHECK-LABEL: return_void_twice:
14; CHECK:      store
15; CHECK-NEXT: return{{$}}
16; CHECK:      store
17; CHECK-NEXT: .endfunc{{$}}
18define void @return_void_twice(i32 %a) {
19  %b = icmp ne i32 %a, 0
20  br i1 %b, label %true, label %false
21
22true:
23  store i32 0, i32* null
24  ret void
25
26false:
27  store i32 1, i32* null
28  ret void
29}
30