This is an archive of the discontinued LLVM Phabricator instance.

[MemCpyOptimizer] Use dominates instead of comesBefore when performing StackMoveOptzn
AcceptedPublic

Authored by serge-sans-paille on Jul 13 2023, 7:57 AM.

Details

Reviewers
khei4
Summary

That way the predicate still holds across blocks.

Fix #63851

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 7:57 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
serge-sans-paille requested review of this revision.Jul 13 2023, 7:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2023, 7:57 AM

As noted in https://github.com/llvm/llvm-project/issues/63851, the patch introducing the bug got reverted, firefox build passes with that extra patch on my setup.

khei4 accepted this revision.EditedJul 14 2023, 1:06 AM

@serge-sans-paille Thank you so much for saving me! Although I don't know a good way, I took this change on https://reviews.llvm.org/D153453 and added you as a co-author :)

This revision is now accepted and ready to land.Jul 14 2023, 1:06 AM