[all-commits] [llvm/llvm-project] 65b564: [DeadStoreElimination] Optimize tautological assig...

Shreyansh Chouhan via All-commits all-commits at lists.llvm.org
Wed Feb 14 02:25:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65b5647e167f8be8010cbfaefd1591946c533d72
      https://github.com/llvm/llvm-project/commit/65b5647e167f8be8010cbfaefd1591946c533d72
  Author: Shreyansh Chouhan <chouhan.shreyansh2702 at gmail.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll

  Log Message:
  -----------
  [DeadStoreElimination] Optimize tautological assignments (#75744)

If a store is dominated by a condition that ensures that the value being
stored in a memory location is already present at that memory location,
consider the store a noop.

Fixes #63419




More information about the All-commits mailing list