[all-commits] [llvm/llvm-project] a07498: [MIR] Speedup parsing of function with large numbe...

eleviant via All-commits all-commits at lists.llvm.org
Wed Jul 8 08:50:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a07498425099adbae38d3e8b01a0097fd6791c68
      https://github.com/llvm/llvm-project/commit/a07498425099adbae38d3e8b01a0097fd6791c68
  Author: Evgeny Leviant <eleviant at accesssoftek.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp

  Log Message:
  -----------
  [MIR] Speedup parsing of function with large number of basic blocks

Patch eliminates string length calculation when lexing a token. Speedup can be up to
1000x.

Differential revision: https://reviews.llvm.org/D83389




More information about the All-commits mailing list