[PATCH] D35463: [X86][AVX512] Add lowering of vXi32/vXi64 ISD::ROTL/ISD::ROTR

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 04:24:25 PDT 2017


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

Ensure we modulo the constant immediate to be in range.

Generalized the constant splat extraction to work better with intrinsics where the rotate amount may already have been lowered.


Repository:
  rL LLVM

https://reviews.llvm.org/D35463

Files:
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86InstrAVX512.td
  test/CodeGen/X86/avx512-rotate.ll
  test/CodeGen/X86/combine-rotates.ll
  test/CodeGen/X86/vector-rotate-128.ll
  test/CodeGen/X86/vector-rotate-256.ll
  test/CodeGen/X86/vector-rotate-512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35463.106848.patch
Type: text/x-patch
Size: 44396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170717/8ca97a9c/attachment-0001.bin>


More information about the llvm-commits mailing list