-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tgangwani/master
Update README.md
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Partial Redundancy Elimination (PRE) | ||
==================================== | ||
|
||
Is a compiler optimization that eliminates | ||
PRE is a compiler optimization that eliminates | ||
expressions that are redundant on some but not necessarily all paths through a | ||
program. In this project, we implemented a PRE optimization pass in LLVM | ||
and measured results on a variety of applications. It's a powerful technique that subsumes | ||
program. We implement a PRE optimization pass in the LLVM framework, and evaluate the benefits | ||
on a variety of applications. PRE is a powerful technique that subsumes | ||
Common Subexpression Elimination (CSE) and Loop Invariant Code Motion (LICM), and hence has a potential to | ||
greatly improve performance. | ||
|
||
Commnads | ||
Commands | ||
------- | ||
|
||
opts_lcm = "-mem2reg -loop-rotate -reassociate -lcm -mem2reg -simplifycfy; | ||
opts_lcm = "-mem2reg -loop-rotate -reassociate -lcm -mem2reg -simplifycfy; | ||
|
||
$opt -load $load_pass $opts_lcm $test.bc -o $test-lcm.bc |