[PATCH] D149642: [RISCV] Support vreinterpret intrinsics between vector boolean type and m1 vector integer type

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 8 18:24:35 PDT 2023


craig.topper added inline comments.


================
Comment at: clang/include/clang/Basic/riscv_vector.td:2042
+
+          SmallVector<llvm::Value*, 2> Operands;
+          if (ResultType->isIntOrIntVectorTy(1)) {
----------------
Don't use SmallVector for a fixed number of items. You can use a plain array.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149642



More information about the cfe-commits mailing list