[PATCH] D135564: [AArch64-SVE]: Force generating code compatible to streaming mode.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 04:13:22 PDT 2022


sdesmalen accepted this revision.
sdesmalen added a comment.

LGTM as well (please address nit before submitting)



================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:22476
     // "cast" fixed length vector to a scalable vector.
-    assert(useSVEForFixedLengthVectorVT(V.getValueType()) &&
+    assert(V.getValueType().isFixedLengthVector() && isTypeLegal(V.getValueType()) &&
            "Only fixed length vectors are supported!");
----------------
nit: Does this cross the 80-character limit? (please use clang-format to be sure)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135564



More information about the llvm-commits mailing list