aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-10-24 12:13:01 -0700
committerGitHub <noreply@github.com>2025-10-24 14:13:01 -0500
commit1df7f2baa9a8f9fcec90de486686766cc2fd2bb1 (patch)
tree237794179fc34ba08078d1d983cc5a2cb46a8708 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parenta377b8563428dd53cc33fdd4645d194db5f01397 (diff)
downloadllvm-1df7f2baa9a8f9fcec90de486686766cc2fd2bb1.zip
llvm-1df7f2baa9a8f9fcec90de486686766cc2fd2bb1.tar.gz
llvm-1df7f2baa9a8f9fcec90de486686766cc2fd2bb1.tar.bz2
[flang][runtime] Tweak GetNextNonBlank() performance (#164521)
When skipping blanks during input from an ASCII file, scan the buffered characters directly when possible rather than using the more general path. This adds complexity, but shaves a few percent off the runtime of a code that reads in millions of list-directed integers (best time over multiple runs goes from 17.56 to 16.84 sec).
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions