arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.13261cs.NEcs.AI
收藏

Shackleton框架下优化LLVM传递序列的遗传改进

Genetic Improvement in the Shackleton Framework for Optimizing LLVM Pass Sequences

Johns Hopkins University(约翰斯·霍普金斯大学);Arm Ltd.(安谋有限公司);Michigan State University(密歇根州立大学)

Shuyue Stella Li, Hannah Peeler, Andrew N. Sloss, Kenneth N. Reid, Wolfgang Banzhaf

摘要:

遗传改进是一种搜索技术,旨在改进问题的给定可接受解决方案。在本文中,我们提出了新的使用遗传改进,以找到特定问题的优化LLVM通过序列。我们开发了一个通过级补丁表示的线性遗传编程框架,沙克尔顿,发展的修改,以适用于默认的优化通过序列。与默认代码生成选项中的-O3优化级别相比,我们的GI改进解决方案在运行时优化的平均值为3.7%。建议的GI方法提供了一种自动的方式来找到一个特定问题的优化序列,提高了一般的解决方案,没有任何专业领域的知识。在本文中,我们讨论了沙克尔顿框架中的GI功能的优点和局限性,并提出了我们的结果。

英文摘要:

Genetic improvement is a search technique that aims to improve a given acceptable solution to a problem. In this paper, we present the novel use of genetic improvement to find problem-specific optimized LLVM pass sequences. We develop a pass-level patch representation in the linear genetic programming framework, Shackleton, to evolve the modifications to be applied to the default optimization pass sequences. Our GI-evolved solution has a mean of 3.7% runtime improvement compared to the -O3 optimization level in the default code generation options which optimizes on runtime. The proposed GI method provides an automatic way to find a problem-specific optimization sequence that improves upon a general solution without any expert domain knowledge. In this paper, we discuss the advantages and limitations of the GI feature in the Shackleton Framework and present our results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑