1; RUN: llc -mtriple=arm64_32-apple-ios9.0 -o - %s | FileCheck %s
2
3declare void @callee([8 x i64], i8*, i8*)
4
5; Make sure we don't accidentally store X0 or XZR, which might well
6; clobber other arguments or data.
7define void @test_stack_ptr_32bits(i8* %in) {
8; CHECK-LABEL: test_stack_ptr_32bits:
9; CHECK-DAG: stp wzr, w0, [sp]
10
11  call void @callee([8 x i64] undef, i8* null, i8* %in)
12  ret void
13}
14