TPDE-LLVM: A 10-20x Faster LLVM Back-end

2025-09-03
TPDE-LLVM: A 10-20x Faster LLVM Back-end

The TPDE project has open-sourced its fast LLVM back-end, TPDE-LLVM, achieving a 10-20x speedup in compilation compared to the LLVM -O0 back-end on SPEC CPU 2017 benchmarks, with similar runtime performance and a 10-30% increase in code size. TPDE-LLVM currently supports x86-64 and AArch64 architectures and incorporates optimizations to LLVM-IR, such as removing constant expressions inside functions and limiting struct/array sizes. Future plans include broader LLVM-IR feature support, DWARF debug info, and improved register allocation.

Read more
Development

Clang Hardened Mode Proposal: Prioritizing Security Over Compatibility

2025-08-02
Clang Hardened Mode Proposal: Prioritizing Security Over Compatibility

The Clang team proposes a "hardened mode" to enhance the safety and security of C and C++ programs. This mode will unify existing security mechanisms, including enabling various compiler flags, predefined macros, and warnings, and adjusting diagnostic behavior to reduce false positives and prioritize security. The proposal explores several implementation approaches: a configuration file, a separate driver, and orthogonal flags, seeking community feedback on the optimal solution. This mode may break existing code, but the team believes this is a necessary trade-off for improved security, aiming for a low false positive rate.

Read more
Development