Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoopOptTutorial: Basic loop optimization template [STEP1] #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

etiotto
Copy link
Collaborator

@etiotto etiotto commented Oct 23, 2019

This is the first part of the Loop Optimization tutorial. The tutorial is divided into 5 parts/steps.

In this first part we start by introducing the basic framework required by a loop transformation pass in LLVM. We use the new pass manager to write our transformation.

kitbarton and others added 10 commits October 11, 2019 09:47
… it.

The pass has been added to the PassBuilder, in an arbitrary location.
The pass has also been added to the PassRegistry, so it can be called stand-alone from opt.
There are two test cases to demonstrate how loop passes traverse loop nests.

There is also a demo.sh script, in the root LLVM directory, that can be used to
configure and build LLVM for the tutorial. This script will evolve as the demo
is developed.
… it.

The pass has been added to the PassBuilder, in an arbitrary location.
The pass has also been added to the PassRegistry, so it can be called stand-alone from opt.
There are two test cases to demonstrate how loop passes traverse loop nests.

There is also a demo.sh script, in the root LLVM directory, that can be used to
configure and build LLVM for the tutorial. This script will evolve as the demo
is developed.
…od as main entry point into LoopSplit class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants