[PATCH] D71828: [InstCombine] Convert vector store to scalar store if only one element updated

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 23:20:23 PST 2019


qiucf updated this revision to Diff 235318.
qiucf added a comment.

Addressed comments:

- Add check for address of load and store.
- Add check for any memory write instructions between load and store.
- Add more test cases for cases above. (Thanks to spatel)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71828

Files:
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/test/Transforms/InstCombine/load-insert-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71828.235318.patch
Type: text/x-patch
Size: 4727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191226/41a4f61b/attachment.bin>


More information about the llvm-commits mailing list