Scalar Replacement in the Presence of Multiple Write Accesses with Non-constant Reuse Distances

High-level synthesis (HLS) reduces design time of domain-specific accelerators from loop nests. Usually, naive usage of HLS leads to accelerators with insufficient performance, so very time-consuming manual optimizations of input programs are necessary in such cases. Scalar replacement is a promising automatic memory access optimization that removes redundant memory accesses. However, it cannot handle loops with multiple write accesses to the same array, which poses a severe limitation of its applicability. In addition, it is difficult to automatically apply scalar replacement to memory accesses with non-constant reuse distances. In this paper, we propose a novel memory access optimization technique that overcomes these existing limitations. Experimental results show that the proposed method achieves 2.14x performance gain on average with decreased total gate count of 5% for the benchmark programs which the state-of-the-art memory optimization techniques cannot optimize.

Authors

Institutions

Publication Details

Journal
IPSJ Transactions on System and LSI Design Methodology
Published
2025-01-01
DOI
https://doi.org/10.2197/ipsjtsldm.18.10
Primary Topic
Optimization and Search Problems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scalar Replacement in the Presence of Multiple Write Accesses with Non-constant Reuse Distances

Kenshu Seto
IPSJ Transactions on System and LSI Design Methodology
Optimization and Search Problems
article

Scalar Replacement in the Presence of Multiple Write Accesses with Non-constant Reuse Distances

Kenshu Seto
article en

Abstract

High-level synthesis (HLS) reduces design time of domain-specific accelerators from loop nests. Usually, naive usage of HLS leads to accelerators with insufficient performance, so very time-consuming manual optimizations of input programs are necessary in such cases. Scalar replacement is a promising automatic memory access optimization that removes redundant memory accesses. However, it cannot handle loops with multiple write accesses to the same array, which poses a severe limitation of its applicability. In addition, it is difficult to automatically apply scalar replacement to memory accesses with non-constant reuse distances. In this paper, we propose a novel memory access optimization technique that overcomes these existing limitations. Experimental results show that the proposed method achieves 2.14x performance gain on average with decreased total gate count of 5% for the benchmark programs which the state-of-the-art memory optimization techniques cannot optimize.

IPSJ Transactions on System and LSI Design MethodologyVol. 18(0)
Kumamoto University (JP)
Openalex Percentile: Top 84%
Optimization and Search Problems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Scalar Replacement in the Presence of Multiple Write Accesses with Non-constant Reuse Distances — Kenshu Seto · IPSJ Transactions on System and LSI Design Methodology (2025) | TGRS Research Map | TGRS