[llvm] [LV] Vectorization of compress idiom (PR #83467)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 12:05:49 PST 2024
================
@@ -4102,6 +4112,12 @@ bool LoopVectorizationCostModel::memoryInstructionCanBeWidened(
return true;
}
+bool LoopVectorizationCostModel::memoryInstructionUsesMonotonic(
+ Instruction *I, ElementCount VF) {
+ assert((isa<LoadInst, StoreInst>(I)) && "Invalid memory instruction");
----------------
alexey-bataev wrote:
Drop extra parens
https://github.com/llvm/llvm-project/pull/83467
More information about the llvm-commits
mailing list