Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / Nios2 / target_support.ll
blob90e7020b2fcc6fe2706ff891a568ee12a179085f
1 ; This tests that llc accepts Nios2 target.
3 ; RUN: not not llc < %s -asm-verbose=false -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH
4 ; RUN: not not llc < %s -asm-verbose=false -mtriple=nios2 2>&1 | FileCheck %s --check-prefix=TRIPLE
6 ; ARCH-NOT: invalid target
7 ; TRIPLE-NOT: unable to get target
9 define i32 @f(i32 %i) {
10   ret i32 %i