]> granicus.if.org Git - llvm/commitdiff
[TableGen] Use StringRef to capture getValueAsString in a couple more places. NFC
authorCraig Topper <craig.topper@gmail.com>
Thu, 1 Jun 2017 06:56:11 +0000 (06:56 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 1 Jun 2017 06:56:11 +0000 (06:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304386 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenRegisters.h

index 9366838c77cd0f766c7b476ed293dfd2137f6f36..1fcba8a135d184dcbadf6f2afac120f1262a614d 100644 (file)
@@ -308,13 +308,13 @@ namespace llvm {
 
   public:
     unsigned EnumValue;
-    std::string Namespace;
+    StringRef Namespace;
     SmallVector<MVT::SimpleValueType, 4> VTs;
     unsigned SpillSize;
     unsigned SpillAlignment;
     int CopyCost;
     bool Allocatable;
-    std::string AltOrderSelect;
+    StringRef AltOrderSelect;
     uint8_t AllocationPriority;
     /// Contains the combination of the lane masks of all subregisters.
     LaneBitmask LaneMask;