[llvm] [DLCov][NFC] Annotate intentionally-blank DebugLocs in existing code (PR #136192)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 08:16:27 PDT 2025


================
@@ -2808,6 +2808,7 @@ static bool hoistMulAddAssociation(Instruction &I, Loop &L,
     auto *NewBO =
         BinaryOperator::Create(Ins->getOpcode(), LHS, RHS,
                                Ins->getName() + ".reass", Ins->getIterator());
+    NewBO->setDebugLoc(DebugLoc::getDropped());
----------------
SLTozer wrote:

There was an instance of `dropLocation` that got replaced by `getDropped` in this patch - I've just fixed that, such that we're now only adding `getDropped` and not adding or removing any `dropLocation`s!

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


More information about the llvm-commits mailing list