[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
Sat May 20 12:59:31 PDT 2023


gandhi21299 updated this revision to Diff 524050.
gandhi21299 marked an inline comment as done.
gandhi21299 added a comment.

- Brought back the break statement which was removed accidentally
- OtherStoreIsMergable returns a bool now, instead of a StoreInst *
- Corrected tests


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150900.524050.patch
Type: text/x-patch
Size: 11327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230520/e4b4c585/attachment.bin>


More information about the llvm-commits mailing list