[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:24 PDT 2025
================
@@ -2249,7 +2249,7 @@ bool llvm::promoteLoopAccessesToScalars(
if (SawUnorderedAtomic)
PreheaderLoad->setOrdering(AtomicOrdering::Unordered);
PreheaderLoad->setAlignment(Alignment);
- PreheaderLoad->setDebugLoc(DebugLoc());
+ PreheaderLoad->dropLocation();
----------------
OCHyams wrote:
Why the change to `dropLocation`?
https://github.com/llvm/llvm-project/pull/136192
More information about the llvm-commits
mailing list