[clang] [Clang] support storage-class specifiers in C23 compound literals (PR #212559)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 04:31:15 PDT 2026
tbaederr wrote:
This has negative impact on the bytecode interpreter benchmarks:
| Test | Instructions | Delta |
|------|-------------|-------|
| [arithmetic](https://github.com/tbaederr/ce-bench/tree/main/tests/arithmetic.cpp) | 762.55M | +0.6% |
| [heap-alloc-char](https://github.com/tbaederr/ce-bench/tree/main/tests/heap-alloc-char.cpp) | 34398.54M | +1.9% |
| [sqlite3-embed](https://github.com/tbaederr/ce-bench/tree/main/tests/sqlite3-embed.cpp) | 122174.84M | +1.2% |
(I assume due to the calls to `CheckConstexprObject`).
It also has some negative impact on general compile times:
https://llvm-compile-time-tracker.com/compare.php?from=c7a69e6fc6d40c220f58487039f05fe6b9f5d16c&to=b648eae46017c755e2e422a3384844cfa24451a6&stat=instructions:u
did not investigate why that is though.
https://github.com/llvm/llvm-project/pull/212559
More information about the cfe-commits
mailing list