• Paper: Finding Missed Code Size Optimizations in Compilers using LLMs

    From John R Levine@johnl@taugh.com to comp.compilers on Fri Jan 3 12:23:10 2025
    From Newsgroup: comp.compilers

    Two people from Meta/Facebook took some trivial programs, used LLMs to
    add code that should be optimized away, and looked for compiler
    crashes or suspicious increases in object code size. They found a
    bunch of optimization bugs.

    Previous code mutators have been large and complex, but this one using an
    LLM is 150 lines of code.

    https://arxiv.org/abs/2501.00655

    Regards,
    John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
    Please consider the environment before reading this e-mail. https://jl.ly
    --- Synchronet 3.21b-Linux NewsLink 1.2