summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-01-09 04:21:12 +0000
committerCraig Topper <craig.topper@intel.com>2019-01-09 04:21:12 +0000
commit2fa8e2d8a8413044a3d6e2a5ad1cbd62b3b15928 (patch)
treeb8bacff083bd2556613272636a984446f883a0b9 /llvm/lib/CodeGen/MachinePipeliner.cpp
parent634a143d48d87ebb3f99b5ddde8f3343d46beb8c (diff)
downloadbcm5719-llvm-2fa8e2d8a8413044a3d6e2a5ad1cbd62b3b15928.tar.gz
bcm5719-llvm-2fa8e2d8a8413044a3d6e2a5ad1cbd62b3b15928.zip
[X86] Correct the MaskVT for avx512 gather/scatter intrinsics to use the min of the number of index and data elements.
When the result type is v2i64/v2f64 and the index element size is i32, the index vector has two unused elements making the type v4i32. The mask VT should match the number of memory accesses that will be made. This is consistent with the isel patterns used for the target independent gather/scatter intrinsic. llvm-svn: 350687
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud