Home | History | Annotate | Download | only in Hexagon
      1 # RUN: llc -march=hexagon -run-pass hexagon-rdf-opt %s -o - | FileCheck %s
      2 
      3 # Check that r29 gets propagated into the A2_addi, and that the renamable
      4 # flag is cleared.
      5 
      6 # CHECK: renamable $r28 = COPY $r29
      7 # CHECK-NOT: renamable
      8 
      9 ---
     10 name: fred
     11 tracksRegLiveness: true
     12 
     13 body: |
     14   bb.0:
     15     renamable $r28 = COPY $r29
     16     $r0 = A2_addi renamable $r28, 1
     17     J2_jumpr $r31, implicit-def $pc, implicit $r0
     18 ...
     19 
     20