================
@@ -405,12 +405,12 @@ TransformationMode
llvm::hasUnrollAndJamTransformation(const Loop *L) {
}
TransformationMode llvm::hasVectorizeTransformation(const Loop *L) {
+ if (getBooleanLoopAttribute(L, "llvm.loop.vectorize.disable"))
+ return TM_SuppressedByUser;
+
std::optional<bool> Enable =
getOptionalBoolLoopAttribute(L, "llvm.loop.vectorize.enable");
----------------
madhur13490 wrote:
Done
https://github.com/llvm/llvm-project/pull/210932
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits