Lune

PLDI2026顶会

Redundant Array Computation Elimination

Zixuan Wang, Liang Yuan, Xianmeng Jiang, Kun Li, Junmin Xiao, Yunquan Zhang

摘要

Redundancy elimination is a key optimization direction, and loop nests are the main optimization target in modern compilers. Previous work on redundancy elimination of array computations in loop nests either targets specific computation patterns or fails to recognize redundancies with complex structures. This paper proposes RACE (Redundant Array Computation Elimination), a hash-based technique that utilizes a novel two-level scheme to identify the data reuse between array references and the computation redundancies between expressions, enabling hierarchical redundancy detection beyond pattern-specific methods. It traverses the expression trees in loop nests to detect redundancies hierarchically in linear time and generates efficient code with optimized auxiliary arrays that store redundant computation results. Furthermore, RACE supports the expression reassociation with various aggressive strategies to improve the redundancy opportunities. Experimental results demonstrate the effectiveness of RACE.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper1

  1. Exploiting Computation Reuse for Stencil AcceleratorsYuze Chi, Jason CongDAC 2020 · 11 次引用

相关 Paper

  1. Redundancy Elimination in Distributed Matrix ComputationZihao Chen, Baokun Han, Chen Xu, Weining Qian 等SIGMOD 2022 · 4 次引用
  2. Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 次引用
  3. ZeroSpy: exploring software inefficiency with redundant zerosXin You, Hailong Yang, Zhongzhi Luan, Depei Qian 等SC 2020 · 16 次引用
  4. IRHash: Efficient Multi-Language Compiler Caching by IR-Level HashingTobias Landsberg, Johannes Grunenberg, Christian Dietrich, Daniel LohmannUSENIX ATC 2025
  5. Optimizing Data Reuse for CGRA Mapping Using Polyhedral-based Loop TransformationsLiao Huang, Dajiang LiuDAC 2023 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖