27 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple aarch64 -run-pass=aarch64-postlegalizer-combiner -verify-machineinstrs %s -o - | FileCheck %s3 4---5name: shift_of_zero6alignment: 47legalized: true8liveins:9 - { reg: '$w0' }10body: |11 bb.1.entry:12 liveins: $x013 14 ; CHECK-LABEL: name: shift_of_zero15 ; CHECK: liveins: $x016 ; CHECK-NEXT: {{ $}}17 ; CHECK-NEXT: %a:_(s64) = COPY $x018 ; CHECK-NEXT: $x0 = COPY %a(s64)19 ; CHECK-NEXT: RET_ReallyLR implicit $x020 %a:_(s64) = COPY $x021 %b:_(s64) = G_CONSTANT i64 022 %res:_(s64) = G_LSHR %a, %b23 $x0 = COPY %res(s64)24 RET_ReallyLR implicit $x025 26...27