[PATCH] D133430: [SLP] Unify main/alternate selection for CmpInst instructions

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 11:07:06 PDT 2022


ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LG with a nit



================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:492
+/// same predicate as \p BaseCI, "as is" or with its operands and predicate
+/// swapped. false otherwise.
+static bool isCmpSameOrSwapped(const CmpInst *BaseCI, const CmpInst *CI) {
----------------
"swapped, false otherwise."


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133430



More information about the llvm-commits mailing list