[PATCH] D109484: [SLP] Calculate overload types from intrinsic description

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 8 22:24:55 PDT 2021


sepavloff created this revision.
sepavloff added reviewers: RKSimon, ABataev, fhahn, spatel, bjope.
Herald added subscribers: dexonsmith, hiraditya.
sepavloff requested review of this revision.
Herald added a project: LLVM.

The previous way to determine overload types of an intrinsic could work
only with functions that have return value of overloaded type. Functions
having return type described with SameVecWidthArgument were not
supported. This change implements overload type determination based on
intrinsic description provided by getIntrinsicInfoTableEntries.

The change does not affect functionality now but represents a
prerequisite for subsequent patches.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109484

Files:
  llvm/include/llvm/IR/Intrinsics.h
  llvm/lib/IR/Function.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109484.371504.patch
Type: text/x-patch
Size: 7139 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/bb8767d6/attachment.bin>


More information about the llvm-commits mailing list