Genetic Improvement in the Shackleton Framework for Optimizing LLVM Pass Sequences

04/28/2022
by   Shuyue Stella Li, et al.
0

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 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.

READ FULL TEXT

page 1

page 2

page 3

research
08/28/2023

Target-independent XLA optimization using Reinforcement Learning

An important challenge in Machine Learning compilers like XLA is multi-p...
research
10/09/2018

Positional Cartesian Genetic Programming

Cartesian Genetic Programming (CGP) has many modifications across a vari...
research
02/24/2000

Genetic Algorithms for Extension Search in Default Logic

A default theory can be characterized by its sets of plausible conclusio...
research
03/07/2000

Description of GADEL

This article describes the first implementation of the GADEL system : a ...
research
05/15/2021

FOGA: Flag Optimization with Genetic Algorithm

Recently, program autotuning has become very popular especially in embed...
research
09/29/2021

Industrial Application of Artificial Intelligence to the Traveling Salesperson Problem

In this paper we discuss the application of AI and ML to the exemplary i...
research
05/23/2002

Aging, double helix and small world property in genetic algorithms

Over a quarter of century after the invention of genetic algorithms and ...

Please sign up or login with your details

Forgot password? Click here to reset