brintos

brintos / llvm-project-archived public Read only

0
0
Text · 833 B · eb98a41 Raw
25 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass hexagon-packetizer -o - %s | FileCheck %s2---3name: fred4tracksRegLiveness: true5 6body: |7  bb.0:8    ; Check that all these instructions go in the same packet. This is to9    ; make sure that a target flag (other than HMOTF_ConstExtend) on an10    ; operand will not be interpreted as a constant-extender flag.11    ; The combination used below (pcrel + 0) does not technically make sense,12    ; but combinations that do make sense require constant extending, so13    ; testing this is not possible otherwise.14 15    ; CHECK: BUNDLE16    ; CHECK-DAG: $r0 = A2_tfrsi17    ; CHECK-DAG: $r1 = A2_tfrsi18    ; CHECK-DAG: $r2 = A2_tfrsi19    ; CHECK: }20    $r0 = A2_tfrsi target-flags (hexagon-pcrel) 021    $r1 = A2_tfrsi target-flags (hexagon-pcrel) 022    $r2 = A2_tfrsi target-flags (hexagon-pcrel) 023...24 25