This is an archive of the discontinued LLVM Phabricator instance.

LSR: Don't drop address space when type doesn't match
ClosedPublic

Authored by arsenm on Jan 29 2017, 1:44 PM.

Details

Summary

For targets with different addressing modes in each address space,
if this is dropped querying isLegalAddressingMode later with this
will give a nonsense result, breaking the isLegalUse assertions.

This is a candidate for the 4.0 release branch.

Diff Detail

Event Timeline

arsenm created this revision.Jan 29 2017, 1:44 PM
This revision is now accepted and ready to land.Jan 30 2017, 11:41 AM
arsenm closed this revision.Jan 30 2017, 12:01 PM

r293542