================
@@ -6980,3 +6980,37 @@ void driver::applyOverrideOptions(SmallVectorImpl<const 
char *> &Args,
       ++S;
   }
 }
+
+/// Vectorize at all optimization levels greater than 1 except for -Oz.
+/// For -Oz the loop vectorizer is disabled, while the slp vectorizer is
+/// enabled.
+bool driver::shouldEnableVectorizerAtOLevel(const ArgList &Args,
----------------
DavidTruby wrote:

This should be able to go there I think; I'll move it if the RFC makes progress

https://github.com/llvm/llvm-project/pull/119718
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to