[llvm] Fix mechanism propagating mangled names for TLI function mappings (PR #66656)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 03:18:10 PDT 2023


================
@@ -1453,19 +1453,13 @@ void InterleaveGroup<Instruction>::addMetadata(Instruction *NewInst) const {
 }
 }
 
-std::string VFABI::mangleTLIVectorName(StringRef VectorName,
-                                       StringRef ScalarName, unsigned numArgs,
-                                       ElementCount VF, bool Masked) {
+std::string
+VFABI::getVectorFunctionABIVariantString(const StringRef MangledNamePrefix,
+                                         const StringRef ScalarFnName,
+                                         const StringRef VectorFnName) {
----------------
paulwalker-arm wrote:

I think this function would be better as a `VecDesc` member function.

https://github.com/llvm/llvm-project/pull/66656


More information about the llvm-commits mailing list