[all-commits] [llvm/llvm-project] 7c53e9: [RemoveDIs][DebugInfo] Add support for DPValues to...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Mon Jan 22 10:59:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c53e9f6671b44ffd2c36d8c6f0f05456a6222ea
      https://github.com/llvm/llvm-project/commit/7c53e9f6671b44ffd2c36d8c6f0f05456a6222ea
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    M llvm/test/Transforms/LoopStrengthReduce/X86/lsr-cond-dbg.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-0.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-1.ll
    M llvm/test/Transforms/LoopStrengthReduce/dbg-preserve-2.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-0.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-1.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-2.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-3.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-4.ll
    M llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll
    M llvm/test/Transforms/LoopStrengthReduce/optimizemax_debugloc.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr12018.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr51656.ll
    M llvm/test/Transforms/LoopStrengthReduce/pr52161.ll

  Log Message:
  -----------
  [RemoveDIs][DebugInfo] Add support for DPValues to LoopStrengthReduce (#78706)

This patch trivially extends support for DbgValueInst recovery to
DPValues in LoopStrengthReduce; they are handled identically, so this is
mostly done by reusing the DbgValueInst code (using templates or
auto-parameter lambdas to reduce actual code duplication).




More information about the All-commits mailing list