[llvm] [ValueTypes] Remove MVT::MAX_ALLOWED_VALUETYPE. NFC (PR #93654)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 01:03:58 PDT 2024


================
@@ -68,10 +68,11 @@ void VTEmitter::run(raw_ostream &OS) {
       continue;
     auto Name = VT->getValueAsString("LLVMName");
     auto Value = VT->getValueAsInt("Value");
-    bool IsInteger = VT->getValueAsInt("isInteger");
-    bool IsFP = VT->getValueAsInt("isFP");
-    bool IsVector = VT->getValueAsInt("isVector");
-    bool IsScalable = VT->getValueAsInt("isScalable");
+    bool IsInteger = VT->getValueAsBit("isInteger");
+    bool IsFP = VT->getValueAsBit("isFP");
+    bool IsVector = VT->getValueAsBit("isVector");
+    bool IsScalable = VT->getValueAsBit("isScalable");
+    bool IsNormalValueType =  VT->getValueAsBit("isNormalValueType");
----------------
arsenm wrote:

Can just submit this separately 

https://github.com/llvm/llvm-project/pull/93654


More information about the llvm-commits mailing list