[PATCH] D66882: [DAGCombiner] Match (add X, X) as (shl X, 1) when detecting rotate.
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 29 05:20:37 PDT 2019
deadalnix updated this revision to Diff 217843.
deadalnix added a comment.
- Avoid creating the shift node when not stricly required.
- Add negative tests.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66882/new/
https://reviews.llvm.org/D66882
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/rotate-extract-vector.ll
test/CodeGen/X86/rotate-extract.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66882.217843.patch
Type: text/x-patch
Size: 4766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190829/d80cda46/attachment.bin>
More information about the llvm-commits
mailing list