David Green | ca29c27 | 2018-12-07 12:10:23 +0000 | [diff] [blame] | 1 | ; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY |
2 | ; RUN: not llc -verify-machineinstrs -o - -mtriple=arm-none-eabi -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL | ||||
3 | |||||
4 | ; TINY: Target does not support the tiny CodeModel | ||||
5 | ; KERNEL: Target does not support the kernel CodeModel | ||||
6 | |||||
7 | define void @foo() { | ||||
8 | ret void | ||||
9 | } |