42 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: s64_s32_legal7tracksRegLiveness: true8body: |9 bb.0:10 liveins: $s011 ; CHECK-LABEL: name: s64_s32_legal12 ; CHECK: liveins: $s013 ; CHECK-NEXT: {{ $}}14 ; CHECK-NEXT: %copy:_(s32) = COPY $s015 ; CHECK-NEXT: %lround:_(s64) = G_LROUND %copy(s32)16 ; CHECK-NEXT: %trunc:_(s32) = G_TRUNC %lround(s64)17 ; CHECK-NEXT: $w0 = COPY %trunc(s32)18 ; CHECK-NEXT: RET_ReallyLR implicit $w019 %copy:_(s32) = COPY $s020 %lround:_(s64) = G_LROUND %copy(s32)21 %trunc:_(s32) = G_TRUNC %lround22 $w0 = COPY %trunc(s32)23 RET_ReallyLR implicit $w024...25---26name: s64_s64_legal27tracksRegLiveness: true28body: |29 bb.0:30 liveins: $d031 ; CHECK-LABEL: name: s64_s64_legal32 ; CHECK: liveins: $d033 ; CHECK-NEXT: {{ $}}34 ; CHECK-NEXT: %copy:_(s64) = COPY $d035 ; CHECK-NEXT: %lround:_(s64) = G_LROUND %copy(s64)36 ; CHECK-NEXT: $x0 = COPY %lround(s64)37 ; CHECK-NEXT: RET_ReallyLR implicit $x038 %copy:_(s64) = COPY $d039 %lround:_(s64) = G_LROUND %copy(s64)40 $x0 = COPY %lround41 RET_ReallyLR implicit $x042