[PATCH] D44370: [X86] Combine vXi64 multiplies to MULDQ/MULUDQ during DAG combine instead of lowering.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 17:13:33 PDT 2018


craig.topper updated this revision to Diff 138112.
craig.topper added a comment.

Added a flag to SplitBinaryOpsAndApply to control checking useBWIRegs or useAVX512Regs. I wanted to do it based on VT, but PMADDWD uses a vXi32 result VT and a vXi16 input VT.

Also removed some more code from LowerMUL that checked for hasDQI.


Repository:
  rL LLVM

https://reviews.llvm.org/D44370

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/mulvi32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44370.138112.patch
Type: text/x-patch
Size: 9133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/9b827458/attachment.bin>


More information about the llvm-commits mailing list