[llvm] [DLCov][NFC] Annotate intentionally-blank DebugLocs in existing code (PR #136192)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 05:55:23 PDT 2025
================
@@ -1527,6 +1527,7 @@ bool IndVarSimplify::canonicalizeExitCondition(Loop *L) {
auto *NewRHS = CastInst::Create(
Instruction::Trunc, RHS, LHSOp->getType(), "",
L->getLoopPreheader()->getTerminator()->getIterator());
+ NewRHS->setDebugLoc(DebugLoc::getDropped());
----------------
OCHyams wrote:
Is dropped right here, why not `getCompilerGenerated`? (and are there docs / comments explain which to use?)
https://github.com/llvm/llvm-project/pull/136192
More information about the llvm-commits
mailing list