view test/CodeGen/Nios2/target_support.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
line wrap: on
line source

; 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
}