[PATCH] D90418: [debuginfo] Vectorizing a loop doesn't terminate all vectorized variable locations

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 15:14:10 PST 2020


aprantl added a comment.

Can `replaceDbgUsesWithUndef` from Local.cpp be used here?



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3716
+    for (auto &User : DbgUsers) {
+      LLVM_DEBUG(dbgs() << "LV: Update induction source variable or dependant: "
+                        << User->getVariable()->getName() << "\n ");
----------------
`dependent`


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

https://reviews.llvm.org/D90418



More information about the llvm-commits mailing list