[TTI][X86] Make getAddressComputationCost cost value const. NFCI.

llvm-svn: 359999
This commit is contained in:
Simon Pilgrim 2019-05-05 20:03:51 +00:00
parent aa9d2623a0
commit addc90e4e8
1 changed files with 1 additions and 1 deletions

View File

@ -2401,7 +2401,7 @@ int X86TTIImpl::getAddressComputationCost(Type *Ty, ScalarEvolution *SE,
// likely result in more instructions compared to scalar code where the // likely result in more instructions compared to scalar code where the
// computation can more often be merged into the index mode. The resulting // computation can more often be merged into the index mode. The resulting
// extra micro-ops can significantly decrease throughput. // extra micro-ops can significantly decrease throughput.
unsigned NumVectorInstToHideOverhead = 10; const unsigned NumVectorInstToHideOverhead = 10;
// Cost modeling of Strided Access Computation is hidden by the indexing // Cost modeling of Strided Access Computation is hidden by the indexing
// modes of X86 regardless of the stride value. We dont believe that there // modes of X86 regardless of the stride value. We dont believe that there