[all-commits] [llvm/llvm-project] c30290: [RemoveDIs] Fix DPValue hoisting in hoistSuccIdent...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Feb 6 02:45:43 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c302909760d67a6d149fece3b79c90e47a25ba4d
      https://github.com/llvm/llvm-project/commit/c302909760d67a6d149fece3b79c90e47a25ba4d
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-02-06 (Tue, 06 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll

  Log Message:
  -----------
  [RemoveDIs] Fix DPValue hoisting in hoistSuccIdenticalTerminatorToSwitchOrIf (#80822)

Follow up to #79476 - that patch added a call to hoistLockstepIdenticalDPValues
which hoists identical DPValues in lockstep, matching dbg intrinsic hoisting
behaviour. The code deleted in this patch, which unconditionally hoists
DPValues, should have been deleted in that patch.

Update test with --try-experimental-debuginfo-iterators to check the behaviour.

Follow up to #79476 - that change introduces a call to
hoistLockstepIdenticalDPValues.




More information about the All-commits mailing list