[all-commits] [llvm/llvm-project] c1146f: [DebugInfo][RemoveDIs] Handle DPValues in LCSSA (#...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Nov 22 07:11:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1146f306d2b924449d2b60943ec6fff1efa785d
      https://github.com/llvm/llvm-project/commit/c1146f306d2b924449d2b60943ec6fff1efa785d
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2023-11-22 (Wed, 22 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/LCSSA.cpp
    M llvm/test/Transforms/LCSSA/rewrite-existing-dbg-values.ll

  Log Message:
  -----------
  [DebugInfo][RemoveDIs] Handle DPValues in LCSSA (#72996)

LCSSA needs to manually update dbg.value intrinsic users of Values that
are having LCSSA PHIs inserted -- instrument it to do the same for
DPValues, the replacement for dbg.values.

This patch also contains an opportunistic fix replacing
instruction-insertion with iterator-insertion, necessary for
communicating debug-info in the future.




More information about the All-commits mailing list