[all-commits] [llvm/llvm-project] 300ac0: [RemoveDIs] Fix removeRedundantDdbgInstrs utils fo...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Dec 12 06:53:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 300ac0aa85864ddd4ec1b5eb65ae52918434d003
      https://github.com/llvm/llvm-project/commit/300ac0aa85864ddd4ec1b5eb65ae52918434d003
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp

  Log Message:
  -----------
  [RemoveDIs] Fix removeRedundantDdbgInstrs utils for dbg.declares (#74102)

The intrinsic variants of these functions don't do anything to
dbg.declares so the non-instruction variants should ignore them too.

Tested in llvm/test/DebugInfo/duplicate_dbgvalue.ll, which has
`--try-experimental-debuginfo-iterators` added in #73504.

The tests will become "live" once #74090 lands (see for more info).




More information about the All-commits mailing list