profile
viewpoint

nadavrot/glow 1

Compiler for Neural Network hardware accelerators

nadavrot/BOLT 0

Binary Optimization and Layout Tool - A linux command-line utility used for optimizing performance of binaries

nadavrot/glow-old 0

Compiler for Neural Network hardware accelerators

fork nadavrot/BOLT

Binary Optimization and Layout Tool - A linux command-line utility used for optimizing performance of binaries

fork in 25 days

starteddtolnay/cxx

started time in 2 months

push eventllvm/llvm-project

Nadav Rotem

commit sha d54c252bc8a15bc80bb9f0a83b3bebc6d211144a

[Clang options] Optimize optionMatches() runtime by removing mallocs The method optionMatches() constructs 9865 std::string instances when comparing different options. Many of these instances exceed the size of the internal storage and force memory allocations. This patch adds an early exit check that eliminates most of the string allocations while keeping the code simple. Example inputs: Prefix: /, Name: Fr Prefix: -, Name: Fr Prefix: -, Name: fsanitize-address-field-padding= Prefix: -, Name: fsanitize-address-globals-dead-stripping Prefix: -, Name: fsanitize-address-poison-custom-array-cookie Prefix: -, Name: fsanitize-address-use-after-scope Prefix: -, Name: fsanitize-address-use-odr-indicator Prefix: -, Name: fsanitize-blacklist= Differential Revision: D85538

view details

push time in 2 months

push eventllvm/llvm-project

Nadav Rotem

commit sha df880b77302d2e12d988e620eba242defdd6d4a7

[StackProtector] Speed up RequiresStackProtector Speed up the method RequiresStackProtector by checking the intrinsic value of the call. The original code calls getName() that returns an allocating std::string on each check. This change removes about 96072 std::string instances when compiling sqlite3.c; The function was discovered with a Facebook-internal performance tool. Differential Revision: https://reviews.llvm.org/D84620

view details

push time in 3 months

more