forked from OSchip/llvm-project
[TTI][X86] Make getAddressComputationCost cost value const. NFCI.
llvm-svn: 359999
This commit is contained in:
parent
aa9d2623a0
commit
addc90e4e8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue