[PATCH] D101900: [InstCombine] Fold extractelement + vector GEP with one use
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 08:48:32 PDT 2021
david-arm updated this revision to Diff 347410.
david-arm marked an inline comment as done.
david-arm added a comment.
- After private discussion with @sdesmalen I've updated the patch to count the vector GEP operands using a lambda function with llvm::count_if.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101900/new/
https://reviews.llvm.org/D101900
Files:
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/gep-vector-indices.ll
llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
llvm/test/Transforms/InstCombine/vec_demanded_elts.ll
llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll
llvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101900.347410.patch
Type: text/x-patch
Size: 18384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/db8fb02f/attachment.bin>
More information about the llvm-commits
mailing list