[PATCH] D35227: [LV] Don't allow outside uses of IVs if the SCEV is predicated on loop conditions

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 08:06:29 PDT 2017


mssimpso added a comment.

Hi Michael,

I'm probably missing something obvious here. For external IV uses, we compute the end IV value assuming we're coming from the vector loop. But if we executed the vector loop, shouldn't the SCEV predicate have been true, which would mean that the PSEV was a safe assumption?


https://reviews.llvm.org/D35227





More information about the llvm-commits mailing list