[PATCH] D79452: [VectorCombine] scalarize binop of inserted elements into vector constants

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 13:35:44 PDT 2020


spatel updated this revision to Diff 262739.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
No code changes, but added 2 more tests with undef and udiv/urem to better demonstrate constant folding.


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

https://reviews.llvm.org/D79452

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/VectorCombine/X86/insert-binop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79452.262739.patch
Type: text/x-patch
Size: 9823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/e8cf9286/attachment-0001.bin>


More information about the llvm-commits mailing list