14 lines · plain
1; RUN: llc -verify-machineinstrs -o - -mtriple=aarch64-none-linux-gnu -code-model=tiny < %s 2>&1 | FileCheck %s2; RUN: llc -verify-machineinstrs -o - -mtriple=aarch64 -code-model=tiny < %s 2>&1 | FileCheck %s3; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=arm64-apple-darwin -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=NOTINY4; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=arm64-apple-ios -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=NOTINY5; RUN: not --crash llc -verify-machineinstrs -o - -mtriple=aarch64-unknown-windows-msvc -code-model=tiny < %s 2>&1 | FileCheck %s --check-prefix=NOTINY6 7; CHECK-NOT: tiny code model is only supported on ELF8; CHECK-LABEL: foo9; NOTINY: tiny code model is only supported on ELF10 11define void @foo() {12 ret void13}14