1 ; RUN: llc -march=hexagon --verify-machineinstrs < %s | FileCheck %s
3 ; Generate code that is guaranteed to crash. At the moment, it's a
6 ; CHECK: memd(##3134984174)
8 target triple = "hexagon"
10 define i32 @f0() noreturn nounwind {
12 tail call void @llvm.trap()
18 define i32 @f1() noreturn nounwind {
20 tail call void @llvm.debugtrap()
24 declare void @llvm.trap() nounwind
25 declare void @llvm.debugtrap() nounwind