[PATCH] D106875: [DebugInfo] Attempt to preserve more information during tail duplication

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 04:07:48 PDT 2021


jmorse added a comment.

LGTM; however, will the use of isDebugValue cause this to affect variadic variable locations? It's probably fine to only address one form in this patch, and consider DBG_VALUE_LIST some other time.



================
Comment at: llvm/lib/CodeGen/TailDuplicator.cpp:227
+        // cannot create new register definitions specifically for the debug
+        // instruction (as debug instructions cannot affect CodeGen).
         if (UseMI->isDebugValue()) {
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106875



More information about the llvm-commits mailing list