[all-commits] [llvm/llvm-project] 897a79: [DSE] Add value type info checks for masked store ...

Michael Berg via All-commits all-commits at lists.llvm.org
Tue Sep 20 15:54:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 897a79f97004d377542e4c074cdd696c96c73e2d
      https://github.com/llvm/llvm-project/commit/897a79f97004d377542e4c074cdd696c96c73e2d
  Author: Michael Berg <michael.berg at sifive.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/masked-dead-store.ll

  Log Message:
  -----------
  [DSE] Add value type info checks for masked store candidates in Dead Store Elimination.

The type information of the store values can diverge when checking for valid
mask store candidates to eliminate via DSE. This patch checks for equivalence
wrt to size and element count.

Reviewed By: fhahn, rui.zhang

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




More information about the All-commits mailing list