This is an archive of the discontinued LLVM Phabricator instance.

[DAG] ABD is not reassociative
ClosedPublic

Authored by dmgreen on Mar 1 2023, 5:50 AM.

Details

Summary

I'm not sure how I missed this in the testing, but as far as I understand whilst ABDS and ABDU are commutive they are not associative. This patch disables reassociateOps from visitABD, fixing the problems found in #61069.
ABDU: https://alive2.llvm.org/ce/z/eiT5QG
ABDS: https://alive2.llvm.org/ce/z/HzE29l

Diff Detail

Event Timeline

dmgreen created this revision.Mar 1 2023, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 5:50 AM
dmgreen requested review of this revision.Mar 1 2023, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 5:50 AM
RKSimon accepted this revision.Mar 1 2023, 6:34 AM

LGTM

This revision is now accepted and ready to land.Mar 1 2023, 6:34 AM
This revision was automatically updated to reflect the committed changes.