Skip to content

Conversation

@quic-asaravan
Copy link
Contributor

%3:intregs = PHI %21:intregs, %bb.6, %7:intregs, %bb.1 - SU0 %7:intregs = PHI %21:intregs, %bb.6, %13:intregs, %bb.1 - SU1 %27:intregs = A2_zxtb %3:intregs - SU2
%13:intregs = C2_muxri %45:predregs, 0, %46:intreg

If we have dependent phis, SU0 should be the successor of SU1 not the other way around.

%3:intregs = PHI %21:intregs, %bb.6, %7:intregs, %bb.1 - SU0
%7:intregs = PHI %21:intregs, %bb.6, %13:intregs, %bb.1 - SU1
%27:intregs = A2_zxtb %3:intregs - SU2
%13:intregs = C2_muxri %45:predregs, 0, %46:intreg

If we have dependent phis, SU0 should be the successor of SU1 not
the other way around.
%3:intregs = PHI %21:intregs, %bb.6, %7:intregs, %bb.1 - SU0
%7:intregs = PHI %21:intregs, %bb.6, %13:intregs, %bb.1 - SU1
%27:intregs = A2_zxtb %3:intregs - SU2
%13:intregs = C2_muxri %45:predregs, 0, %46:intreg

If we have dependent phis, SU0 should be the successor of SU1 not
the other way around.
@quic-asaravan quic-asaravan reopened this Apr 16, 2025
@quic-asaravan quic-asaravan deleted the Dependent_phis branch April 16, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant