craig.topper added inline comments.

================
Comment at: clang/include/clang/Basic/riscv_vector.td:2763
+          unsigned MaxIndex = 
cast<StructType>(VTupleOperand->getType())->getNumElements();
+          Index = std::min(Index, MaxIndex);
+
----------------
Does SemaChecking already guarantee this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147917

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D147917: [11/... Craig Topper via Phabricator via cfe-commits

Reply via email to