This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Avoid use of stale store.
ClosedPublic

Authored by niravd on May 30 2017, 10:43 AM.

Details

Summary

Correct references to alignment of store which may be deleted in a
previous iteration of merge. Instead use first store that would be
merged.

Corrects pr33172's use-after-poison caught by ASan.

Event Timeline

niravd created this revision.May 30 2017, 10:43 AM
RKSimon accepted this revision.May 31 2017, 5:10 AM

LGTM - with one minor.

test/CodeGen/AArch64/pr33172.ll
37

Please clean up the unnecessary metadata etc.

This revision is now accepted and ready to land.May 31 2017, 5:10 AM
This revision was automatically updated to reflect the committed changes.