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