[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
Mon Aug 8 06:28:00 PDT 2022


jolanta.jensen updated this revision to Diff 450785.
jolanta.jensen added a comment.
Herald added a subscriber: bzcheeseman.

1. Guarding against non-valid bitcasts.
2. Load-store forwarding works with vector types as well.
3. Added a test for load-store forwarding with vector types.
4. Added tests confirming bitcasting vectors won't corrupt the values stored.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130233/new/

https://reviews.llvm.org/D130233

Files:
  llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
  llvm/test/Transforms/EarlyCSE/vector_bitcasting_be.ll
  llvm/test/Transforms/EarlyCSE/vector_bitcasting_le.ll
  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.450785.patch
Type: text/x-patch
Size: 11349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/2f46401b/attachment.bin>


More information about the llvm-commits mailing list