Should PGO automatically compile hot code O3 and cold code Oz?
Rust Internals [Unofficial]
June 19, 2026
Apparently "There is already an LLVM option to do this (-mllvm -pgo-cold-func-opt=optsize, or minsize for -Oz behavior)." -- Should PGO automatically compile hot code O3 and cold code Os? - IR & Optimizations - LLVM Discussion Forums
Discussion in the ATmosphere