[all-commits] [llvm/llvm-project] 01cbbc: [VPlan] Request lane 0 for pointer arg in PtrAdd.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Oct 9 05:21:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01cbbc52dc95fe5d9e30ecbfb2ec8c7c1e0199c4
      https://github.com/llvm/llvm-project/commit/01cbbc52dc95fe5d9e30ecbfb2ec8c7c1e0199c4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    A llvm/test/Transforms/LoopVectorize/X86/interleave-ptradd-with-replicated-operand.ll

  Log Message:
  -----------
  [VPlan] Request lane 0 for pointer arg in PtrAdd.

After 7f74651, the pointer operand may be replicated of a PtrAdd. Instead
of requesting a single scalar, request lane 0, which correctly handles the
case when there is a scalar-per-lane.

Fixes https://github.com/llvm/llvm-project/issues/111606.



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