[PATCH] D123523: [DAG] Add non-uniform vector support to (shl (srl x, c1), c2) -> (and (shift x, c3))
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 02:32:32 PDT 2022
RKSimon updated this revision to Diff 422150.
RKSimon added a comment.
Ensure we test up to the max shift bounds and merge shl(shl(x,N01),sub(N1,N01)) shifts
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123523/new/
https://reviews.llvm.org/D123523
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-shl.ll
llvm/test/CodeGen/X86/rotate-extract-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123523.422150.patch
Type: text/x-patch
Size: 11811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/e4b60f21/attachment.bin>
More information about the llvm-commits
mailing list