[all-commits] [llvm/llvm-project] a822ec: [DSE, MSSA] Treat passed by value args as invisible...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Jun 23 00:59:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a822ec75cc6044eae8dd99d1b78c1a7eb9ad40d7
      https://github.com/llvm/llvm-project/commit/a822ec75cc6044eae8dd99d1b78c1a7eb9ad40d7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

  Log Message:
  -----------
  [DSE,MSSA] Treat passed by value args as invisible to caller.

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.

Reviewers: efriedma, asbirlea, george.burgess.iv

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D82222




More information about the All-commits mailing list