[all-commits] [llvm/llvm-project] 6f1a8c: [LV] Vectorize histogram operations (#99851)

Graham Hunter via All-commits all-commits at lists.llvm.org
Fri Sep 27 05:09:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f1a8c2da278a04565877e277bc4d5b70055ac74
      https://github.com/llvm/llvm-project/commit/6f1a8c2da278a04565877e277bc4d5b70055ac74
  Author: Graham Hunter <graham.hunter at arm.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-epilogue.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-no-scalar-interleave.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-outerloop-scevaddrec.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-too-many-deps.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt-vplan.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt.ll
    A llvm/test/Transforms/LoopVectorize/histograms.ll

  Log Message:
  -----------
  [LV] Vectorize histogram operations (#99851)

This patch implements autovectorization support for the 'all-in-one'
histogram intrinsic, which seems to have more support than the
'standalone' intrinsic. See
https://discourse.llvm.org/t/rfc-vectorization-support-for-histogram-count-operations/74788/
for an overview of the work and my notes on the tradeoffs between the
two approaches.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list