Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: John R Levine Newsgroups: comp.compilers Subject: Paper: Finding Missed Code Size Optimizations in Compilers using LLMs Date: Fri, 03 Jan 2025 12:23:10 -0500 Organization: Compilers Central Sender: news%iecc.com Approved: comp.compilers@iecc.com Message-ID: <25-01-001@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="11973"; mail-complaints-to="abuse@iecc.com" Keywords: paper, optimize, errors Posted-Date: 03 Jan 2025 12:26:12 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:3617 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