[PATCH] D103251: [NFC] Fix semantic discrepancy for MVT::LAST_VALUETYPE

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 15:24:48 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/include/llvm/Support/MachineValueType.h:39
       // ValueTypes.td as well!
-      Other          =   1,   // This is a non-standard value
-      i1             =   2,   // This is a 1 bit integer value
-      i8             =   3,   // This is an 8 bit integer value
-      i16            =   4,   // This is a 16 bit integer value
-      i32            =   5,   // This is a 32 bit integer value
-      i64            =   6,   // This is a 64 bit integer value
-      i128           =   7,   // This is a 128 bit integer value
+      Other = 1, // This is a non-standard value
+      i1 = 2,    // This is a 1 bit integer value
----------------
gchatelet wrote:
> Unfortunately the Linter forced me to reformat this whole section.
I really would have rather put clang-format off/on directives around this. We've been manually formatting this for a very long time because it makes it much easier to see and increment the numbers when new types are added.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103251



More information about the llvm-commits mailing list