Skip to content

Commit

Permalink
Merge pull request #1 from tgangwani/master
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
tgangwani committed May 6, 2016
2 parents 0ebaa62 + 502d8c4 commit 7971e8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
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

0 comments on commit 7971e8f

Please sign in to comment.