[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:54 PDT 2024


================
@@ -3907,7 +3919,7 @@ void LoopVectorizationCostModel::collectLoopUniforms(ElementCount VF) {
   SetVector<Instruction *> Worklist;
 
   // Add uniform instructions demanding lane 0 to the worklist. Instructions
-  // that are scalar with predication must not be considered uniform after
+  // that are require predication must not be considered uniform after
----------------
fhahn wrote:

(Should have been fixed by earlier PR)

https://github.com/llvm/llvm-project/pull/98904


More information about the llvm-commits mailing list