commit | 2a632aa1b6335f25136820b4dc6dff0390232e25 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Sat Sep 01 15:08:59 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Sat Sep 01 15:08:59 2018 +0000 |
tree | 06557bf700e06cbd86cee449ed54cf0ca123e949 | |
parent | 001bbba7fece958ab8c6870f1b7caa2f7407c46c [diff] |
[InstCombine] simplify code for 'or' fold This is no-outwardly-visible-change intended, so no test. But the code is smaller and more efficient. The check for a 'not' op is intended to avoid the expensive value tracking call when it should not be necessary, and it might prevent infinite looping when we resurrect: rL300977 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341280 91177308-0d34-0410-b5e6-96231b3b80d8