[PATCH] D58616: [Vectorizer] Add vectorization support for fixed smul/umul intrinsics

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 25 06:19:39 PST 2019


RKSimon created this revision.
RKSimon added reviewers: nikic, ABataev, craig.topper, dtemirbulatov.
Herald added a project: LLVM.

This requires a couple of tweaks to existing vectorization functions as they were assuming that only the second call argument (ctlz/cttz/powi) could ever be the 'always scalar' argument, but for smul.fix + umul.fix its the third argument.


Repository:
  rL LLVM

https://reviews.llvm.org/D58616

Files:
  lib/Analysis/VectorUtils.cpp
  lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/arith-fix.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58616.188156.patch
Type: text/x-patch
Size: 199818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190225/fbcfe0e9/attachment-0001.bin>


More information about the llvm-commits mailing list