diff options
author | Rosie Sumpter <rosie.sumpter@arm.com> | 2021-08-17 11:43:34 +0100 |
---|---|---|
committer | Rosie Sumpter <rosie.sumpter@arm.com> | 2021-08-19 13:18:57 +0100 |
commit | d1aa075129a94232bce6d47306f8c719ceef9142 (patch) | |
tree | 7ddc7777cd55c86319ace7b2e3fbd4f7ce139eb1 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | e6b1ac85461ac37526fcc3157a15880c4b289b97 (diff) | |
download | llvm-d1aa075129a94232bce6d47306f8c719ceef9142.zip llvm-d1aa075129a94232bce6d47306f8c719ceef9142.tar.gz llvm-d1aa075129a94232bce6d47306f8c719ceef9142.tar.bz2 |
[LoopFlatten] Fix assertion failure
There is an assertion failure in computeOverflowForUnsignedMul
(used in checkOverflow) due to the inner and outer trip counts
having different types. This occurs when the IV has been widened,
but the loop components are not successfully rediscovered.
This is fixed by some refactoring of the code in findLoopComponents
which identifies the trip count of the loop.
Differential Revision: https://reviews.llvm.org/D108107
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions