[llvm] [InjectTLIMappings] Remove signext/zeroext attributes from vector functions. (PR #80546)

Yeting Kuo via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 22:39:14 PST 2024


================
@@ -34,6 +34,19 @@ STATISTIC(NumVFDeclAdded,
 STATISTIC(NumCompUsedAdded,
           "Number of `@llvm.compiler.used` operands that have been added.");
 
+static void removeIllegalAttributes(Function *Func, const FunctionType *FTy) {
+  // Vector types could not have attributes signext/zeroext.
----------------
yetingk wrote:

Done.

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


More information about the llvm-commits mailing list