This is an archive of the discontinued LLVM Phabricator instance.

[Alignment][NFC] getMemoryOpCost uses MaybeAlign
ClosedPublic

Authored by gchatelet on Oct 22 2019, 8:17 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 22 2019, 8:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2019, 8:17 AM
courbet accepted this revision.Oct 23 2019, 2:27 AM
courbet added inline comments.
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
640

Align(16) ?

llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
171–176

Align(RegWidth / 8) ?

183–188

Align(8) ?

This revision is now accepted and ready to land.Oct 23 2019, 2:27 AM
gchatelet updated this revision to Diff 226126.Oct 23 2019, 5:48 AM
gchatelet marked 3 inline comments as done.
  • Address comments
courbet accepted this revision.Oct 24 2019, 2:29 AM
courbet added inline comments.
llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
186

nit: ..

This revision was automatically updated to reflect the committed changes.