mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 22:29:56 +00:00
This commit starts with a "git mv ARM64 AArch64" and continues out from there, renaming the C++ classes, intrinsics, and other target-local objects for consistency. "ARM64" test directories are also moved, and tests that began their life in ARM64 use an arm64 triple, those from AArch64 use an aarch64 triple. Both should be equivalent though. This finishes the AArch64 merge, and everyone should feel free to continue committing as normal now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209577 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
661 B
LLVM
25 lines
661 B
LLVM
; RUN: llc < %s -march=arm64 | FileCheck %s
|
|
|
|
define void @caller(i32* nocapture %p, i32 %a, i32 %b) nounwind optsize ssp {
|
|
; CHECK-NOT: stp
|
|
; CHECK: b {{_callee|callee}}
|
|
; CHECK-NOT: ldp
|
|
; CHECK: ret
|
|
%1 = icmp eq i32 %b, 0
|
|
br i1 %1, label %3, label %2
|
|
|
|
tail call fastcc void @callee(i32* %p, i32 %a) optsize
|
|
br label %3
|
|
|
|
ret void
|
|
}
|
|
|
|
define internal fastcc void @callee(i32* nocapture %p, i32 %a) nounwind optsize noinline ssp {
|
|
store volatile i32 %a, i32* %p, align 4, !tbaa !0
|
|
ret void
|
|
}
|
|
|
|
!0 = metadata !{metadata !"int", metadata !1}
|
|
!1 = metadata !{metadata !"omnipotent char", metadata !2}
|
|
!2 = metadata !{metadata !"Simple C/C++ TBAA"}
|