[PATCH] D146327: [ArgPromotion] Remove dead code produced by removing dead arguments

Jeffrey Byrnes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 11:39:26 PDT 2023


jrbyrnes updated this revision to Diff 507449.
jrbyrnes marked 4 inline comments as done.
jrbyrnes added a comment.

Thanks @nikic for your comments. Added the PhaseOrdering test to demonstrate impact patch has on subsequent passes. Also, cleaned up implementation w/ use of API.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146327

Files:
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/test/Transforms/ArgumentPromotion/propagate-remove-dead-args.ll
  llvm/test/Transforms/ArgumentPromotion/store-into-inself.ll
  llvm/test/Transforms/PhaseOrdering/dce-after-argument-promotion-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146327.507449.patch
Type: text/x-patch
Size: 7547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/2e95b9db/attachment-0001.bin>


More information about the llvm-commits mailing list