llvm-for-llvmta/test/CodeGen/PowerPC/codemodel.ll

10 lines
428 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=powerpc-pc-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=powerpc-pc-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
}