mlsanityData to 7 Oct 2026

LLM-Vectorizer: LLM-based Verified Loop Vectorizer

arXiv 2406.04693 ↗First posted 7 Jun 2024cs.SE cs.AI cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

Vectorization is a powerful optimization technique that significantly boosts the performance of high performance computing applications operating on large data arrays. Despite decades of research on auto-vectorization, compilers frequently miss opportunities to vectorize code. On the other hand, writing vectorized code manually using compiler intrinsics is still a complex, error-prone task that demands deep knowledge of specific architecture and compilers. In this paper, we evaluate the potential of large-language models (LLMs) to generate vectorized (Single Instruction Multiple Data) code from scalar programs that process individual array elements. We propose a novel finite-state machine multi-agents based approach that harnesses LLMs and test-based feedback to generate vectorized code. Our findings indicate that LLMs are capable of producing high performance vectorized code with run-time speedup ranging from 1.1x to 9.4x as compared to the state-of-the-art compilers such as Intel Compiler, GCC, and Clang. To verify the correctness of vectorized code, we use Alive2, a leading bounded translation validation tool for LLVM IR. We describe a few domain-specific techniques to improve the scalability of Alive2 on our benchmark dataset. Overall, our approach is able to verify 38.2% of vectorizations as correct on the TSVC benchmark dataset.

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 6 of its 27 references that are in the map. First posted on arXiv 7 Jun 2024.

Builds on

6 of 27 references.

References · 6

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2020Unsupervised Translation of Programming Languagescited by 262
  4. 2023Large Language Models for Compiler Optimizationcited by 52
  5. 2019NeuroVectorizer: End-to-End Vectorization with Deep Reinforcement Learningcited by 37
  6. 20243DGen: AI-Assisted Generation of Provably Correct Binary Format Parserscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 11; 2026: 12.

25 papers.

Sort:

By area:

  1. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  2. 2024Meta Large Language Model Compiler: Foundation Models of Compiler Optimizationcited by 39
  3. 2025The FM Agentcited by 20
  4. 2025Autocomp: A Powerful and Portable Code Optimizer for Tensor Acceleratorscited by 12
  5. 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learningcited by 10
  6. 2025ProofWright: Towards Agentic Formal Verification of CUDAcited by 8
  7. 2024UNO Arena for Evaluating Sequential Decision-Making Capability of Large Language Modelscited by 6
  8. 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
  9. 2025VecTrans: Enhancing Compiler Auto-Vectorization through LLM-Assisted Code Transformationscited by 4
  10. 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimizationcited by 4
  11. 2025PerfCoder: Large Language Models for Interpretable Code Performance Optimizationcited by 3
  12. 2025GPU Kernel Optimization Beyond Full Builds: An LLM Framework with Minimal Executable Programscited by 3
13 more
  1. 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimizationcited by 3
  2. 2026Agentic Harness for Real-World Compilerscited by 3
  3. 2026Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Modelscited by 2
  4. 2025LOOPRAG: Enhancing Loop Transformation Optimization with Retrieval-Augmented Large Language Modelscited by 1
  5. 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuningcited by 1
  6. 2025Instruction Set Migration at Warehouse Scalecited by 0
  7. 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
  8. 2026Rudder: Steering Prefetching in Distributed GNN Training using LLM Agentscited by 0
  9. 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Codecited by 0
  10. 2026Semantic-aware and Self-improving Program Reduction via Agentic Large Language Modelscited by 0
  11. 2026T-LLM Compiler: Trusted LLM-based Code Optimization and Verification Frameworkcited by 0
  12. 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systemscited by 0
  13. 2026Do AI Agents Understand Computer Architecture?cited by 0