HomePhabricator

[MIR] Speedup parsing of function with large number of basic blocks

Authored by evgeny777 on Jul 8 2020, 8:50 AM.

Description

[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

Details

Committed
evgeny777Jul 8 2020, 8:50 AM
Differential Revision
D83389: [MIR] Speedup parsing (up to 1000x+)
Parents
rG470bf7b5a297: [Preallocated] Add @llvm.call.preallocated.teardown
Branches
Unknown
Tags
Unknown