xref: /llvm-project/llvm/test/CodeGen/PowerPC/codemodel.ll (revision 80b3dcc045f8ea6e5e532d8891bbf1305bce89e8)
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
7define void @foo() {
8  ret void
9}
10