[PATCH] D93573: [NFC] Uniquify 'const' in TargetTransformInfoImpl.h

Jinzheng Tu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 18:11:23 PST 2020


b1f6c1c4 created this revision.
b1f6c1c4 added reviewers: chandlerc, simoll.
b1f6c1c4 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93573

Files:
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93573.312909.patch
Type: text/x-patch
Size: 19694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201219/37d84718/attachment.bin>


More information about the llvm-commits mailing list