paper-with-me

홈 › Papers

Exploring the Feasibility of End-to-End Large Language Model as a Compiler

2025-11-06 · Hongbin Zhang, Shihao Gao, Yang Liu, Mingjie Xing, Yanjun Wu, Chen Zhao arxiv

In recent years, end-to-end Large Language Model (LLM) technology has shown substantial advantages across various domains. As critical system software and infrastructure, compilers are responsible for transforming source code into target code. While LLMs have been leveraged to assist in compiler development and maintenance, their potential as an end-to-end compiler remains largely unexplored. This paper explores the feasibility of LLM as a Compiler (LaaC) and its future directions. We designed the CompilerEval dataset and framework specifically to evaluate the capabilities of mainstream LLMs in source code comprehension and assembly code generation. In the evaluation, we analyzed various errors, explored multiple methods to improve LLM-generated code, and evaluated cross-platform compilation capabilities. Experimental results demonstrate that LLMs exhibit basic capabilities as compilers but currently achieve low compilation success rates. By optimizing prompts, scaling up the model, and incorporating reasoning methods, the quality of assembly code generated by LLMs can be significantly enhanced. Based on these findings, we maintain an optimistic outlook for LaaC and propose practical architectural designs and future research directions. We believe that with targeted training, knowledge-rich prompts, and specialized infrastructure, LaaC has the potential to generate high-quality assembly code and drive a paradigm shift in the field of compilation.

📄 PDF Abstract BibTeX arXiv:2511.04132

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Learning to Combine Instructions in LLVM Compiler

2022-02-22 · Sandya Mannarswamy, Dibyendu Das

Instruction combiner (IC) is a critical compiler optimization pass, which replaces a sequence of instructions with an equivalent and optimized instruction sequence at basic block level. There can be thousands of instruct…

Compiler OptimizationMachine Translation

StreamBlocks: A compiler for heterogeneous dataflow computing (technical report)

2021-07-20 · Endri Bezati, Mahyar Emami, Jörn Janneck, James Larus

To increase performance and efficiency, systems use FPGAs as reconfigurable accelerators. A key challenge in designing these systems is partitioning computation between processors and an FPGA. An appropriate division of …

CPU

Meta Large Language Model Compiler: Foundation Models of Compiler Optimization

2024-06-27 · Chris Cummins, Volker Seeker, Dejan Grubisic, Baptiste Roziere 외

Large Language Models (LLMs) have demonstrated remarkable capabilities across a variety of software engineering and coding tasks. However, their application in the domain of code and compiler optimization remains underex…

Compiler OptimizationGPULanguage ModelingLanguage Modelling+1

LOOPerSet: A Large-Scale Dataset for Data-Driven Polyhedral Compiler Optimization

2025-10-11 · Massinissa Merouani, Afif Boudaoud, Riyadh Baghdadi arxiv

The advancement of machine learning for compiler optimization, particularly within the polyhedral model, is constrained by the scarcity of large-scale, public performance datasets. This data bottleneck forces researchers…

A Credit Assignment Compiler for Joint Prediction

2014-06-07 · NeurIPS 2016 12 · Kai-Wei Chang, He He, Hal Daumé III, John Langford 외

Many machine learning applications involve jointly predicting multiple mutually dependent output variables. Learning to search is a family of methods where the complex decision problem is cast into a sequence of decision…

Prediction