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

9 lines
270 B
LLVM

; RUN: llc -march=mipsel -mcpu=mips32r6 < %s | FileCheck %s
; RUN: not 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
}