News for hackers. Stuff that matters.
Re:Large Language Models for Compiler Optimization by sesuximo on Sunday September 17, 2023 @07:39PM (#37550470)
I wonder if you could get a correct compiler (or 100% emulation in their terms) by allowing it to choose optimization pass order rather than doing more arbitrary things
Re:Large Language Models for Compiler Optimization by boomanaiden154 on Sunday September 17, 2023 @07:45PM (#37550532)
I'm not sure a fully correct production optimizing compiler is that feasible. LLVM gets multiple miscompilation reports per week (from what I've haphazardly seen observing the issue tracker).

Theoretically changing the order of the passes in the optimization pipeline shouldn't cause any correctness issues, but the fact is that the ordering in the default compilation pipelines is the one that is most tested, so there will probably be bugs exposed when fuzzing the pass ordering.