forked from OSchip/llvm-project
7f93bb4a58
This patch fixes problems reported in PR51981. When rotating a loop it isn't enough to just forget SCEV for that loop nest. When rotating we might clone some instructions from the old header into the preheader, and insert new PHI nodes to merge values together. There could be users of the original value that are updated to use the PHI result. And those users were not necessarily depending on a PHI node earlier, so they weren't cleaned up when just forgetting all SCEV:s for the loop nest. So we need to explicitly forget those values to avoid invalid cached SCEV expressions. Reviewed By: fhahn, mkazantsev Differential Revision: https://reviews.llvm.org/D110813 |
||
---|---|---|
.. | ||
2009-01-25-SingleEntryPhi.ll | ||
PhiRename-1.ll | ||
PhiSelfReference-1.ll | ||
alloca.ll | ||
basic.ll | ||
call-prepare-for-lto.ll | ||
callbr.ll | ||
catchret.ll | ||
convergent.ll | ||
crash.ll | ||
dbg-value-duplicates-2.ll | ||
dbg-value-duplicates.ll | ||
dbgvalue.ll | ||
freeze-crash.ll | ||
indirectbr.ll | ||
loopexitinglatch.ll | ||
multiple-deopt-exits.ll | ||
multiple-exits.ll | ||
noalias.ll | ||
nosimplifylatch.ll | ||
oz-disable.ll | ||
phi-dbgvalue.ll | ||
phi-duplicate.ll | ||
pr2639.ll | ||
pr22337.ll | ||
pr33701.ll | ||
pr35210.ll | ||
pr37205.ll | ||
pr51981-scev-problem.ll | ||
preserve-loop-simplify.ll | ||
preserve-mssa.ll | ||
preserve-scev.ll | ||
simplifylatch.ll | ||
switch.ll | ||
vect.omp.persistence.ll |