1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -global-isel -mtriple=aarch64-linux-gnu -o - %s | FileCheck %s
6 define void @call_assert_align() {
7 ; CHECK-LABEL: call_assert_align:
9 ; CHECK-NEXT: str x30, [sp, #-16]! // 8-byte Folded Spill
10 ; CHECK-NEXT: .cfi_def_cfa_offset 16
11 ; CHECK-NEXT: .cfi_offset w30, -16
13 ; CHECK-NEXT: strb wzr, [x0]
14 ; CHECK-NEXT: ldr x30, [sp], #16 // 8-byte Folded Reload
16 %ptr = call align 8 ptr @foo()
21 define ptr @tailcall_assert_align() {
22 ; CHECK-LABEL: tailcall_assert_align:
23 ; CHECK: // %bb.0: // %entry
26 %call = tail call align 4 ptr @foo()