1 # RUN: llc -mtriple=powerpc64le--linux-gnu -run-pass ppc-mi-peepholes %s -o - \
2 # RUN: -verify-machineinstrs | FileCheck %s
7 tracksRegLiveness: true
9 - { id: 0, class: g8rc }
10 - { id: 1, class: g8rc }
11 - { id: 2, class: g8rc }
13 - { reg: '$x3', virtual-reg: '%0' }
14 - { reg: '$x4', virtual-reg: '%1' }
17 machineFunctionInfo: {}
24 %2:g8rc = RLDICL killed %1, 0, 32
25 %3:g8rc = RLDICR %2, 2, 61
27 BLR8 implicit $lr8, implicit $rm, implicit $x3
29 ; CHECK-LABEL: testRLDIC
31 ; CHECK: %1:g8rc = COPY $x4
32 ; CHECK: %0:g8rc = COPY $x3
33 ; CHECK: %3:g8rc = RLDIC killed %1, 2, 30
34 ; CHECK: $x3 = COPY %3
35 ; CHECK: BLR8 implicit $lr8, implicit $rm, implicit $x3