[PATCH] D103247: [SLP]Allow to reorder nodes with >2 scalar values.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 08:14:21 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6571
+  SmallBitVector UsedIndices(Sz);
+  const unsigned BoundVal = Sz;
+  SmallVector<int> MaskedIndices;
----------------
Merge Sz and BoundVal?


================
Comment at: llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll:35
 ; CHECK-NEXT:    [[R7:%.*]] = insertelement <8 x float> [[R6]], float [[AB7]], i32 7
 ; CHECK-NEXT:    ret <8 x float> [[R7]]
+;
----------------
strip CHECK lines


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103247



More information about the llvm-commits mailing list