[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 05:08:38 PDT 2022


RKSimon updated this revision to Diff 422185.
RKSimon added a comment.

rebase and refactor to reuse the existing MatchShiftAmount lambda


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.422185.patch
Type: text/x-patch
Size: 14724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/0e75ff2b/attachment.bin>


More information about the llvm-commits mailing list