aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SPARC/codemodel.ll
blob: 68da48a0e950641256125ff25b48d5062dafe704 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL

; TINY:    Target does not support the tiny CodeModel
; KERNEL:    Target does not support the kernel CodeModel

define void @foo() {
  ret void
}