[PATCH] D42541: [DeadArgumentElimination] Preserve llvm.dbg.values's first argument
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 09:24:13 PST 2018
aprantl added a comment.
Thanks! Could you please explain what the dead argument elimination pass is doing and what you patch changes?
I'm worried that this would cause different code being generated depending on whether debug info is enabled or not. In LLVM we consider it a bug if debug info has any effect on the generated code. Instead we have llvm::salvageDebugInfo() to preserve debug info from deleted instructions.
https://reviews.llvm.org/D42541
More information about the llvm-commits
mailing list