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

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 02:46:58 PDT 2021


courbet accepted this revision.
courbet added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/include/llvm/Support/MachineValueType.h:1373
+      return mvt_range(MVT::FIRST_VALUETYPE,
+                       (MVT::SimpleValueType)(MVT::LAST_VALUETYPE + 1));
     }
----------------
Why not `VALUETYPE_SIZE` ?


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