[PATCH] D97650: [X86] WIP Optimize SMULO/UMULO for AVX512 mask registers.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 28 17:50:37 PST 2021


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added subscribers: pengfei, hiraditya.
craig.topper requested review of this revision.
Herald added a project: LLVM.

This further improves the codegen from D97624 <https://reviews.llvm.org/D97624>.

I'm considering merging this code into the new helper function
from D97624 <https://reviews.llvm.org/D97624>. So we would have Ovf outparam instead of Low. This
would avoid needing to reverse the TRUNCATE since we could
intercept the vXi16 result directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97650

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/vec_smulo.ll
  llvm/test/CodeGen/X86/vec_umulo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97650.327009.patch
Type: text/x-patch
Size: 30631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210301/07388ae3/attachment-0001.bin>


More information about the llvm-commits mailing list