[PATCH] D62904: [DebugInfo] Honour variable fragments in LiveDebugValues

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 07:10:09 PDT 2019


dstenb added inline comments.


================
Comment at: lib/CodeGen/LiveDebugValues.cpp:842
+
+  // If there is no fragment, then no other use of the variable has a fragment
+  // either. We can ignore the variable.
----------------
Is this guaranteed due to how SROA and other IR passes behave?

Would it cost a lot to drop this assumption and handle mixes of fragmented and non-fragmented debug values?


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

https://reviews.llvm.org/D62904





More information about the llvm-commits mailing list