[PATCH] D130233: [LoopLoadElim] Add stores with matching sizes as load-store candidates

Jolanta Jensen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 02:29:32 PDT 2022


jolanta.jensen created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
jolanta.jensen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130233

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130233.446398.patch
Type: text/x-patch
Size: 6986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220721/dcdc0ebc/attachment.bin>


More information about the llvm-commits mailing list