brintos

brintos / llvm-project-archived public Read only

0
0
Text · 471 B · 5f8c945 Raw
19 lines · plain
1# RUN: llc -mtriple=hexagon -run-pass hexagon-bit-simplify %s -o - | FileCheck %s2 3# Hexagon bit tracker incorrectly calculated address alignment and removed4# a necessary A2_andir instruction. Make sure it remains.5# CHECK: A2_andir %0, -86 7---8name: fred9stack:10  - { id: 0, type: default, size: 64, alignment: 64 }11tracksRegLiveness: true12body: |13  bb.0:14    %0:intregs = PS_fi %stack.0, 6015    %1:intregs = A2_andir %0, -816    %2:doubleregs = L2_loadrd_io %1, 817...18 19