[PATCH] D82222: [DSE, MSSA] Treat passed by value args as invisible to caller.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 11:59:04 PDT 2020


fhahn created this revision.
fhahn added reviewers: efriedma, asbirlea, george.burgess.iv.
Herald added subscribers: hiraditya, Prazek.
Herald added a project: LLVM.

This updates the MemorySSA backed implementation to treat arguments
passed by value similar to allocas: in they are assumed to be invisible
in the caller. This is similar to how they are treated in legacy DSE.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82222

Files:
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/test/Transforms/DeadStoreElimination/MSSA/simple-todo.ll
  llvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82222.272147.patch
Type: text/x-patch
Size: 4489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/8d473f81/attachment.bin>


More information about the llvm-commits mailing list