mlsanityData to 14 Oct 2026

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

arXiv 2511.04132 ↗First posted 6 Nov 2025cs.LGcited by 0

Not on the map. Why?

Abstract (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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 42 references that are in the map. First posted on arXiv 6 Nov 2025.

Builds on

24 of 42 references.

References · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  6. 2023VisionLLM: Large Language Model is also an Open-Ended Decoder for Vision-Centric Taskscited by 501
  7. 2019SPoC: Search-based Pseudocode to Codecited by 176
  8. 2023LLM4Drive: A Survey of Large Language Models for Autonomous Drivingcited by 136
  9. 2023InferFix: End-to-End Program Repair with LLMscited by 114
  10. 2023Large Language Models for Compiler Optimizationcited by 52
  11. 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
  12. 2024LLM4Decompile: Decompiling Binary Code with Large Language Modelscited by 39
12 more
  1. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
  2. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
  3. 2023Ranking LLM-Generated Loop Invariants for Program Verificationcited by 33
  4. 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
  5. 2023End-to-End Speech Recognition Contextualization with Large Language Modelscited by 22
  6. 2023LLM4VV: Developing LLM-Driven Testsuite for Compiler Validationcited by 15
  7. 2022TLP: A Deep Learning-based Cost Model for Tensor Program Tuningcited by 14
  8. 2021Learning C to x86 Translation: An Experiment in Neural Compilationcited by 12
  9. 2023Adapting Large Language Model with Speech for Fully Formatted End-to-End Speech Recognitioncited by 12
  10. 2023ComPile: A Large IR Dataset from Production Sourcescited by 10
  11. 2021Neural Architecture Search as Program Transformation Explorationcited by 8
  12. 2024LLM-Aided Compilation for Tensor Acceleratorscited by 8

Built on by

Not cited yet.