mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
42bf9dcf31
Summary: Adds MIPS32r6/MIPS64r6 and checks the compatibility requirements for these processors. I've also included comments to describe removed and re-encoded instructions, along with placeholder def's for the new instructions but there are no functional changes to codegen at this point. Reviewers: jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3622 llvm-svn: 208399
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
|
|
}
|