blob: 27d653c99f7b88b5175d3da619f8914039b47b5c [file]
# RUN: llc -march=hexagon -run-pass hexagon-postincopt %s -o - | FileCheck %s
# Check that this doesn't crash.
# CHECK: Y2_dcfetchbo
name: fred
tracksRegLiveness: true
body: |
bb.0:
successors: %bb.1
%0:intregs = IMPLICIT_DEF
bb.1:
successors: %bb.1
%1:intregs = PHI %0:intregs, %bb.0, %2:intregs, %bb.1
Y2_dcfetchbo %1:intregs, 0
%2:intregs = A2_addi %1:intregs, 1
J2_jump %bb.1, implicit-def dead $pc
...