[PATCH] D148841: [LV] Use SCEV for uniformity analysis across VF
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 04:51:16 PDT 2023
nikic added a comment.
What do you think about checking for udiv presence upfront? That seems to eliminate the compile-time impact entirely for me. Something like this:
bool HasUDiv =
SCEVExprContains(S, [](const SCEV *S) { return isa<SCEVUDivExpr>(S); });
if (!HasUDiv)
return false;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148841/new/
https://reviews.llvm.org/D148841
More information about the llvm-commits
mailing list