xref: /llvm-project/llvm/test/CodeGen/ARM/apple-version-min.ll (revision 32add2435f9781418aa8ba8c90f9b7f0d2ac2f28)
1; Test emitting version_min directives.
2
3; Let's not split this into separate ARM/AArch64 parts.
4; REQUIRES: aarch64-registered-target
5
6; RUN: llc %s -filetype=asm -o - --mtriple arm64-apple-tvos9.0.0 | FileCheck %s --check-prefix=TVOS
7; RUN: llc %s -filetype=asm -o - --mtriple thumbv7s-apple-ios7.0.0 | FileCheck %s --check-prefix=IOS
8; RUN: llc %s -filetype=asm -o - --mtriple thumbv7k-apple-watchos2.0.0 | FileCheck %s --check-prefix=WATCHOS
9
10; TVOS: .tvos_version_min 9, 0
11; IOS: .ios_version_min 7, 0
12; WATCHOS: .watchos_version_min 2, 0
13