mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
This is the main CodeGen patch to support the arm64_32 watchOS ABI in LLVM. FastISel is mostly disabled for now since it would generate incorrect code for ILP32. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371722 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
397 B
LLVM
14 lines
397 B
LLVM
; RUN: llc -mtriple=arm64_32-apple-ios9.0 -o - %s | FileCheck %s
|
|
|
|
declare void @callee([8 x i64], i8*, i8*)
|
|
|
|
; Make sure we don't accidentally store X0 or XZR, which might well
|
|
; clobber other arguments or data.
|
|
define void @test_stack_ptr_32bits(i8* %in) {
|
|
; CHECK-LABEL: test_stack_ptr_32bits:
|
|
; CHECK-DAG: stp wzr, w0, [sp]
|
|
|
|
call void @callee([8 x i64] undef, i8* null, i8* %in)
|
|
ret void
|
|
}
|