HomePhabricator

[VFABI] Add LLVM internal mangling for vector functions.

Authored by fpetrogalli on Nov 11 2019, 8:48 AM.

Description

[VFABI] Add LLVM internal mangling for vector functions.

Summary:
This patch adds a custom ISA for vector functions for internal use
in LLVM. The <isa> token is set to "_LLVM_", 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.

Reviewers: jdoerfert, sdesmalen, simoll

Subscribers: kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70089

Details

Committed
fpetrogalliNov 12 2019, 7:26 PM
Differential Revision
D70089: [VFABI] Add LLVM internal mangling for vector functions.
Parents
rGbc4bc5aa0d84: Add 8548 CPU definition and attributes
Branches
Unknown
Tags
Unknown