[llvm] [LV] Split checking if tail-folding is possible, collecting masked ops. (PR #77612)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 07:29:17 PDT 2024


================
@@ -1601,8 +1601,24 @@ bool LoopVectorizationLegality::prepareToFoldTailByMasking() {
 
   LLVM_DEBUG(dbgs() << "LV: can fold tail by masking.\n");
 
-  MaskedOp.insert(TmpMaskedOp.begin(), TmpMaskedOp.end());
   return true;
 }
 
+void LoopVectorizationLegality::prepareToFoldTailByMasking() {
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list