[all-commits] [llvm/llvm-project] fba3e0: [VPlan] Remove overlapping VPInstruction::mayWrite...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Dec 16 19:03:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fba3e069b4ed38b16754d5e45837bfec9d5a372a
      https://github.com/llvm/llvm-project/commit/fba3e069b4ed38b16754d5e45837bfec9d5a372a
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

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

  Log Message:
  -----------
  [VPlan] Remove overlapping VPInstruction::mayWriteToMemory. NFCI (#120039)

VPInstruction has a definition of mayWriteToMemory, which seems to only
be used by VPlanSLP. However VPInstructions are already handled in
VPRecipeBase::mayWriteToMemory, and everywhere else seems to use this
definition. I think these should be the same for all intents and
purposes. The VPRecipeBase definition is more conservative but returns
true for stores/calls/invokes/SLPStores.



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