blob: c83c105724a49aa7b4fdd722f7edacb37c3b1683 [file] [log] [blame]
; 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
}