xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/mips32r6/compatibility.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mipsel -mcpu=mips32r6 < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=mipsel -mcpu=mips32r6 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; CHECK: foo:
5*9880d681SAndroid Build Coastguard Worker; DSP: MIPS32r6 is not compatible with the DSP ASE
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Workerdefine void @foo() nounwind {
8*9880d681SAndroid Build Coastguard Worker  ret void
9*9880d681SAndroid Build Coastguard Worker}
10