[PATCH] D114087: [SLP]Improve registering and merging of compatible shuffles.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 30 10:38:11 PST 2021
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6871
+ eraseInstruction(V);
+ if (auto *SI = dyn_cast<ShuffleVectorInst>(&In))
+ if (!NewMask.empty())
----------------
Can't we remove this dyn_cast thanks to the isa<> test above?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114087/new/
https://reviews.llvm.org/D114087
More information about the llvm-commits
mailing list