llvm-for-llvmta/test/CodeGen/Mips/mips32r6/compatibility.ll

10 lines
278 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -march=mipsel -mcpu=mips32r6 < %s | FileCheck %s
; RUN: not --crash llc -march=mipsel -mcpu=mips32r6 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s
; CHECK: foo:
; DSP: MIPS32r6 is not compatible with the DSP ASE
define void @foo() nounwind {
ret void
}