[llvm] [LV] Add support for uniform parameters on vectorized function variants (PR #68879)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 08:28:56 PST 2023


================
@@ -514,12 +517,15 @@ void VPWidenCallRecipe::execute(VPTransformState &State) {
     for (const auto &I : enumerate(operands())) {
       // Some intrinsics have a scalar argument - don't replace it with a
       // vector.
+      // Some vectorized function variants may take also take a scalar argument,
----------------
mgabka wrote:

nit:typo in the comment, single occurrence of take is enough.

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


More information about the llvm-commits mailing list