[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / Hexagon / rdf-copy-renamable-reserved.mir
blob1a74401a2e7be593b56325e8c3ab84f5ad4500f4
1 # RUN: llc -march=hexagon -run-pass hexagon-rdf-opt %s -o - | FileCheck %s
3 # Check that r29 gets propagated into the A2_addi, and that the renamable
4 # flag is cleared.
6 # CHECK: renamable $r28 = COPY $r29
7 # CHECK-NOT: renamable
9 ---
10 name: fred
11 tracksRegLiveness: true
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 ...