[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 06:25:30 PDT 2024


================
@@ -29,6 +32,54 @@ class VTEmitter {
 
 } // End anonymous namespace.
 
+std::string VTtoGetLLVMTyString(const Record *VT) {
----------------
arsenm wrote:

static. Could also avoid the temp string if you just directly write to a passed in ostream 

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


More information about the llvm-commits mailing list