37 lines · plain
1# RUN: llc -mtriple=powerpc64le--linux-gnu -run-pass ppc-mi-peepholes %s -o - \2# RUN: -verify-machineinstrs | FileCheck %s3 4---5name: testRLDIC6alignment: 167tracksRegLiveness: true8registers:9 - { id: 0, class: g8rc }10 - { id: 1, class: g8rc }11 - { id: 2, class: g8rc }12liveins:13 - { reg: '$x3', virtual-reg: '%0' }14 - { reg: '$x4', virtual-reg: '%1' }15frameInfo:16 maxAlignment: 117machineFunctionInfo: {}18body: |19 bb.0.entry:20 liveins: $x3, $x421 22 %1:g8rc = COPY $x423 %0:g8rc = COPY $x324 %2:g8rc = RLDICL killed %1, 0, 3225 %3:g8rc = RLDICR %2, 2, 6126 $x3 = COPY %327 BLR8 implicit $lr8, implicit $rm, implicit $x328 29 ; CHECK-LABEL: testRLDIC30 ; CHECK: bb.0.entry:31 ; CHECK: %1:g8rc = COPY killed $x432 ; CHECK: %0:g8rc = COPY killed $x333 ; CHECK: %3:g8rc = RLDIC killed %1, 2, 3034 ; CHECK: $x3 = COPY killed %335 ; CHECK: BLR8 implicit $lr8, implicit $rm, implicit killed $x336...37