xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/trap.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s
2*9880d681SAndroid Build Coastguard Workerdefine i32 @test() noreturn nounwind  {
3*9880d681SAndroid Build Coastguard Workerentry:
4*9880d681SAndroid Build Coastguard Worker	tail call void @llvm.trap( )
5*9880d681SAndroid Build Coastguard Worker	unreachable
6*9880d681SAndroid Build Coastguard Worker}
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdeclare void @llvm.trap() nounwind
9*9880d681SAndroid Build Coastguard Worker
10