This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Use Align/MaybeAlign in calls to getLoad/getStore/getExtLoad/getTruncStore.
ClosedPublic

Authored by craig.topper on Sep 13 2020, 5:30 PM.

Details

Summary

The versions that take 'unsigned' will be removed in the future.

I tried to use getOriginalAlign instead of getAlign in some
places. getAlign factors in the minimum alignment implied by
the offset in the pointer info. Since we're also passing the
pointer info we can use the original alignment.

Diff Detail

Event Timeline

craig.topper created this revision.Sep 13 2020, 5:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2020, 5:30 PM
craig.topper requested review of this revision.Sep 13 2020, 5:30 PM
arsenm accepted this revision.Sep 14 2020, 7:37 AM
This revision is now accepted and ready to land.Sep 14 2020, 7:37 AM
This revision was landed with ongoing or failed builds.Sep 14 2020, 1:55 PM
This revision was automatically updated to reflect the committed changes.