SC2023Top-tier venue
TrivialSpy: Identifying Software Triviality via Fine-grained and Dataflow-based Value Profiling
Xin You, Hailong Yang, Kelun Lei, Zhongzhi Luan, Depei Qian
Abstract
Trivial operations cause software inefficiencies that waste functional units and memory bandwidth for executing useless instructions. Although previous works have identified a significant amount of trivial operations in widely used programs, the proposed solutions only provide useful observations, other than actionable guidance to eliminate trivial operations for better performance. In this paper, we propose TrivialSpy - a fine-grained and dataflow-based value profiler to effectively identify software triviality with optimization potential estimation. With the help of dataflow analysis, TrivialSpy can detect software trivialities of heavy operation, trivial chain, and redundant backward slice. In addition, TrivialSpy can identify trivial breakpoints that combine multiple trivial conditions for more optimization opportunities. The evaluation results demonstrate TrivialSpy is capable of identifying software triviality in highly optimized programs. Based on the optimization guidance provided by TrivialSpy, we can achieve 52.09% performance speedup at maximum after eliminating trivial operations.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 1e6d3641-2cba-4d45-88fd-10fc2c916674Related papers
- ZeroSpy: exploring software inefficiency with redundant zerosXin You, Hailong Yang, Zhongzhi Luan, Depei Qian et al.SC 2020 · 16 citations
- VClinic: A Portable and Efficient Framework for Fine-Grained Value ProfilersXin You, Hailong Yang, Kelun Lei, Zhongzhi Luan et al.ASPLOS 2023 · 10 citations
- Zero-Value Code Specialization via Profile-Guided Control Data Flow AnalysisShaokang Du, Kelun Lei, Xin You, Hailong Yang et al.SC 2025 · 1 citation
- Boosting Path-Sensitive Value Flow Analysis Via Removal of Redundant SummariesYongchao Wang, Yuandao Cai, Charles ZhangICSE 2025 · 1 citation
- GRAPHSPY: Fused Program Semantic Embedding through Graph Neural Networks for Memory EfficiencyYixin Guo, Pengcheng Li, Yingwei Luo, Xiaolin Wang et al.DAC 2021 · 8 citations
