mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
e80d68f22a
LoopCacheAnalysis currently assumes the loop will be iterated over in a forward direction. This patch addresses the issue by using the absolute value of the stride when iterating backwards. Note: this patch will treat negative and positive array access the same, resulting in the same cost being calculated for single and bi-directional access patterns. This should be improved in a subsequent patch. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D73064 |
||
---|---|---|
.. | ||
compute-cost.ll | ||
lit.local.cfg | ||
loads-store.ll | ||
matmul.ll | ||
matvecmul.ll | ||
single-store.ll | ||
stencil.ll |