paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Reasoning about MLIR Semantics through Effects and Handlers

通过效应与处理器推理 MLIR 语义
ISSTA Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis2023匹配度 3/10 · 该论文关注 MLIR 的形式语义与效应处理器,属于程序语言/编译器基础设施方向,但与用户主攻的 LLM/Agent 静态分析、AI 辅助形式化验证、浮点程序分析及贝叶斯程序分析均无直接交集;仅因涉及 ML 编译相关 IR 与形式化而具有弱关联。引用 0 inbox
Pingshi Yu
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出基于效应处理器的 MLIR 语义框架,使方言语义可模块化、可组合地指定。

MLIR 是用于编译器中间表示开发的新框架,其核心是方言与优化可按需组合,从而支持跨领域共享 IR 抽象。随着 MLIR 在工业界快速采用,亟需与其灵活性和可扩展性相匹配的形式化语义技术。本文提出一种基于效应处理器(effect handlers)的 MLIR 语义框架,使各方言语义能够以模块化、可组合的方式指定,与 MLIR 自身的组合机制相对应。论文还讨论了基于该处理器式 MLIR 语义的若干后续研究方向。

问题
MLIR 允许方言与优化灵活组合,但缺少与其模块化、可扩展特性相匹配的形式化语义。
方法
提出以效应处理器为核心的 MLIR 语义框架,将方言语义模块化、可组合地指定,并与 MLIR 的组合机制平行对应。
评估
摘要未报告具体实现或实验评估,属于框架性与方向性工作,并讨论后续研究路线。
原文摘要(Abstract)

MLIR is a novel framework for developing intermediate representations (IRs) of compilers. At its core, MLIR is a framework for the specification of syntax fragments (dialects) and optimisations, which can be combined à−la−carte to form customised IRs. Through this, MLIR allows IR abstractions to be shared across different domains. With rapid adoption of MLIR across industry, techniques for formalised semantics which matches the flexibility and extensibility offered by MLIR are urgently needed. We propose a framework for MLIR semantics based on effect handlers, which allows for dialect semantics to be specified in a modular and composable way, parallel to MLIR. We also describe several research directions continuing on from handlers-based MLIR semantics.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{Yu23,
  title = {Reasoning about MLIR Semantics through Effects and Handlers},
  author = {Pingshi Yu},
  booktitle = {ISSTA},
  year = {2023},
  doi = {10.1145/3597926.3605239}
}