xref: /llvm-project/llvm/test/CodeGen/X86/apple-version-min.ll (revision 3f883111243c4abfc06670190771b9cafc092bd8)
1; Test emitting version_min directives.
2
3; RUN: llc %s -filetype=asm -o - --mtriple x86_64-apple-tvos9.0.0-simulator | FileCheck %s --check-prefix=TVOS
4; RUN: llc %s -filetype=asm -o - --mtriple x86_64-apple-tvos9.0.0 | FileCheck %s --check-prefix=TVOS
5; RUN: llc %s -filetype=asm -o - --mtriple x86_64-apple-driverkit19.0.0 | FileCheck %s --check-prefix=DRIVERKIT
6; RUN: llc %s -filetype=asm -o - --mtriple i386-apple-ios7.0.0-simulator | FileCheck %s --check-prefix=IOS
7; RUN: llc %s -filetype=asm -o - --mtriple i386-apple-watchos2.0.0-simulator | FileCheck %s --check-prefix=WATCHOS
8
9; TVOS: .tvos_version_min 9, 0
10; DRIVERKIT: .build_version driverkit, 19, 0
11; IOS: .ios_version_min 7, 0
12; WATCHOS: .watchos_version_min 2, 0
13