llvm-mirror/test/CodeGen/AArch64/apple-latest-cpu.ll
Francis Visoiu Mistrih 2379ffe16f [AArch64] Add 'apple-latest' CPU alias
The 'apple-latest' alias is supposed to provide a CPU that contains the
latest Apple processor model supported by LLVM.

This is supposed to be used by tools like lldb to provide a target that
supports most of the CPU features.

For now, this is mapped to Cyclone.

Differential Revision: https://reviews.llvm.org/D56384

llvm-svn: 352412
2019-01-28 19:27:33 +00:00

8 lines
214 B
LLVM

; RUN: llc -mtriple=arm64-apple-ios -mcpu=apple-latest -stop-before=expand-isel-pseudos -o - 2>&1 < %s | FileCheck %s
; CHECK-LABEL: @dummy
; CHECK: "target-cpu"="apple-latest"
define void @dummy() {
ret void
}