davrec added inline comments.
================ Comment at: clang/lib/Lex/Lexer.cpp:3630-3632 do { - ++CurPtr; - } while (isHorizontalWhitespace(*CurPtr)); + ++CurOffset; + } while (isHorizontalWhitespace(BufferStart[CurOffset])); ---------------- davrec wrote: > ``` > for (isHorizontalWhitespace(BufferStart[++CurOffset]);;) > ; > ``` > might save a few instructions? Worth trying since this function is the main > perf-critical one. ^ Ignore, erroneous :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143142/new/ https://reviews.llvm.org/D143142 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits