1; RUN: llc -mtriple=sparc-linux-gnu < %s -show-mc-encoding -verify-machineinstrs | FileCheck %s 2 3define void @test1() { 4 tail call void @llvm.trap() 5 unreachable 6 7; CHECK-LABEL: test1: 8; CHECK: ta 5 ! encoding: [0x91,0xd0,0x20,0x05] 9} 10 11declare void @llvm.trap() 12 13; CHECK-LABEL: testdebugtrap: 14; CHECK: ta 1 ! encoding: [0x91,0xd0,0x20,0x01] 15define void @testdebugtrap() { 16entry: 17 call void @llvm.debugtrap() 18 ret void 19} 20 21declare void @llvm.debugtrap() 22