1# RUN: llc -o /dev/null %s -mtriple=aarch64-darwin-ios -run-pass=liveintervals -debug-only=regalloc -precompute-phys-liveness 2>&1 | FileCheck %s
2# REQUIRES: asserts
3--- |
4  define void @reserved_reg_liveness() { ret void }
5...
6---
7# CHECK-LABEL: ********** INTERVALS **********
8# W29 is reserved, so we should only see dead defs
9# CHECK-DAG: W29 [32r,32d:{{[0-9]+}})[64r,64d:{{[0-9]+}})
10# For normal registers like x28 we should see the full intervals
11# CHECK-DAG: W28 [0B,16r:{{[0-9]+}})[32r,48r:{{[0-9]+}})[48r,48d:{{[0-9]+}})
12# CHECK: # End machine code for function reserved_reg_liveness.
13name: reserved_reg_liveness
14tracksRegLiveness: true
15body: |
16  bb.0:
17    liveins: $x28
18    %6 : xseqpairsclass = COPY $x28_fp
19    $x28_fp = COPY %6
20    $x28 = COPY $x28
21    $fp = COPY $fp
22...
23