bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/trap.ll
2025-02-14 19:21:04 +01:00

14 lines
411 B
LLVM

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32
declare void @llvm.trap()
define void @f() {
; MIPS32-LABEL: f:
; MIPS32: # %bb.0:
; MIPS32-NEXT: break
; MIPS32-NEXT: jr $ra
; MIPS32-NEXT: nop
call void @llvm.trap()
ret void
}