diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2017-06-22 06:47:41 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2017-06-22 06:47:41 +0000 |
commit | 2dac0b4d583f685691635448de73fdd0f6191582 (patch) | |
tree | 72323032aec0b2f4067bc3cf40263e6e40d489d7 /llvm/lib/Transforms | |
parent | 3c4933fcc6014e1f07d32ac35cd3c8513bc302f1 (diff) | |
download | bcm5719-llvm-2dac0b4d583f685691635448de73fdd0f6191582.tar.gz bcm5719-llvm-2dac0b4d583f685691635448de73fdd0f6191582.zip |
AVX-512: Lowering Masked Gather intrinsic - fixed a bug
Masked gather for vector length 2 is lowered incorrectly for element type i32.
The type <2 x i32> was automatically extended to <2 x i64> and we generated VPGATHERQQ instead of VPGATHERQD.
The type <2 x float> is extended to <4 x float>, so there is no bug for this type, but the sequence may be more optimal.
In this patch I'm fixing <2 x i32>bug and optimizing <2 x float> sequence for GATHERs only. The same fix should be done for Scatters as well.
Differential revision: https://reviews.llvm.org/D34343
llvm-svn: 305987
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions