diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-03-20 01:29:52 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-03-20 01:29:52 +0000 |
| commit | 0085ffb940848c6c354a935ed88f6e27c97a88dd (patch) | |
| tree | 2b5130667ee9be7baf3bced6140682953dcd7b80 /clang/lib/Basic/MemoryBufferCache.cpp | |
| parent | cbf04d95e6295cc35d85490fb03f7c83e9180dc5 (diff) | |
| download | llvm-0085ffb940848c6c354a935ed88f6e27c97a88dd.zip llvm-0085ffb940848c6c354a935ed88f6e27c97a88dd.tar.gz llvm-0085ffb940848c6c354a935ed88f6e27c97a88dd.tar.bz2 | |
[APInt] Don't initialize VAL to 0 in APInt constructors. Push it down to the initSlowCase and other init methods.
I'm not sure if zeroing VAL before writing pVal is really necessary, but at least one other place did it in code.
But by taking the store out of line, this reduces the opt binary by about 20k on my local x86-64 build.
llvm-svn: 298233
Diffstat (limited to 'clang/lib/Basic/MemoryBufferCache.cpp')
0 files changed, 0 insertions, 0 deletions
