summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-19 21:50:18 +0000
committerChris Lattner <sabre@nondot.org>2005-01-19 21:50:18 +0000
commit411336fe0482a3fc10b97369a52ea552eff7d66d (patch)
tree3320983366648a5e953e8da32831a5454acac441 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent2547f05be8ee90312febd145d35e6a9d8962676d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud