[PATCH] D47681: [DAGCombiner] Bug 31275- Extract a shift from a constant mul or udiv if a rotate can be formed

Sam Conrad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 17:27:38 PDT 2018


sameconrad updated this revision to Diff 156406.
sameconrad added a comment.

Rebase after tests were committed
Add full stops to comments
Add todo for handling non-splat vectors


https://reviews.llvm.org/D47681

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/rotate-extract.ll
  test/CodeGen/X86/rotate-extract-vector.ll
  test/CodeGen/X86/rotate-extract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47681.156406.patch
Type: text/x-patch
Size: 21916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/e8f53595/attachment.bin>


More information about the llvm-commits mailing list