[2602.18511] Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Models

[2602.18511] Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Models

arXiv - AI 4 min read Article

Summary

The paper presents IntOpt, an intent-driven IR optimizer that enhances program optimization by separating high-level intent from low-level transformations, achieving significant performance improvements over traditional methods.

Why It Matters

This research addresses the limitations of current compiler optimization techniques by introducing a new paradigm that enhances the efficiency and correctness of program transformations. As software complexity grows, effective optimization strategies become crucial for performance, making this work highly relevant for developers and researchers in the field of programming languages and AI.

Key Takeaways

  • IntOpt separates high-level optimization intent from low-level transformations.
  • Achieves 90.5% verified correctness and 2.660x average speedup on a 200-program test set.
  • Outperforms state-of-the-art LLM-based optimizers and modern compilers.
  • Introduces a three-stage process: intent formulation, refinement, and realization.
  • Addresses the pass coordination problem inherent in traditional optimization methods.

Computer Science > Programming Languages arXiv:2602.18511 (cs) [Submitted on 19 Feb 2026] Title:Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Models Authors:Lei Qiu, Zi Yang, Fang Lyu, Ming Zhong, Huimin Cui, Xiaobing Feng View a PDF of the paper titled Beyond Pass-by-Pass Optimization: Intent-Driven IR Optimization with Large Language Models, by Lei Qiu and 5 other authors View PDF HTML (experimental) Abstract:Modern compilers optimize programs through a sequence of modular passes over intermediate representations (IR). While this pass-by-pass paradigm offers engineering benefits, it suffers from a pass coordination problem: locally beneficial transformations may block more profitable optimizations in later stages. This limitation stems from the lack of an explicit notion of optimization intent, defined as a holistic strategy for coordinating multiple transformations toward a global performance objective. Recent LLM-based approaches formulate IR optimization as an end-to-end generation task, thereby avoiding the traditional pass-by-pass structure. However, optimization intent remains implicit in these methods, forcing models to jointly infer optimization strategy and generate low-level transformations, which limits both correctness and performance. We propose IntOpt, the first intent-driven IR optimizer that explicitly separates high-level optimization intent from low-level analysis and transformation. IntOpt organizes IR optimization...

Related Articles

Llms

[D] How's MLX and jax/ pytorch on MacBooks these days?

​ So I'm looking at buying a new 14 inch MacBook pro with m5 pro and 64 gb of memory vs m4 max with same specs. My priorities are pro sof...

Reddit - Machine Learning · 1 min ·
Llms

[R] 94.42% on BANKING77 Official Test Split with Lightweight Embedding + Example Reranking (strict full-train protocol)

BANKING77 (77 fine-grained banking intents) is a well-established but increasingly saturated intent classification benchmark. did this wh...

Reddit - Machine Learning · 1 min ·
The “Agony” or ChatGPT: Would You Let AI Write Your Wedding Speech?
Llms

The “Agony” or ChatGPT: Would You Let AI Write Your Wedding Speech?

As more Americans use AI chatbots like ChatGPT to compose their wedding vows, one expert asks: “Is the speech sacred to you?”

AI Tools & Products · 12 min ·
I tested Gemini on Android Auto and now I can't stop talking to it: 5 tasks it nails
Llms

I tested Gemini on Android Auto and now I can't stop talking to it: 5 tasks it nails

I didn't see much benefit for Google's AI - until now. Here are my favorite ways to use the new Gemini integration in my car.

AI Tools & Products · 7 min ·
More in Llms: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime