[PATCH] D85012: [NOT FOR COMMIT(yet)] [deadargelim] Use entry values for unused args

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 02:41:24 PDT 2020


djtodoro created this revision.
djtodoro added reviewers: dblaikie, vsk, aprantl, dstenb.
djtodoro added a project: debug-info.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
djtodoro requested review of this revision.

Currently we generate entry value only within LiveDebugValues, but it seems we can use it within DeadArgElim for unused arguments.

Addresses PR39716.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85012

Files:
  llvm/lib/CodeGen/LiveDebugValues.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
  llvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
  llvm/test/Verifier/diexpression-entry-value-llvm-ir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85012.282164.patch
Type: text/x-patch
Size: 5229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200731/8683a267/attachment.bin>


More information about the llvm-commits mailing list