[PATCH] D70089: [VFABI] Add LLVM internal mangling for vector functions.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 09:26:59 PST 2019


fpetrogalli created this revision.
fpetrogalli added reviewers: jdoerfert, sdesmalen, simoll.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.

This patch adds a custom ISA for vector functions for internal use
in LLVM. The <isa> token is set to "_LLVM_VF_", and it is not attached
to any specific instruction Vector ISA, or Vector Function ABI.

The ISA is used as a token for handling Vector Function ABI-style
vectorization for those vector functions that are not directly
associated to any existing Vector Function ABI (for example, some of
the vector functions exposed by TargetLibraryInfo). The demangling
function for this ISA in a Vector Function ABI context is set to be
the same as the common one shared between X86 and AArch64.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70089

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/VFABIDemangling.cpp
  llvm/unittests/Analysis/VectorFunctionABITest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70089.228713.patch
Type: text/x-patch
Size: 3910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191111/bb968df4/attachment.bin>


More information about the llvm-commits mailing list