[NFC] Uniquify 'const' in TargetTransformInfoImpl.h
authorSimon Moll <simon.moll@emea.nec.com>
Wed, 23 Dec 2020 13:21:41 +0000 (14:21 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Wed, 23 Dec 2020 13:21:41 +0000 (14:21 +0100)
commitacaa6e4260cb5b2aa88f465eafea320d5f3f249c
tree7059f25fcd8800065824e4f3ea5f032c2114c920
parentc3acda0798f9b10ac3187ad941bbd8af82fb84a1
[NFC] Uniquify 'const' in TargetTransformInfoImpl.h

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.

Authored-by: Jinzheng Tu <b1f6c1c4@gmail.com>
Reviewed By: simoll

Differential revision: https://reviews.llvm.org/D93573
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h