Similar to collecting information from branches guarding a loop, we can
also collect information from assumes dominating the loop header.
Fixes PR47247.
Differential D87854
[SCEV] Also use info from assumes in applyLoopGuards. fhahn on Sep 17 2020, 12:56 PM. Authored by
Details Similar to collecting information from branches guarding a loop, we can Fixes PR47247.
Diff Detail
Event TimelineComment Actions commit message?
Comment Actions It was not quite ready yet, but now everything should be in place and this patch only contains the important change. I'll update the title/description shortly after updating the diff. |
Nit: perform the dyn_cast first, dominance check is probably more costly.