[all-commits] [llvm/llvm-project] 6254b6: [VPlan] Version VPValue names in VPSlotTracker. (...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 15 04:28:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6254b6dd892728306ddfe657f10eb43a3799864d
      https://github.com/llvm/llvm-project/commit/6254b6dd892728306ddfe657f10eb43a3799864d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  -----------
  [VPlan] Version VPValue names in VPSlotTracker.  (#81411)

This patch restructures the way names for printing VPValues are handled.
It moves the logic to generate names for printing to VPSlotTracker.

VPSlotTracker will now version names of the same underlying value if it
is used by multiple VPValues, by adding a .V suffix to the name.

This fixes cases where at the moment the same name is printed for
different VPValues.

PR: https://github.com/llvm/llvm-project/pull/81411



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