diff options
author | serge-sans-paille <sguelton@mozilla.com> | 2022-11-21 16:01:32 +0100 |
---|---|---|
committer | serge-sans-paille <sguelton@mozilla.com> | 2022-11-30 14:35:53 +0100 |
commit | f607884a04b0ca06951227a01d00bc59b948d337 (patch) | |
tree | 6aab6dc486c474ceb737e1d980da091572f5127a /llvm/lib/CodeGen/CodeGen.cpp | |
parent | de13eeda11b665d2a5f13e523124cf7c8c9bedd9 (diff) | |
download | llvm-f607884a04b0ca06951227a01d00bc59b948d337.zip llvm-f607884a04b0ca06951227a01d00bc59b948d337.tar.gz llvm-f607884a04b0ca06951227a01d00bc59b948d337.tar.bz2 |
[clang] Speedup LineOffsetMapping::get
LineOffsetMapping::get is a critical function that consistently appears
in the top 5 more computation intensive functions when running the
preprocessor.
This change brings consistent speedup of ~.5% on, preprocessing time,
see
https://llvm-compile-time-tracker.com/compare.php?from=0745b0c0354a0c8e1fefb68a3876d15db6c2e27a&to=460f3f04dac025e6952d78fce104a88151508a29&stat=instructions:u
for detailed statistics.
Differential Revision: https://reviews.llvm.org/D138474
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions