[PATCH] D63704: [Scalarizer] Add scalarizer support for smul.fix.sat

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 01:54:28 PDT 2019


bjope created this revision.
Herald added a subscriber: hiraditya.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.

Handle smul.fix.sat in the scalarizer. This is done by
adding smul.fix.sat to the set of "isTriviallyVectorizable"
intrinsics.

The addition of smul.fix.sat in isTriviallyVectorizable and
hasVectorInstrinsicScalarOpd can also be seen as a preparation
to be able to use hasVectorInstrinsicScalarOpd in ConstantFolding.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63704

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/test/Transforms/Scalarizer/intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63704.206166.patch
Type: text/x-patch
Size: 4209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190624/27a9ff1f/attachment.bin>


More information about the llvm-commits mailing list