[PATCH] D48346: [X86] Rewrite the add/mul/or/and reduction intrinsics to make better use of other intrinsics and remove undef shuffle indices.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 19 22:13:35 PDT 2018


craig.topper created this revision.
craig.topper added a reviewer: RKSimon.
Herald added a subscriber: cfe-commits.

Similar to what was done to max/min recently.

These already reduced the vector width to 256 and 128 bit as we go unlike the original max/min code.


Repository:
  rC Clang

https://reviews.llvm.org/D48346

Files:
  lib/Headers/avx512fintrin.h
  test/CodeGen/avx512-reduceIntrin.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48346.152022.patch
Type: text/x-patch
Size: 81425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180620/0c1c5c46/attachment.bin>


More information about the llvm-commits mailing list