diff options
author | Tyler Augustine <taugustine@google.com> | 2022-01-10 21:42:03 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2022-01-10 22:26:21 +0000 |
commit | 87a9be2a74a98c8baf69009122ce7e75111d530e (patch) | |
tree | 869bb45bbf119d8672951ca8d7a6d94a65330837 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 2154dbaa593d37228917f007db78509ecb6313af (diff) | |
download | llvm-87a9be2a74a98c8baf69009122ce7e75111d530e.zip llvm-87a9be2a74a98c8baf69009122ce7e75111d530e.tar.gz llvm-87a9be2a74a98c8baf69009122ce7e75111d530e.tar.bz2 |
Don't fail if unable to promote loops during unrolling
When the unroll factor is 1, we should only fail "unrolling" when the trip count also is determined to be 1 and it is unable to be promoted.
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D115365
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions