mlsanityData to 24 Nov 2026

MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning

arXiv 2611.14881 ↗Submitted 11 Nov 2026cs.PL cs.AI cs.LGcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

In recent years, large language models (LLMs) have become increasingly popular in software engineering and have performed well on different programming tasks. However, it is still difficult to know whether these models truly understand program behavior or whether they mainly rely on patterns learned from their training data. This distinction is particularly important for intermediate representations (IRs), where operations, dataflow, and execution semantics are explicitly represented. In this paper, we introduce MLIRBench, a benchmark for evaluating how LLMs reason about MLIR programs. MLIRBench uses a multi-agent pipeline to generate program mutations, validate their behavior through execution, and construct reasoning tasks from torch and linalg program pairs. The dataset contains 1,768 validated pairs, including 888 linalg pairs and 880 torch pairs, labeled as EQUIV, DIVERGE, or ERROR. We evaluated nine models, including five open-weight and four proprietary models. Gemini 3.1 Pro achieved the highest hard-label accuracy of 92.65% across all 1,768 pairs, counting unsuccessful predictions as incorrect. Across its 1,768 scored predictions, it achieved an aggregate score of 74.18 and a judge-assigned result-behavior score of 5.04/10. These results show that strong semantic classification does not necessarily imply accurate prediction of detailed execution behavior, highlighting a gap in current LLM reasoning over compiler IRs. By exposing this gap through execution-validated program pairs, MLIRBench provides a reproducible foundation for studying semantic reasoning over compiler IRs and related tasks such as program repair and semantic classification.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 16 of its 40 references that are in the map. Submitted 11 Nov 2026.

Builds on

16 of 40 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking18 Feb
  2. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar

Other references · 14

  1. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  6. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,428
  7. 2023Large Language Models are not Fair Evaluatorscited by 1,204
  8. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 337
  9. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 279
  10. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 55
  11. 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 43
  12. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 38
2 more
  1. 2024Mutation-based Consistency Testing for Evaluating the Code Understanding Capability of LLMscited by 7
  2. 2024Hidden in Plain Sight: Exploring Chat History Tampering in Interactive Language Modelscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
  2. 2025Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination
  3. 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
  4. 2023ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Code
  5. 2026Evaluating the Formal Reasoning Capabilities of Large Language Models through Chomsky Hierarchy
  6. 2025OckBench: Measuring the Efficiency of LLM Reasoning
  7. 2025Can LLMs Reason About Program Semantics? A Comprehensive Evaluation of LLMs on Formal Specification Inference
  8. 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks