[all-commits] [llvm/llvm-project] 7cc376: [VectorUtils] Expose vector-function-abi-variant m...
annamthomas via All-commits
all-commits at lists.llvm.org
Fri May 15 08:42:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7cc3769adb15f7347e28df65b16d6e6464fd3c70
https://github.com/llvm/llvm-project/commit/7cc3769adb15f7347e28df65b16d6e6464fd3c70
Author: Anna Thomas <anna at azul.com>
Date: 2020-05-15 (Fri, 15 May 2020)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/Transforms/Utils/InjectTLIMappings.cpp
M llvm/unittests/Analysis/VectorFunctionABITest.cpp
Log Message:
-----------
[VectorUtils] Expose vector-function-abi-variant mangling as a utility.
Summary:
This change exposes the vector name mangling with LLVM ISA (used as part
of vector-function-abi-variant) as a utility.
This can then be used by front-ends that add this attribute.
Note that all parameters passed in to the function will be mangled with
the "v" token to identify that they are of of vector type. So, it is the
responsibility of the caller to confirm that all parameters in the
vectorized variant is of vector type.
Added unit test to show vector name mangling.
Reviewed-By: fpetrogalli, simoll
Differential Revision: https://reviews.llvm.org/D79867
More information about the All-commits
mailing list