diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-06-01 06:56:11 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-06-01 06:56:11 +0000 |
commit | ebe46f6c6f436872d96ee6b05350e38dd0ca62a7 (patch) | |
tree | 964fa8f602ac812529c2a3d49795028debbf412f | |
parent | 6d007c974797fee6ce31568c8f51e3b308ecbfcb (diff) | |
download | bcm5719-llvm-ebe46f6c6f436872d96ee6b05350e38dd0ca62a7.tar.gz bcm5719-llvm-ebe46f6c6f436872d96ee6b05350e38dd0ca62a7.zip |
[TableGen] Use StringRef to capture getValueAsString in a couple more places. NFC
llvm-svn: 304386
-rw-r--r-- | llvm/utils/TableGen/CodeGenRegisters.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/CodeGenRegisters.h b/llvm/utils/TableGen/CodeGenRegisters.h index 9366838c77c..1fcba8a135d 100644 --- a/llvm/utils/TableGen/CodeGenRegisters.h +++ b/llvm/utils/TableGen/CodeGenRegisters.h @@ -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; |