mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +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
19 lines
460 B
LLVM
19 lines
460 B
LLVM
; RUN: llc -march=arm64 < %s | FileCheck %s
|
|
|
|
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
|
|
target triple = "arm64-apple-ios7.0.0"
|
|
|
|
; Function Attrs: nounwind ssp uwtable
|
|
define i32 @test1() #0 {
|
|
%tmp1 = alloca i8
|
|
%tmp2 = alloca i32, i32 4096
|
|
%tmp3 = icmp eq i8* %tmp1, null
|
|
%tmp4 = zext i1 %tmp3 to i32
|
|
|
|
ret i32 %tmp4
|
|
|
|
; CHECK-LABEL: test1
|
|
; CHECK: adds [[TEMP:[a-z0-9]+]], sp, #4, lsl #12
|
|
; CHECK: adds [[TEMP]], [[TEMP]], #15
|
|
}
|