This is an archive of the discontinued LLVM Phabricator instance.

[Alignment][NFC] Conform X86, ARM and AArch64 TargetTransformInfo backends to the public API
ClosedPublic

Authored by gchatelet on Jun 24 2020, 7:35 AM.

Details

Summary

The main interface has been migrated to Align already but a few backends where broadening the type from Align to MaybeAlign.
This patch makes sure all implementations conform to the public API.

Diff Detail

Event Timeline

gchatelet created this revision.Jun 24 2020, 7:35 AM
dmgreen added inline comments.
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
158

Do these need to update too?

gchatelet updated this revision to Diff 273157.Jun 24 2020, 2:15 PM
  • Update isLegalMaskedLoad/Store as well
gchatelet marked 2 inline comments as done.Jun 24 2020, 2:16 PM
gchatelet added inline comments.
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
158

They do, thx!

gchatelet updated this revision to Diff 273170.Jun 24 2020, 2:43 PM
gchatelet marked an inline comment as done.

rebase

dmgreen accepted this revision.Jun 24 2020, 3:41 PM

LGTM. Thanks.

This revision is now accepted and ready to land.Jun 24 2020, 3:41 PM
This revision was automatically updated to reflect the committed changes.