[PATCH] D103884: [ValueTypes][RISCV] Cap RVV fixed-length vectors by size

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 10:13:53 PDT 2021


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

LGTM



================
Comment at: llvm/include/llvm/Support/MachineValueType.h:73
 
-      v1i8 = 26,   //   1 x i8
-      v2i8 = 27,   //   2 x i8
-      v4i8 = 28,   //   4 x i8
-      v8i8 = 29,   //   8 x i8
-      v16i8 = 30,  //  16 x i8
-      v32i8 = 31,  //  32 x i8
-      v64i8 = 32,  //  64 x i8
-      v128i8 = 33, // 128 x i8
-      v256i8 = 34, // 256 x i8
-
-      v1i16 = 35,   //   1 x i16
-      v2i16 = 36,   //   2 x i16
-      v3i16 = 37,   //   3 x i16
-      v4i16 = 38,   //   4 x i16
-      v8i16 = 39,   //   8 x i16
-      v16i16 = 40,  //  16 x i16
-      v32i16 = 41,  //  32 x i16
-      v64i16 = 42,  //  64 x i16
-      v128i16 = 43, // 128 x i16
-      v256i16 = 44, // 256 x i16
-
-      v1i32 = 45,    //    1 x i32
-      v2i32 = 46,    //    2 x i32
-      v3i32 = 47,    //    3 x i32
-      v4i32 = 48,    //    4 x i32
-      v5i32 = 49,    //    5 x i32
-      v8i32 = 50,    //    8 x i32
-      v16i32 = 51,   //   16 x i32
-      v32i32 = 52,   //   32 x i32
-      v64i32 = 53,   //   64 x i32
-      v128i32 = 54,  //  128 x i32
-      v256i32 = 55,  //  256 x i32
-      v512i32 = 56,  //  512 x i32
-      v1024i32 = 57, // 1024 x i32
-      v2048i32 = 58, // 2048 x i32
-
-      v1i64 = 59,   //   1 x i64
-      v2i64 = 60,   //   2 x i64
-      v4i64 = 61,   //   4 x i64
-      v8i64 = 62,   //   8 x i64
-      v16i64 = 63,  //  16 x i64
-      v32i64 = 64,  //  32 x i64
-      v64i64 = 65,  //  64 x i64
-      v128i64 = 66, // 128 x i64
-      v256i64 = 67, // 256 x i64
-
-      v1i128 = 68, //  1 x i128
-
+      v1i8 = 26,    //    1 x i8
+      v2i8 = 27,    //    2 x i8
----------------
Hopefully D103893 goes in today and restores the custom formatting we had on this file.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103884



More information about the llvm-commits mailing list