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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 22:07:39 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.
----------------
topperc wrote:

could not -> cannot

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


More information about the llvm-commits mailing list