Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [InstCombine] 'C-(C2-X) --> X+(C-C2)' constant-fold | Roman Lebedev | 2019-05-31 | 1 | -2/+2 |
| | | | | | | | | | | It looks this fold was already partially happening, indirectly via some other folds, but with one-use limitation. No other fold here has that restriction. https://rise4fun.com/Alive/ftR llvm-svn: 362217 | ||||
* | [InstCombine] 'add (sub C1, X), C2 --> sub (add C1, C2), X' constant-fold | Roman Lebedev | 2019-05-31 | 1 | -18/+10 |
| | | | | | | https://rise4fun.com/Alive/qJQ llvm-svn: 362216 | ||||
* | [NFC][InstCombine] Copy add/sub constant-folding tests from codegen | Roman Lebedev | 2019-05-31 | 1 | -0/+536 |
Last three patterns are missed. llvm-svn: 362209 |