diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-01-19 21:50:18 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-01-19 21:50:18 +0000 |
| commit | 411336fe0482a3fc10b97369a52ea552eff7d66d (patch) | |
| tree | 3320983366648a5e953e8da32831a5454acac441 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 2547f05be8ee90312febd145d35e6a9d8962676d (diff) | |
| download | bcm5719-llvm-411336fe0482a3fc10b97369a52ea552eff7d66d.tar.gz bcm5719-llvm-411336fe0482a3fc10b97369a52ea552eff7d66d.zip | |
Add two optimizations. The first folds (X+Y)-X -> Y
The second folds operations into selects, e.g. (select C, (X+Y), (Y+Z))
-> (Y+(select C, X, Z)
This occurs a few times across spec, e.g.
select add/sub
mesa: 83 0
povray: 5 2
gcc 4 2
parser 0 22
perlbmk 13 30
twolf 0 3
llvm-svn: 19706
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions

