File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11Partial Redundancy Elimination (PRE)
22====================================
33
4- Is a compiler optimization that eliminates
4+ PRE is a compiler optimization that eliminates
55expressions that are redundant on some but not necessarily all paths through a
6- program. In this project, we implemented a PRE optimization pass in LLVM
7- and measured results on a variety of applications. It's a powerful technique that subsumes
6+ program. We implement a PRE optimization pass in the LLVM framework, and evaluate the benefits
7+ on a variety of applications. PRE is a powerful technique that subsumes
88Common Subexpression Elimination (CSE) and Loop Invariant Code Motion (LICM), and hence has a potential to
99greatly improve performance.
1010
11- Commnads
11+ Commands
1212-------
1313
14- opts_lcm = "-mem2reg -loop-rotate -reassociate -lcm -mem2reg -simplifycfy;
14+ opts_lcm = "-mem2reg -loop-rotate -reassociate -lcm -mem2reg -simplifycfy;
1515
1616$opt -load $load_pass $opts_lcm $test.bc -o $test-lcm.bc
You can’t perform that action at this time.
0 commit comments