brintos

brintos / llvm-project-archived public Read only

0
0
Text · 657 B · 3aa3bcd Raw
22 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass=hexagon-bit-simplify -o - %s | FileCheck %s2 3# This test checks if the HexagonBitSimplify pass correctly replaces a4# S2_storerh_io with a S2_storerf_io that stores the upper halfword5# of a high subregister using appropriate subregister boundaries.6 7# CHECK: S2_storerf_io %0, 28, %{{[0-9]+}}.isub_hi8# CHECK-NOT: S2_storerf_io %0, 28, %{{[0-9]+}}.isub_lo9 10---11name: test_store12tracksRegLiveness: true13body:             |14  bb.0:15    liveins: $r016    %0:intregs = COPY $r017    %1:doubleregs = IMPLICIT_DEF18    %2:doubleregs = IMPLICIT_DEF19    %3:doubleregs = S2_shuffoh %2, %120    S2_storerh_io %0, 28, %3.isub_hi21...22