[PATCH] D79700: [SVE] Ignore scalable vectors in InterleavedLoadCombinePass

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 09:39:53 PDT 2020


ctetreau added inline comments.


================
Comment at: llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp:788
                              const DataLayout &DL) {
-    VectorType *ArgTy = dyn_cast<VectorType>(SVI->getOperand(0)->getType());
-    assert(ArgTy && "ShuffleVector Operand is not a VectorType");
+    FixedVectorType *ArgTy =
+        dyn_cast<FixedVectorType>(SVI->getOperand(0)->getType());
----------------
should just cast<>()


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79700





More information about the llvm-commits mailing list