summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/ARM/codemodel.ll
blob: ee435986c611575450e73352efa276eb8dedc564 (plain)
1
2
3
4
5
6
7
8
9
; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -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
}