Daniel Sanders | b7f1c6f | 2014-05-09 09:46:21 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mipsel -mcpu=mips32r6 < %s | FileCheck %s |
2 | ; RUN: not llc -march=mipsel -mcpu=mips32r6 -mattr=+dsp < %s 2>&1 | FileCheck --check-prefix=DSP %s | ||||
3 | |||||
4 | ; CHECK: foo: | ||||
5 | ; DSP: MIPS32r6 is not compatible with the DSP ASE | ||||
6 | |||||
7 | define void @foo() nounwind { | ||||
8 | ret void | ||||
9 | } |