commit | 1f4d93bdb6e76e9a031a2573d686996c461b6e22 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Apr 25 15:59:23 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Apr 25 15:59:23 2018 +0000 |
tree | 5af7568cb2df18c697a201453c2baccb56af422c | |
parent | 538d0b3d18ba946bacc05a22aed8d86ce8595518 [diff] |
[InstCombine] add tests for select to logic folds; NFC As discussed in D45862, we want these folds sometimes because they're good improvements. But as we can see here, the current logic doesn't check uses and doesn't produce optimal code in all cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330837 91177308-0d34-0410-b5e6-96231b3b80d8