This is an archive of the discontinued LLVM Phabricator instance.

[Alignment][NFC] Finish transition for `Loads`
ClosedPublic

Authored by gchatelet on Oct 21 2019, 5:56 AM.

Details

Summary

This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Diff Detail

Event Timeline

gchatelet created this revision.Oct 21 2019, 5:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2019, 5:56 AM
courbet added inline comments.Oct 21 2019, 6:08 AM
llvm/lib/Analysis/Loads.cpp
207

Create an Align here ?

as discussed maybe something like:

'Align DataLayout::getValueOrABITypeAlignment(MaybeAlign)'

gchatelet updated this revision to Diff 225877.Oct 21 2019, 7:05 AM
  • use DL.getValueOrABITypeAlignment
  • Address comments
gchatelet marked an inline comment as done.Oct 21 2019, 7:06 AM
courbet accepted this revision.Oct 21 2019, 7:51 AM
This revision is now accepted and ready to land.Oct 21 2019, 7:51 AM
This revision was automatically updated to reflect the committed changes.