diff options
author | Reid Kleckner <rnk@google.com> | 2016-01-27 01:43:12 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-01-27 01:43:12 +0000 |
commit | 5b4637141eb4f1e1d01e58699f90541a480b5a96 (patch) | |
tree | b0625bbd2ce32dcc287a89f2e2746207a2f7785b /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | |
parent | 3075134739edc9cd16d5ca7b9a78d8b4d5fbff3e (diff) | |
download | bcm5719-llvm-5b4637141eb4f1e1d01e58699f90541a480b5a96.tar.gz bcm5719-llvm-5b4637141eb4f1e1d01e58699f90541a480b5a96.zip |
[llvm-tblgen] Avoid StringMatcher for GCC and MS builtin names
This brings the compile time of Function.cpp from ~40s down to ~4s for
me locally. It also shaves off about 400KB of object file size in a
release+asserts build.
I also realized that the AMDGPU backend does not have any GCC builtin
names to match, so the extra lookup was a no-op. I removed it to silence
a zero-length string table array warning. There should be no functional
change here.
This change really ends the story of PR11951.
llvm-svn: 258897
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions