diff options
author | Dawid Jurczak <dawid_jurek@vp.pl> | 2022-07-12 15:00:27 +0200 |
---|---|---|
committer | Dawid Jurczak <dawid_jurek@vp.pl> | 2022-07-12 15:00:27 +0200 |
commit | 165240fe38b4199adab40e57b61e848cc169a83e (patch) | |
tree | 7cc3f6ce8a0bf8a1d7972f3e59ab464d57435755 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 81b62f7feb5de2fb37261974ffa0b2a43a2d83ee (diff) | |
download | llvm-165240fe38b4199adab40e57b61e848cc169a83e.zip llvm-165240fe38b4199adab40e57b61e848cc169a83e.tar.gz llvm-165240fe38b4199adab40e57b61e848cc169a83e.tar.bz2 |
[NFC] Fix compile time regression seen on some benchmarks after a630ea3003 commit
The goal of this change is fixing most of compile time slowdown seen after a630ea3003 commit on lencod and sqlite3 benchmarks.
There are 3 improvements included in this patch:
1. In getNumOperands when possible get value directly from SmallNumOps.
2. Inline getLargePtr by moving its definition to header.
3. In TBAAStructTypeNode::getField get all operands once instead taking operands in loop one after one.
Differential Revision: https://reviews.llvm.org/D129468
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions