Fangrui Song ae26f50aea [test] Change llc -march=mips* to -mtriple=mips*
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-10 22:14:06 -08:00

10 lines
274 B
LLVM

; RUN: llc -mtriple=mipsel -mcpu=mips32r6 < %s | FileCheck %s
; RUN: not llc -mtriple=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
}