diff options
author | David Green <david.green@arm.com> | 2021-05-14 15:08:14 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-05-14 15:08:14 +0100 |
commit | ce76093c3c860599ceb3d588fb80700cd69f1b46 (patch) | |
tree | b064e4967b317f2e85f37534d4ff88d580c54dd3 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 11b34e78c1e2fd5e7cec224d99400216334e2893 (diff) | |
download | llvm-ce76093c3c860599ceb3d588fb80700cd69f1b46.zip llvm-ce76093c3c860599ceb3d588fb80700cd69f1b46.tar.gz llvm-ce76093c3c860599ceb3d588fb80700cd69f1b46.tar.bz2 |
[ARM] Expand predecessor search to multiple blocks when reverting WhileLoopStarts
We were previously only searching a single preheader for call
instructions when reverting WhileLoopStarts to DoLoopStarts. This
extends that to multiple blocks that can come up when, for example a
loop is expanded from a memcpy. It also expends the instructions from
just Call's to also include other LoopStarts, to catch other low
overhead loops in the preheader.
Differential Revision: https://reviews.llvm.org/D102269
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions