aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Architecture.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-08-05 13:40:30 -0700
committerGitHub <noreply@github.com>2025-08-05 13:40:30 -0700
commit867602742cf392849b5f1cfc9038ad679333fd59 (patch)
tree208dcc5b3999416e2897c4f3517c5bf8be09df2b /llvm/lib/TextAPI/Architecture.cpp
parentfc9a08078017c8a1ad812d01ed9a7d2066b31e07 (diff)
downloadllvm-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