mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
3d0b469690
Summary: Fixes an issue where a test attempts to use -mcpu=cortex-a15 on non-ARM targets. This triggers an assertion on MIPS since it doesn't know what ABI to use by default for unrecognized processors. Reviewers: rengolin Reviewed By: rengolin CC: llvm-commits, aemerson, rengolin Differential Revision: http://llvm-reviews.chandlerc.com/D2876 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202256 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
111 B
LLVM
7 lines
111 B
LLVM
; RUN: llc < %s -march=arm -mcpu=cortex-a15 | FileCheck %s
|
|
|
|
; CHECK: a
|
|
define i32 @a(i32 %x) {
|
|
ret i32 %x;
|
|
}
|