================ @@ -123,6 +124,12 @@ class ABIInfo { raw_ostream &Out) const; virtual void appendAttributeMangling(StringRef AttrStr, raw_ostream &Out) const; + + /// Returns the optimal vector type based on the given vector type. For + /// example, on certain targets, a vector with 3 elements might be promoted to + /// one with 4 elements to improve performance. + virtual llvm::FixedVectorType * + getOptimalVectorType(llvm::FixedVectorType *T, const LangOptions &Opt) const; ---------------- arsenm wrote:
VectorMemoryType? https://github.com/llvm/llvm-project/pull/104661 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits