android_mt6572_jiabo/external/llvm/test/CodeGen/Mips/mips64r6/compatibility.ll
2025-09-05 16:56:03 +08:00

9 lines
270 B
LLVM

; RUN: llc -march=mipsel -mcpu=mips64r6 < %s | FileCheck %s
; RUN: not llc -march=mipsel -mcpu=mips64r6 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s
; CHECK: foo:
; DSP: MIPS64r6 is not compatible with the DSP ASE
define void @foo() nounwind {
ret void
}