llvm/test/CodeGen/PowerPC/codemodel.ll
raw| 1 | ; RUN: not llc -verify-machineinstrs -o - -mtriple=powerpc-pc-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY |
| 2 | ; RUN: not llc -verify-machineinstrs -o - -mtriple=powerpc-pc-linux -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 | } |