diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-02-05 15:15:46 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-02-05 15:15:46 +0000 |
commit | 01022af5d5a109c903e843f0e33378b5bc805ed1 (patch) | |
tree | 9eab92dbba8f2ce6ae43488d33ca6d42549f4381 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 569dc65c63802e2313aebe702d0233ae101c09cf (diff) | |
download | llvm-01022af5d5a109c903e843f0e33378b5bc805ed1.zip llvm-01022af5d5a109c903e843f0e33378b5bc805ed1.tar.gz llvm-01022af5d5a109c903e843f0e33378b5bc805ed1.tar.bz2 |
[ARM][MVE] LowOverheadLoops: DCE on the iteration count setup expression
Once we have created a tail-predicated hardware-loop, and thus know the number
of elements that are processed, we want to clean-up the iteration count
expression of that loop. In D73682, we bailed the analysis on conditionally
executed instructions. This adds support for IT-blocks, so that we can handle
these cases again. The restriction is that we only support IT blocks containing
1 statement, but that seems to cover most cases and forms of the iteration
count expression.
Differential Revision: https://reviews.llvm.org/D73947
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions