[PATCH] D32017: [MVT][SVE] Scalable vector MVTs (1/3)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 05:16:12 PDT 2017


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM with one minor



================
Comment at: include/llvm/CodeGen/ValueTypes.h:314
+      assert(!(getVectorNumElements() & 1) &&
+             "Splitting vector, but not in half!");
+      return EVT::getVectorVT(Context, EltVT, EltCnt / 2);
----------------
Use EltCnt directly?


https://reviews.llvm.org/D32017





More information about the llvm-commits mailing list