Lune

PLDI2026Top-tier venue

Redundant Array Computation Elimination

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Exploiting Computation Reuse for Stencil AcceleratorsYuze Chi, Jason CongDAC 2020 · 11 citations

Related papers

  1. Redundancy Elimination in Distributed Matrix ComputationZihao Chen, Baokun Han, Chen Xu, Weining Qian et al.SIGMOD 2022 · 4 citations
  2. Accurate Static Data Race Detection for CEmerson Sales, Omar Inverso, Emilio TuostoFM 2024 · 1 citation
  3. ZeroSpy: exploring software inefficiency with redundant zerosXin You, Hailong Yang, Zhongzhi Luan, Depei Qian et al.SC 2020 · 16 citations
  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 citations
Dusk over the sea between two cliffs drawn in fine vertical lines