[PATCH] D136713: [SDAG] avoid vector extract/insert around binop
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 06:15:34 PDT 2022
spatel updated this revision to Diff 470797.
spatel marked an inline comment as done.
spatel added a comment.
Patch updated:
1. Added isShuffleMaskLegal() check.
2. Added one-use check (this might be eased as a follow-up, but needs more tests - I added one test to verify, so it's currently showing no diff).
3. Added TODO comments for enhancements.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136713/new/
https://reviews.llvm.org/D136713
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/cvt16.ll
llvm/test/CodeGen/X86/half.ll
llvm/test/CodeGen/X86/urem-vector-lkk.ll
llvm/test/CodeGen/X86/vec_shift5.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136713.470797.patch
Type: text/x-patch
Size: 9425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/8ff20947/attachment-0001.bin>
More information about the llvm-commits
mailing list