Avoid unnecessary std::string creations during TypeSetByHwMode::writeToStream.
Found during investigations into PR28222
| Paths 
 |  Differential  D38174  
[TableGen] Return StringRef from ValueTypeByHwMode::getMVTName ClosedPublic Authored by RKSimon on Sep 22 2017, 5:22 AM. 
Details Summary Avoid unnecessary std::string creations during TypeSetByHwMode::writeToStream. Found during investigations into PR28222 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Sep 22 2017, 6:21 AM Closed by commit rL313983: [TableGen] Return StringRef from ValueTypeByHwMode::getMVTName (authored by RKSimon).  ·  Explain WhySep 22 2017, 6:34 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 116343 llvm/trunk/utils/TableGen/InfoByHwMode.h
 llvm/trunk/utils/TableGen/InfoByHwMode.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||