1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/CodeGen/AArch64/simple-macho.ll
Tim Northover ddc656df8e AArch64: map bare-metal arm64-macho triple to MachO MC layer.
Far better than an assertion about expecting ELF.

llvm-svn: 239647
2015-06-12 23:37:11 +00:00

12 lines
298 B
LLVM

; RUN: llc -mtriple=arm64-macho -o - %s | FileCheck %s
; RUN: llc -mtriple=arm64-macho -filetype=obj -o %t %s
; RUN: llvm-objdump -triple=arm64-macho -d %t | FileCheck --check-prefix=CHECK-OBJ %s
define void @foo() {
; CHECK-LABEL: _foo:
; CHECK: ret
; CHECK-OBJ: 0: c0 03 5f d6 ret
ret void
}