[all-commits] [llvm/llvm-project] 88d34d: [DebugInfo] Fix minor debug info bug in deleteDead...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed Nov 2 06:28:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88d34d46260e62ee4640b4fa50d3f3e70c75f198
      https://github.com/llvm/llvm-project/commit/88d34d46260e62ee4640b4fa50d3f3e70c75f198
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    A llvm/test/DebugInfo/Generic/loop-deletion-inline-var.ll

  Log Message:
  -----------
  [DebugInfo] Fix minor debug info bug in deleteDeadLoop

Using a DebugVariable as the set key rather than std::pair<DIVariable *,
DIExpression *> ensures we don't accidently confuse multiple instances of
inlined variables.

Reviewed By: jryans

Differential Revision: https://reviews.llvm.org/D133303




More information about the All-commits mailing list