[PATCH] D107284: [LoopVectorize] Add support for replication of more intrinsics with scalable vectors

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 09:54:09 PDT 2021


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:8965
+  // them here.
+  if (!IsUniform && isa<IntrinsicInst>(I)) {
+    Intrinsic::ID ID = getVectorIntrinsicIDForCall(cast<IntrinsicInst>(I), TLI);
----------------
Should this directly be guarded by `isScalable`? Would also be good to mention that this inly applies to scalable vectors and why it is needed up front here.


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

https://reviews.llvm.org/D107284



More information about the llvm-commits mailing list