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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to