reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
; 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
}