[llvm] InjectTLIMappings: remove incompatible attributes from vector declarations. (PR #173206)

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 23 17:12:18 PST 2025


================
@@ -55,6 +57,13 @@ static void addVariantDeclaration(CallInst &CI, const ElementCount &VF,
   Function *VecFunc =
       Function::Create(VectorFTy, Function::ExternalLinkage, VFName, M);
   VecFunc->copyAttributesFrom(CI.getCalledFunction());
+
----------------
tclin914 wrote:

Could we add comment here.

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


More information about the llvm-commits mailing list