[PATCH] D150900: [InstCombine] Insert a bitcast to enable merging similar store insts

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 13:02:55 PDT 2023


gandhi21299 updated this revision to Diff 523906.
gandhi21299 marked 5 inline comments as done.
gandhi21299 added a comment.

- Use IRBuilder to create cast
- Eliminate InsertBitcast flag
- Fixed alignment test
- Removed redundant checks
- Eliminated temporary store

@nikic The issue with infinite-loop-threshold continues to persist.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150900

Files:
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/test/Transforms/InstCombine/AMDGPU/merging-stores-into-successor.ll
  llvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll
  llvm/test/Transforms/InstCombine/store.ll
  llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150900.523906.patch
Type: text/x-patch
Size: 14644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/8afe4390/attachment-0001.bin>


More information about the llvm-commits mailing list