[all-commits] [llvm/llvm-project] d44b31: [DAGCombine] Allow DAGCombine to remove dead maske...

Dinar Temirbulatov via All-commits all-commits at lists.llvm.org
Mon Feb 13 08:12:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d44b31eca27ca2b4cd9fc7d44702697f00aac739
      https://github.com/llvm/llvm-project/commit/d44b31eca27ca2b4cd9fc7d44702697f00aac739
  Author: Dinar Temirbulatov <dinar.temirbulatov at arm.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/sve-dead-masked-store.ll
    M llvm/test/CodeGen/X86/masked_store.ll

  Log Message:
  -----------
  [DAGCombine] Allow DAGCombine to remove dead masked stores.

Remove a dead masked store if another one has the same base pointer and mask or
the following store has all true constant mask and size if equal or bigger to
the first store.

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




More information about the All-commits mailing list