commit | f89d78d7c7c93e83c0f19ecabc16cef4ba748d61 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Wed Sep 07 16:09:19 2005 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Wed Sep 07 16:09:19 2005 +0000 |
tree | 03e40a23e5b658a74300cc4d2b3dfeebd680f3fa | |
parent | c98d8236490666ad3f5c9224226bda12269fed77 [diff] |
Implement a common missing fold, (add (add x, c1), c2) -> (add x, c1+c2). This restores all of stanford to being identical with and without the dag combiner with the add folding turned off in sd.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23258 91177308-0d34-0410-b5e6-96231b3b80d8