Files
clang-p2996/clang/lib/Driver/Driver.cpp
serge-sans-paille 6ad1b40951 Optimize OptTable::findNearest implementation and usage
When used to find an exact match, some extra context can be used to
totally cut some computations.

This saves 1% of the instruction count when pre processing sqlite3.c
through

valgrind --tool=callgrind ./bin/clang -E sqlite3.c -o/dev/null

Differential Revision: https://reviews.llvm.org/D142026
2023-01-19 14:16:29 +01:00

244 KiB