commit | e1acf346170fe87305345bdfeff93e9ac77ff1d0 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Dec 11 16:38:03 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Dec 11 16:38:03 2018 +0000 |
tree | 31e793821761a8325fadf6b95dd8b0313c0c75aa | |
parent | bcc30af6a16862b637ca7c01e7ea9249d45715c8 [diff] |
[InstCombine] try to convert x86 movmsk intrinsic to generic IR (PR39927) call iM movmsk(sext <N x i1> X) --> zext (bitcast <N x i1> X to iN) to iM This has the potential to create less-than-8-bit scalar types as shown in some of the test diffs, but it looks like the backend knows how to deal with that in these patterns. This is the simple part of the fix suggested in: https://bugs.llvm.org/show_bug.cgi?id=39927 Differential Revision: https://reviews.llvm.org/D55529 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348862 91177308-0d34-0410-b5e6-96231b3b80d8