[PATCH] D45878: [DEBUG INFO] Fixing cases where debug info (-g) causes changes in the program.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 20 08:51:12 PDT 2018


jonpa marked an inline comment as done.
jonpa added inline comments.


================
Comment at: lib/Target/SystemZ/SystemZElimCompare.cpp:192
+/// matching DBG_VALUEs.
+static void collectDebugValues(MachineInstr &MI,
+                               SmallVectorImpl<MachineInstr *> &DbgValues) {
----------------
aprantl wrote:
> This looks like the same function as above. Factor it out into a general utility?
Yes, as I wrote in the description, this is my plan. Please help me with where you think that function should be placed.


https://reviews.llvm.org/D45878





More information about the llvm-commits mailing list