[all-commits] [llvm/llvm-project] 866c58: [NFC][exegesis] `SnippetGenerator::generateConfigu...
Roman Lebedev via All-commits
all-commits at lists.llvm.org
Thu Jan 5 10:39:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 866c587af3be956450556cd3c8399cfcf9f9bde6
https://github.com/llvm/llvm-project/commit/866c587af3be956450556cd3c8399cfcf9f9bde6
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp
Log Message:
-----------
[NFC][exegesis] `SnippetGenerator::generateConfigurations()`: don't forget to `reserve()`
Commit: 53ab564ecfc93984ded8cce26d210af9f828a49c
https://github.com/llvm/llvm-project/commit/53ab564ecfc93984ded8cce26d210af9f828a49c
Author: Roman Lebedev <lebedev.ri at gmail.com>
Date: 2023-01-05 (Thu, 05 Jan 2023)
Changed paths:
M llvm/include/llvm/Support/YAMLTraits.h
Log Message:
-----------
[NFC][YAMLTraits] Use `SmallString<>`+SSO when yamlizing non-strings
This gets rid of basically all temporary allocations
during YAML serialization of llvm-exegesis snippets,
we go from ~1.8M temporary allocations to 13k.
Compare: https://github.com/llvm/llvm-project/compare/4228ab009fa7...53ab564ecfc9
More information about the All-commits
mailing list