[PATCH] D13851: [X86][XOP] Add support for lowering vector rotations

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 14:23:55 PDT 2015


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

Updated with 256-bit tests. I've removed ROTR lowering from XOP for now - we don't have any combines that just create ROTR (all attempt to lower with either ROTL/ROTR depending on what is legal/custom), so we can avoid the extra cost of the subtract and always use ROTL on XOP.


Repository:
  rL LLVM

http://reviews.llvm.org/D13851

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vector-rotate-128.ll
  test/CodeGen/X86/vector-rotate-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13851.37920.patch
Type: text/x-patch
Size: 42144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151020/98c8465d/attachment.bin>


More information about the llvm-commits mailing list