This is an archive of the discontinued LLVM Phabricator instance.

[CGP] Fix the crash caused by enable of complex addr mode
ClosedPublic

Authored by skatkov on Nov 16 2017, 10:50 PM.

Details

Summary

We must collect all AddModes even if they are the same.
This is due to Original value is different but we need all original
values collected as they are used as anchors in common phi finding.

Diff Detail

Event Timeline

skatkov created this revision.Nov 16 2017, 10:50 PM
This revision is now accepted and ready to land.Nov 17 2017, 9:06 AM
This revision was automatically updated to reflect the committed changes.