[llvm] [TLI] Use AArch64 vector calling convention for ArmPL routines (PR #135790)
Graham Hunter via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 07:42:50 PDT 2025
================
@@ -45,20 +45,29 @@ class VecDesc {
ElementCount VectorizationFactor;
bool Masked;
StringRef VABIPrefix;
+ std::optional<CallingConv::ID> CC;
public:
VecDesc() = delete;
VecDesc(StringRef ScalarFnName, StringRef VectorFnName,
ElementCount VectorizationFactor, bool Masked, StringRef VABIPrefix)
: ScalarFnName(ScalarFnName), VectorFnName(VectorFnName),
VectorizationFactor(VectorizationFactor), Masked(Masked),
- VABIPrefix(VABIPrefix) {}
+ VABIPrefix(VABIPrefix), CC(std::nullopt) {}
+
+ VecDesc(StringRef ScalarFnName, StringRef VectorFnName,
+ ElementCount VectorizationFactor, bool Masked, StringRef VABIPrefix,
+ CallingConv::ID Conv)
----------------
huntergr-arm wrote:
Does using a default argument in the existing constructor not work?
https://github.com/llvm/llvm-project/pull/135790
More information about the llvm-commits
mailing list