[PATCH] D42794: [DeadArgumentElimination] Update pointer to the DISubprogram before calling RAUW. NFC

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 10:56:06 PST 2018


mattd added a comment.

@djtodoro thanks, this change looks nice, it makes the code easier to read too!
Just a suggestion, could we just set the Subprogram earlier where we set all of the
more  basic properties of the function, when NF is created around line 819, or is
that too soon?


Repository:
  rL LLVM

https://reviews.llvm.org/D42794





More information about the llvm-commits mailing list