llvm-project/llvm/test/Analysis/LoopCacheAnalysis/PowerPC
Congzhe Cao 05ccde8023 [LoopCacheAnalysis] Fix a type mismatch problem in cost calculation
There is a problem in loop cache analysis that the types of SCEV variables
`Coeff` and `ElemSize` in function `isConsecutive()` may not match. The
mismatch would cause SCEV failures when `Coeff` is multiplied with `ElemSize`.

The fix in this patch is to extend the type of both `Coeff` and `ElemSize` to
whichever is wider in those two variables. As a clean-up, duplicate calculations
of `Stride` in `computeRefCost()` is then removed.

Reviewed By: Meinersbur, #loopoptwg

Differential Revision: https://reviews.llvm.org/D128877
2022-07-21 01:57:05 -04:00
..
LoopnestFixedSize.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
compute-cost-m32.ll
compute-cost.ll [LoopCacheAnalysis] Fix a type mismatch problem in cost calculation 2022-07-21 01:57:05 -04:00
lit.local.cfg
loads-store.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
matmul.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
matvecmul.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
multi-store.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
single-store.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00
stencil.ll [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order 2022-05-25 23:32:00 -04:00