[PATCH] D41440: [X86][SSE] Split large PAVGB/PAVGW vectors to legal widths

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 05:54:51 PST 2017


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

Don't bother checking for whole vector sizes - the isPowerOf2_32 test will handle it.

@craig.topper I added a v48i8 test at https://reviews.llvm.org/rL321261 - do you think its worth me generalizing this further to support irregular sized vectors like that?


Repository:
  rL LLVM

https://reviews.llvm.org/D41440

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avg-mask.ll
  test/CodeGen/X86/avg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41440.127869.patch
Type: text/x-patch
Size: 179818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171221/74eebd7e/attachment-0001.bin>


More information about the llvm-commits mailing list