xref: /llvm-project/llvm/test/CodeGen/Mips/mips64r6/compatibility.ll (revision ae26f50aea4ef1a6c7058019f0db11a91bbcdade)
1; RUN: llc -mtriple=mipsel -mcpu=mips64r6 -target-abi n64 < %s | FileCheck %s
2; RUN: not llc -mtriple=mipsel -mcpu=mips64r6 -target-abi n64 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s
3
4; CHECK: foo:
5; DSP: MIPS64r6 is not compatible with the DSP ASE
6
7define void @foo() nounwind {
8  ret void
9}
10