[llvm] [LV] Don't predicate uniform divides with loop-invariant divisor. (PR #98904)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 20 06:27:17 PDT 2024
================
@@ -3917,9 +3929,10 @@ void LoopVectorizationCostModel::collectLoopUniforms(ElementCount VF) {
<< *I << "\n");
return;
}
- if (isScalarWithPredication(I, VF)) {
- LLVM_DEBUG(dbgs() << "LV: Found not uniform being ScalarWithPredication: "
- << *I << "\n");
+ if (isPredicatedInst(I, VF, true)) {
----------------
fhahn wrote:
Code is gone in the latest version, thanks!
https://github.com/llvm/llvm-project/pull/98904
More information about the llvm-commits
mailing list