diff options
| author | Max Kazantsev <mkazantsev@azul.com> | 2020-09-10 13:29:45 +0700 |
|---|---|---|
| committer | Max Kazantsev <mkazantsev@azul.com> | 2020-09-10 13:30:31 +0700 |
| commit | c413a8a8ecd3c0ef7bcb08525fd73eb1392a738c (patch) | |
| tree | 9d269ff01983e1caf1c81b5bd86703e7d403bbbf /llvm/lib/Bitcode | |
| parent | 060c8e083dd637866854acb6a0823c45b2ef68ef (diff) | |
| download | llvm-c413a8a8ecd3c0ef7bcb08525fd73eb1392a738c.zip llvm-c413a8a8ecd3c0ef7bcb08525fd73eb1392a738c.tar.gz llvm-c413a8a8ecd3c0ef7bcb08525fd73eb1392a738c.tar.bz2 | |
[LoopLoadElim] Filter away candidates that stop being AddRecs after loop versioning. PR47457
The test in PR47457 demonstrates a situation when candidate load's pointer's SCEV
is no loger a SCEVAddRec after loop versioning. The code there assumes that it is
always a SCEVAddRec and crashes otherwise.
This patch makes sure that we do not consider candidates for which this requirement
is broken after the versioning.
Differential Revision: https://reviews.llvm.org/D87355
Reviewed By: asbirlea
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
