Fold adds and subtracts of zero immediately, instead of waiting
authorDan Gohman <gohman@apple.com>
Mon, 2 Jun 2008 22:27:05 +0000 (22:27 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 2 Jun 2008 22:27:05 +0000 (22:27 +0000)
commit33b625bee429986b2b3bd11108816d256df39334
treedbb00636abdd301a3c92edc91b557f4601e997c3
parent83ccc0a50c7c52b2d774c3f4d209a120800ecdc7
Fold adds and subtracts of zero immediately, instead of waiting
for dagcombine to do this.

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