[all-commits] [llvm/llvm-project] 165e24: [VPlan] Move DebugLoc to VPRecipeBase (NFCI).

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Sep 5 07:45:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 165e24aa2a889774c7842db6791a8aa85bf383c1
      https://github.com/llvm/llvm-project/commit/165e24aa2a889774c7842db6791a8aa85bf383c1
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

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

  Log Message:
  -----------
  [VPlan] Move DebugLoc to VPRecipeBase (NFCI).

Add a dedicated debug location to VPRecipeBase to remove another
unneeded use of the underlying LLVM IR instruction and also consolidate
various DL fields in sub classes.

Each recipe can have debug location and it shouldn't rely on reference
to the underlying LLVM IR instructions to retain it. See various recipes
that had separate DL fields already.




More information about the All-commits mailing list