[all-commits] [llvm/llvm-project] 4837da: [DSE, MSSA] Check if Def is removable only wen we t...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jun 25 06:04:27 PDT 2020


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

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll

  Log Message:
  -----------
  [DSE,MSSA] Check if Def is removable only wen we try to remove it.

Non-removable MemoryDefs can still eliminate other defs. Update the
isRemovable checks to only candidates for removal.




More information about the All-commits mailing list