[llvm] [ValueTypes][NFC] Generate EVT::getTypeForEVT from GenVT.inc (PR #96608)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 04:04:00 PDT 2024


================
@@ -14,6 +14,7 @@
 class ValueType<int size, int value> {
   string Namespace = "MVT";
   string LLVMName = NAME;
+  string LLVMTy = "";
----------------
arsenm wrote:

This is still here, but I guess only used for the scalar values? Could still move this switch into tablegen but I guess that's less important than the vector case 

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


More information about the llvm-commits mailing list