[all-commits] [llvm/llvm-project] b9f5b3: [TableGen] Remove explicit recursion in LexToken (...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jul 16 13:55:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9f5b39e04d22e9a6ad451bdc0779bed31015372
      https://github.com/llvm/llvm-project/commit/b9f5b39e04d22e9a6ad451bdc0779bed31015372
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/lib/TableGen/TGLexer.cpp

  Log Message:
  -----------
  [TableGen] Remove explicit recursion in LexToken (#143697)

When profiling a Release+Asserts build of llvm-tblgen I noticed that it
was recursing hundreds of times to lex a sequence of hundreds of space
characters.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list