47 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple aarch64 -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s3 4...5---6name: p0_s64_legal7tracksRegLiveness: true8body: |9 bb.0:10 liveins: $q0, $x011 ; CHECK-LABEL: name: p0_s64_legal12 ; CHECK: liveins: $q0, $x013 ; CHECK-NEXT: {{ $}}14 ; CHECK-NEXT: %copy:_(s64) = COPY $x015 ; CHECK-NEXT: %inttoptr:_(p0) = G_INTTOPTR %copy(s64)16 ; CHECK-NEXT: $x0 = COPY %inttoptr(p0)17 ; CHECK-NEXT: RET_ReallyLR implicit $x018 %copy:_(s64) = COPY $x019 %inttoptr:_(p0) = G_INTTOPTR %copy(s64)20 $x0 = COPY %inttoptr(p0)21 RET_ReallyLR implicit $x022...23---24name: v2s64_to_v2p0_legal25tracksRegLiveness: true26body: |27 bb.0:28 liveins: $q0, $x029 30 ; CHECK-LABEL: name: v2s64_to_v2p0_legal31 ; CHECK: liveins: $q0, $x032 ; CHECK-NEXT: {{ $}}33 ; CHECK-NEXT: %copy:_(<2 x s64>) = COPY $q034 ; CHECK-NEXT: %idx:_(s64) = G_CONSTANT i64 035 ; CHECK-NEXT: %inttoptr:_(<2 x p0>) = G_INTTOPTR %copy(<2 x s64>)36 ; CHECK-NEXT: %extract:_(p0) = G_EXTRACT_VECTOR_ELT %inttoptr(<2 x p0>), %idx(s64)37 ; CHECK-NEXT: $x0 = COPY %extract(p0)38 ; CHECK-NEXT: RET_ReallyLR implicit $x039 %copy:_(<2 x s64>) = COPY $q040 %idx:_(s64) = G_CONSTANT i64 041 %inttoptr:_(<2 x p0>) = G_INTTOPTR %copy(<2 x s64>)42 %extract:_(p0) = G_EXTRACT_VECTOR_ELT %inttoptr(<2 x p0>), %idx(s64)43 $x0 = COPY %extract(p0)44 RET_ReallyLR implicit $x045 46...47