[llvm] [DebugInfo][RemoveDIs] Instrument loop-rotate for DPValues (PR #72997)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 10:19:58 PST 2023
================
@@ -562,6 +627,17 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) {
++NumInstrsDuplicated;
+ if (LoopEntryBranch->getParent()->IsNewDbgInfoFormat) {
+ auto Range = C->cloneDebugInfoFrom(Inst, NextDbgInst);
+ // Erase anything we've seen before,
----------------
OCHyams wrote:
Unfinished comment / `,` -> `.`.?
https://github.com/llvm/llvm-project/pull/72997
More information about the llvm-commits
mailing list