commit | 83601e52b862d262ebaca2aaf6111bc4ed1544ca | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Thu Jun 21 17:51:44 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Thu Jun 21 17:51:44 2018 +0000 |
tree | 5094b98dc704c22ea66ac03224f385f832d2cde5 | |
parent | 7cf22ab2fa636acc34035ba9dda0d24e1ae6e9b7 [diff] |
[InstCombine] use constant pattern matchers with icmp+sext The previous code worked with vectors, but it failed when the vector constants contained undef elements. The matchers handle those cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335262 91177308-0d34-0410-b5e6-96231b3b80d8