diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2016-11-09 00:13:11 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2016-11-09 00:13:11 +0000 |
| commit | 4e9d6cd35404b8804150c43ea7a8375f398664f4 (patch) | |
| tree | 30319fc59d401c82f6b9355ed032d3a49017ef50 /llvm/lib/Support/COPYRIGHT.regex | |
| parent | 99dc5feff144a4183a67d66833c51fc7f2444ff9 (diff) | |
| download | bcm5719-llvm-4e9d6cd35404b8804150c43ea7a8375f398664f4.tar.gz bcm5719-llvm-4e9d6cd35404b8804150c43ea7a8375f398664f4.zip | |
[InstCombine] fix profitability equation for max-of-nots transform
As the test change shows, we can increase the critical path by adding
a 'not' instruction, so make sure that we're actually removing an
instruction if we do this transform.
This transform could also cause us to miss folds of min/max pairs.
llvm-svn: 286315
Diffstat (limited to 'llvm/lib/Support/COPYRIGHT.regex')
0 files changed, 0 insertions, 0 deletions

