1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64 -run-pass=regbankselect -verify-machineinstrs %s -o - | FileCheck %s
4 # Verify register banks for G_ASSERT_ALIGN.
11 tracksRegLiveness: true
16 ; G_ASSERT_ALIGN should end up on a GPR.
18 ; CHECK-LABEL: name: gpr
21 ; CHECK-NEXT: %copy:gpr(p0) = COPY $x0
22 ; CHECK-NEXT: %copy_assert_align:gpr(p0) = G_ASSERT_ALIGN %copy, 4
23 ; CHECK-NEXT: $x1 = COPY %copy_assert_align(p0)
24 ; CHECK-NEXT: RET_ReallyLR implicit $x1
25 %copy:_(p0) = COPY $x0
26 %copy_assert_align:_(p0) = G_ASSERT_ALIGN %copy(p0), 4
27 $x1 = COPY %copy_assert_align
28 RET_ReallyLR implicit $x1