[llvm] [LV] Don't predicate uniform divides with loop-invariant divisor. (PR #98904)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 07:01:17 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
----------------
alexey-bataev wrote:

```suggestion
  // that require predication must not be considered uniform after
```


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


More information about the llvm-commits mailing list