summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/unroll-sroa.ll
Commit message (Collapse)AuthorAgeFilesLines
* [NewPM] Add an SROA pass after loop unrollGuozhi Wei2019-11-011-0/+61
If there is a small local array accessed in a loop, SROA can't handle memory accesses with variant offset inside a loop, after the loop is fully unrolled, all memory accesses to the array are with fixed offset, so now they can be processed by SROA. But there is no more SROA passes after loop unroll. This patch add an SROA pass after loop unroll to handle this pattern. Differential Revision: https://reviews.llvm.org/D68593
OpenPOWER on IntegriCloud