[AVX512] Adding new patterns for extract_subvector of vXi1
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 31 Oct 2017 10:00:19 +0000 (10:00 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Tue, 31 Oct 2017 10:00:19 +0000 (10:00 +0000)
commit9e58831cb868c59036fcd4d935ef6f08627c4888
tree4786f0d64809cf20805a91b882af3d96102412f3
parentf66a59ee88f69b8ed76b5a31ed930a42b30c30e7
[AVX512] Adding new patterns for extract_subvector of vXi1

extract subvector of vXi1 from vYi1 is poorly supported by LLVM and most of the time end with an assertion.
This patch fixes this issue by adding new patterns to the TD file.

Reviewers:
1. guyblank
2. igorb
3. zvi
4. ayman
5. craig.topper

Differential Revision: https://reviews.llvm.org/D39292

Change-Id: Ideb4d7e946c8d40cfce2920891f2d89fe64c58f8
llvm-svn: 316981
llvm/lib/Target/X86/X86InstrAVX512.td