This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Uniquify 'const' in TargetTransformInfoImpl.h
ClosedPublic

Authored by b1f6c1c4 on Dec 18 2020, 6:11 PM.

Details

Summary

Some member functions of class TargetTransformInfoImplBase in TargetTransformInfoImpl.h are marked const while others are not. Yet all of the should be marked const since they are just providing default TTI values. This patch fixes the inconsistency.

Diff Detail

Event Timeline

b1f6c1c4 requested review of this revision.Dec 18 2020, 6:11 PM
b1f6c1c4 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 18 2020, 6:11 PM
simoll accepted this revision.Dec 21 2020, 2:17 AM

Thanks! Do you need me to commit this on your behalf?

This revision is now accepted and ready to land.Dec 21 2020, 2:17 AM
b1f6c1c4 signed these changes with MFA.Dec 22 2020, 11:52 AM

Thanks! Do you need me to commit this on your behalf?

Yes please! Thanks for the review.

This revision was landed with ongoing or failed builds.Dec 23 2020, 5:27 AM
This revision was automatically updated to reflect the committed changes.

Done. Please base your patches on the upstream main branch in the future. That makes it much easier to commit patches with Arcanist.