[llvm] llvm: honor VFABI mappings without builtin suppression (PR #193884)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 06:04:26 PDT 2026


================
@@ -534,7 +534,11 @@ VFParamKind VFABI::getVFParamKindFromString(const StringRef Token) {
 
 void VFABI::getVectorVariantNames(
     const CallInst &CI, SmallVectorImpl<std::string> &VariantMappings) {
-  const StringRef S = CI.getFnAttr(VFABI::MappingsAttrName).getValueAsString();
+  StringRef S = CI.getFnAttr(VFABI::MappingsAttrName).getValueAsString();
----------------
huntergr-arm wrote:

What if both the call instruction and called function have mappings? Should we combine them?

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


More information about the llvm-commits mailing list