diff options
author | Peter Klausler <pklausler@nvidia.com> | 2025-08-05 13:40:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-05 13:40:30 -0700 |
commit | 867602742cf392849b5f1cfc9038ad679333fd59 (patch) | |
tree | 208dcc5b3999416e2897c4f3517c5bf8be09df2b /llvm/lib/TextAPI/Architecture.cpp | |
parent | fc9a08078017c8a1ad812d01ed9a7d2066b31e07 (diff) | |
download | llvm-867602742cf392849b5f1cfc9038ad679333fd59.zip llvm-867602742cf392849b5f1cfc9038ad679333fd59.tar.gz llvm-867602742cf392849b5f1cfc9038ad679333fd59.tar.bz2 |
[flang] Minor speed-up to module file parsing (#152178)
Module files shouldn't ever produce parsing errors, and if they did in
the case of a badly-generated module file, the compiler will notice and
crash. So we can run the parser on module files with message deferral
enabled, and that saves time that would otherwise be spent generating
messages on failed parsing alternatives that are discarded anyway when
backtracking. It's not a big savings (single digit percentage on overall
compilation time for a big application with lots of modules), but worth
doing.
Diffstat (limited to 'llvm/lib/TextAPI/Architecture.cpp')
0 files changed, 0 insertions, 0 deletions