1 ; RUN: llc < %s -asm-verbose=false -verify-machineinstrs | FileCheck %s
2 ; RUN: llc < %s -asm-verbose=false -fast-isel -fast-isel-abort=1 -verify-machineinstrs | FileCheck %s
4 ; Test that LLVM unreachable instruction and trap intrinsic are lowered to
7 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
8 target triple = "wasm32-unknown-unknown"
10 declare void @llvm.trap()
11 declare void @llvm.debugtrap()
15 ; CHECK: call abort{{$}}
25 call void @llvm.trap()
32 call void @llvm.debugtrap()