diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-11-22 07:53:48 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-11-22 07:53:48 +0000 |
commit | 860a7b790154718fa509e81a70f10435719b8a5a (patch) | |
tree | c9de6869d0257096d5ac1751b6123868db281b17 /llvm/lib/Target/X86/X86ISelLowering.cpp | |
parent | c1e7b3f6cac83a304c683a55ad22de40da144eaa (diff) | |
download | bcm5719-llvm-860a7b790154718fa509e81a70f10435719b8a5a.tar.gz bcm5719-llvm-860a7b790154718fa509e81a70f10435719b8a5a.zip |
[llvm-tblgen] - Stop using std::string in RecordKeeper.
RecordKeeper::getDef() is a hot place, it shows up in profiling
and it creates std::string instance for each search in RecordMap
though RecordKeeper::RecordMap can use StringRef as a key
instead to avoid that. Patch do that change.
Differential revision: https://reviews.llvm.org/D40170
llvm-svn: 318822
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions