summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Nios2/proc_support.ll
blob: c83c105724a49aa7b4fdd722f7edacb37c3b1683 (plain)
1
2
3
4
5
6
7
8
9
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
}
OpenPOWER on IntegriCloud