[PATCH] D100270: [debug-info] MemCpyOpt should merge the debug location when replace multiple block-local instruction with a new memset

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 01:18:32 PDT 2021


djtodoro added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp:492
+      }
+      DebugLoc DgbLoc = DebugLoc(DILocation::getMergedLocations(StoreLocs));
+      AMemSet->setDebugLoc(DgbLoc);
----------------
typo: Dgb

Any how, we don't need the variable, just to it in one line.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100270/new/

https://reviews.llvm.org/D100270



More information about the llvm-commits mailing list