mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
10 lines
270 B
LLVM
10 lines
270 B
LLVM
|
; 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
|
||
|
}
|