This is an archive of the discontinued LLVM Phabricator instance.

[Alignment] Use 'previous()' method instead of scalar division
ClosedPublic

Authored by gchatelet on Jun 20 2022, 2:34 AM.

Details

Summary

This is in preparation of integration with D128052.

Diff Detail

Event Timeline

gchatelet created this revision.Jun 20 2022, 2:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 2:34 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
gchatelet requested review of this revision.Jun 20 2022, 2:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 20 2022, 2:34 AM
tschuett added inline comments.
llvm/include/llvm/Support/Alignment.h
87

Alignment without the a.

88

Please remove the auto.

gchatelet updated this revision to Diff 438316.Jun 20 2022, 2:58 AM
  • Address comments
gchatelet marked 2 inline comments as done.Jun 20 2022, 2:59 AM

Thx for the review @tschuett

courbet accepted this revision.Jun 20 2022, 3:30 AM
This revision is now accepted and ready to land.Jun 20 2022, 3:30 AM
This revision was landed with ongoing or failed builds.Jun 20 2022, 4:02 AM
This revision was automatically updated to reflect the committed changes.