[PATCH] D43916: Named VReg support for MIR

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 04:28:29 PDT 2018


thegameg added inline comments.


================
Comment at: lib/CodeGen/MIRParser/MIParser.cpp:145
+  /// Maps from virtual register names to virtual registers.
+  StringMap<unsigned> Names2VRegs;
   /// Maps from register mask names to register masks.
----------------
I still think this should be merged with `VRegInfosNamed` in this patch, and end up with something like:

`DenseMap<std::string, VRegInfo*> VRegInfosNamed;`


Repository:
  rL LLVM

https://reviews.llvm.org/D43916





More information about the llvm-commits mailing list