2018-12-11 04:55:34 +08:00
|
|
|
; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=TINY
|
|
|
|
; RUN: not llc -verify-machineinstrs -o - -mtriple=sparc64-unknown-linux -code-model=kernel < %s 2>&1 | FileCheck %s --check-prefix=KERNEL
|
2018-12-07 20:10:23 +08:00
|
|
|
|
|
|
|
; TINY: Target does not support the tiny CodeModel
|
|
|
|
; KERNEL: Target does not support the kernel CodeModel
|
|
|
|
|
|
|
|
define void @foo() {
|
|
|
|
ret void
|
|
|
|
}
|