[all-commits] [llvm/llvm-project] df56fb: [VPlan] Update VPWidenMemoryInstruction to not inh...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu May 19 08:25:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df56fb44f5495a660ffd369355f1b7d9c5144232
      https://github.com/llvm/llvm-project/commit/df56fb44f5495a660ffd369355f1b7d9c5144232
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  [VPlan] Update VPWidenMemoryInstruction to not inherit from VPValue.

VPWidenMemoryInstruction also models stores which may not produce a value.
This can trip over analyses. Improve the modeling by only adding
VPValues for VPWidenMemoryInstructionRecipes modeling loads.




More information about the All-commits mailing list