[all-commits] [llvm/llvm-project] 958abe: [LoopLoadElim] Add stores with matching sizes as l...

JolantaJensen via All-commits all-commits at lists.llvm.org
Fri Sep 2 05:12:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 958abe864ab777302d1e7aee7b6c5ea4b0fe9be6
      https://github.com/llvm/llvm-project/commit/958abe864ab777302d1e7aee7b6c5ea4b0fe9be6
  Author: Jolanta Jensen <jolanta.jensen at arm.com>
  Date:   2022-09-02 (Fri, 02 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
    M llvm/test/Transforms/LoopLoadElim/type-mismatch-opaque-ptr.ll
    M llvm/test/Transforms/LoopLoadElim/type-mismatch.ll

  Log Message:
  -----------
  [LoopLoadElim] Add stores with matching sizes as load-store candidates

We are not building up a proper list of load-store candidates because
we are throwing away stores where the type don't match the load.
This patch adds stores with matching store sizes as candidates.
Author of the original patch: David Sherwood.

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




More information about the All-commits mailing list