llvm-for-llvmta/test/CodeGen/AArch64/simple-macho.ll

13 lines
300 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; 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
}