[PATCH] D38305: [X86] Use BWI instructions to improve lowering of v32i8 MULHU/S

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 22:30:14 PDT 2017


craig.topper created this revision.

If we have BWI instructions we can widen to v32i16 to do the multiply instead of splitting.


https://reviews.llvm.org/D38305

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vector-idiv-sdiv-256.ll
  test/CodeGen/X86/vector-idiv-udiv-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38305.116760.patch
Type: text/x-patch
Size: 15607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170927/20f786f4/attachment.bin>


More information about the llvm-commits mailing list