[PATCH] D98240: [VectorCombine] Simplify to scalar store if only one element updated

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 02:00:24 PST 2021


qiucf created this revision.
qiucf added reviewers: spatel, efriedma, fhahn, lebedev.ri.
Herald added subscribers: jfb, hiraditya.
qiucf requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is vector-combine version of revision D71828 <https://reviews.llvm.org/D71828>, which simplifies `load-insertelt-store` pattern into `getelementptr-store`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98240

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/InstCombine/load-insert-store.ll
  llvm/test/Transforms/VectorCombine/X86/load-insert-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98240.329254.patch
Type: text/x-patch
Size: 9723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210309/bc8a8b4a/attachment.bin>


More information about the llvm-commits mailing list