15 lines
411 B
LLVM
15 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
|
||
|
}
|