================
@@ -470,6 +474,29 @@ int LoopVectorizationLegality::isConsecutivePtr(Type 
*AccessTy,
   return 0;
 }
 
+bool LoopVectorizationLegality::isCompressedPtr(Type *AccessTy, Value *Ptr,
+                                                BasicBlock *BB) const {
+  if (!EnableMonotonicPatterns)
+    return false;
----------------
MacDue wrote:

I've reworked things so this is now checked within `canVectorizeInstr()`.

https://github.com/llvm/llvm-project/pull/214491
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to