[PATCH] D108136: [LoopVectorize] Permit vectorisation of more select(cmp(), X, Y) reduction patterns

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 25 08:57:18 PDT 2021


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:9243
+      if (RecurrenceDescriptor::isMinMaxRecurrenceKind(Kind) ||
+          RecurrenceDescriptor::isSelectCmpRecurrenceKind)
         RecipeBuilder.recordRecipeOf(cast<Instruction>(R->getOperand(0)));
----------------
RecurrenceDescriptor::isSelectCmpRecurrenceKind(Kind)) {

+ any test for this code path?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108136



More information about the llvm-commits mailing list