1 ; RUN: llc < %s -asm-verbose=false | FileCheck %s
2 ; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 | FileCheck %s
4 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
5 target triple = "wasm32-unknown-unknown"
7 ; CHECK-LABEL: return_void:
8 ; CHECK: end_function{{$}}
9 define void @return_void() {
13 ; CHECK-LABEL: return_void_twice:
15 ; CHECK-NEXT: return{{$}}
17 ; CHECK-NEXT: end_function{{$}}
18 define void @return_void_twice(i32 %a) {
19 %b = icmp ne i32 %a, 0
20 br i1 %b, label %true, label %false
23 store i32 0, i32* null
27 store i32 1, i32* null