summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/mips32r6/compatibility.ll
blob: 8eac8d4683d151de3d21dfcc82adec72c031d27a (plain)
1
2
3
4
5
6
7
8
9
; 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
}
OpenPOWER on IntegriCloud