News for hackers. Stuff that matters.
Re:Large Language Models for Compiler Optimization by JonChesterfield on Monday September 18, 2023 @08:13AM (#37555127)
3% code size reduction while changing semantics is borderline worthless*.

3% code size reduction without changing semantics would be more interesting but might still be a bad thing for performance.

*fast-math etc is a thing, where similar-enough output is fine

Re:Large Language Models for Compiler Optimization by cec on Monday September 18, 2023 @01:33PM (#37559240)
Hey Jon, we don't change semantics. We just choose optimization passes to run to match a particular input code. Agreed that code size wins could regress performance. We don't measure that yet, but will be looking into it next. There are some applications where codesize above-all-else is what to optimize for.