[PATCH] D147373: [VectorCombine] fold vector reverse loops

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 1 05:33:22 PDT 2023


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/VectorCombine.cpp:361
+    return false;
+  ShuffleVectorInst *InnerRev = cast<ShuffleVectorInst>(InnerIst);
+  if (!InnerRev->isReverse())
----------------
dyn_cast without isa check?


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

https://reviews.llvm.org/D147373



More information about the llvm-commits mailing list