[llvm] [DebugInfo][SimpleLoopUnswitch] Fix missing debug location updates (PR #97662)

Shan Huang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 07:02:38 PDT 2024


================
@@ -1245,9 +1245,12 @@ static BasicBlock *buildClonedLoopBlocks(
       if (SE && isa<PHINode>(I))
         SE->forgetValue(&I);
 
+      Instruction *InsertPt = &*MergeBB->getFirstInsertionPt();
----------------
Apochens wrote:

Oh, thanks for pointing out this. I'll fix it.

https://github.com/llvm/llvm-project/pull/97662


More information about the llvm-commits mailing list