[llvm] [LoopVectorize] LLVM fails to vectorise loops with multi-bool varables (PR #89226)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 06:36:51 PDT 2024


================
@@ -635,14 +639,59 @@ RecurrenceDescriptor::isAnyOfPattern(Loop *Loop, PHINode *OrigPhi,
       return InstDesc(Select, Prev.getRecKind());
   }
 
+  SelectInst *SI = dyn_cast<SelectInst>(I);
----------------
SamTebbs33 wrote:

I think this change could do with some comments.

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


More information about the llvm-commits mailing list