teak-llvm/llvm/test/CodeGen/Mips/interrupt-attr-error.ll
Yuanfang Chen 6e24c6037f Revert "[Support] make report_fatal_error abort instead of exit"
This reverts commit 647c3f4e47.

Got bots failure from sanitizer-windows and maybe others.
2020-01-15 17:52:25 -08:00

10 lines
278 B
LLVM

; RUN: not llc -mcpu=mips32 -march=mipsel -relocation-model=static < %s 2>%t
; RUN: FileCheck %s < %t
; CHECK: LLVM ERROR: "interrupt" attribute is not supported on pre-MIPS32R2 or MIPS16 targets.
define i32 @isr_sw0() #0 {
ret i32 0
}
attributes #0 = { "interrupt"="sw0" }