[PATCH] D114121: [SLP]Improve isFixedVectorShuffle and its use.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 09:20:31 PST 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4506
+                [](Value *V) {
+                  return isa<ExtractElementInst>(V) || isa<UndefValue>(V);
+                })) &&
----------------
Can we use "isa<ExtractElementInst,UndefValue>(V)" here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114121



More information about the llvm-commits mailing list