brintos

brintos / llvm-project-archived public Read only

0
0
Text · 874 B · abffedf Raw
35 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass hexagon-cext-opt %s -o - | FileCheck %s2 3# Check that "misaligned" extended offsets are handled correctly, that is4# that the non-extended offsets are still aligned.5 6# CHECK: %[[B:[0-9]+]]:intregs = A2_addi %{{[0-9]+}}, @array + 1747# CHECK-DAG: S2_storerd_io %[[B]], 0,8# CHECK-DAG: S2_storerd_io %[[B]], 8,9# CHECK-DAG: S2_storerd_io %[[B]], 24,10# CHECK-DAG: S2_storerd_io %[[B]], 16,11 12--- |13  define void @fred() {14    ret void15  }16 17  @array = external global [10000 x i16], align 818...19 20---21name: fred22tracksRegLiveness: true23body: |24  bb.0:25    liveins: $r026      %0:intregs = COPY $r027      %1:intregs = S4_ori_asl_ri 2, %0, 128      %2:doubleregs = A2_tfrpi 029      S2_storerd_io %1, @array + 174, %230      S2_storerd_io %1, @array + 182, %231      S2_storerd_io %1, @array + 198, %232      S2_storerd_io %1, @array + 190, %233...34 35