Add a fold for add that exchanges it with a constant shift if possible, so
authorNate Begeman <natebegeman@mac.com>
Sat, 18 Feb 2006 02:43:25 +0000 (02:43 +0000)
committerNate Begeman <natebegeman@mac.com>
Sat, 18 Feb 2006 02:43:25 +0000 (02:43 +0000)
commit003a272319d8871492edf9cecc25d9275b872f99
tree5ea1d366337115474e300259870bcb8eb8cdadd7
parentdb41024a8545d3b5594ab9a5ccbe7277f5097e11
Add a fold for add that exchanges it with a constant shift if possible, so
that the shift may be more easily folded into other operations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26286 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp