commit | d6ed0ff57aa2851559a231e35869523a205c1819 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Jul 06 21:01:26 2016 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Jul 06 21:01:26 2016 +0000 |
tree | 6ecc95aa321efaea9c50d2b7d0f1982ff4838830 | |
parent | a5ef55b509bd4bf3b4503d7eb1cda88de7f820c8 [diff] |
[InstCombine] use more specific pattern matchers; NFCI Follow-up from r274465: we don't need to capture the value in these cases, so just match the constant that we're looking for. m_One/m_Zero work with vector splats as well as scalars. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274670 91177308-0d34-0410-b5e6-96231b3b80d8