You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
3
external/llvm/test/CodeGen/Nios2/lit.local.cfg
vendored
Normal file
3
external/llvm/test/CodeGen/Nios2/lit.local.cfg
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
if not 'Nios2' in config.root.targets:
|
||||
config.unsupported = True
|
||||
|
10
external/llvm/test/CodeGen/Nios2/proc_support.ll
vendored
Normal file
10
external/llvm/test/CodeGen/Nios2/proc_support.ll
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
; This tests that llc accepts Nios2 processors.
|
||||
|
||||
; RUN: not not llc < %s -asm-verbose=false -march=nios2 -mcpu=nios2r1 2>&1 | FileCheck %s --check-prefix=ARCH
|
||||
; RUN: not not llc < %s -asm-verbose=false -march=nios2 -mcpu=nios2r2 2>&1 | FileCheck %s --check-prefix=ARCH
|
||||
|
||||
; ARCH-NOT: is not a recognized processor
|
||||
|
||||
define i32 @f(i32 %i) {
|
||||
ret i32 %i
|
||||
}
|
9
external/llvm/test/CodeGen/Nios2/ret_generated.ll
vendored
Normal file
9
external/llvm/test/CodeGen/Nios2/ret_generated.ll
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
; This tests that llc generates 'ret' instruction in assembly output.
|
||||
|
||||
; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH
|
||||
|
||||
; ARCH: ret
|
||||
|
||||
define i32 @f(i32 %i) {
|
||||
ret i32 %i
|
||||
}
|
11
external/llvm/test/CodeGen/Nios2/target_support.ll
vendored
Normal file
11
external/llvm/test/CodeGen/Nios2/target_support.ll
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
; This tests that llc accepts Nios2 target.
|
||||
|
||||
; RUN: not not llc < %s -asm-verbose=false -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH
|
||||
; RUN: not not llc < %s -asm-verbose=false -mtriple=nios2 2>&1 | FileCheck %s --check-prefix=TRIPLE
|
||||
|
||||
; ARCH-NOT: invalid target
|
||||
; TRIPLE-NOT: unable to get target
|
||||
|
||||
define i32 @f(i32 %i) {
|
||||
ret i32 %i
|
||||
}
|
Reference in New Issue
Block a user