[PATCH] D155786: [LV] Rename the Select[I|F]Cmp reduction pattern to [I|F]AnyOf. (NFC)

Mel Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 00:30:08 PDT 2023


Mel-Chen marked 11 inline comments as done.
Mel-Chen added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:4029-4032
       if (Op != Instruction::ICmp && Op != Instruction::FCmp) {
         ReducedPartRdx = Builder.CreateBinOp(
             (Instruction::BinaryOps)Op, RdxPart, ReducedPartRdx, "bin.rdx");
+      } else if (RecurrenceDescriptor::isAnyOfRecurrenceKind(RK))
----------------
Ayal wrote:
> 
https://github.com/llvm/llvm-project/commit/97cccdd9f3c5d250cf0031c84ec363c96fa94321


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155786/new/

https://reviews.llvm.org/D155786



More information about the llvm-commits mailing list