[PATCH] D16755: AVX512: fix mask handling for gather/scatter/prefetch
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 31 10:21:27 PST 2016
delena added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:16486
@@ -16485,1 +16485,3 @@
+ if (isAllOnesConstant(Mask))
+ return DAG.getTargetConstant(1, dl, MaskVT);
----------------
Why do you need all-ones and all-zeroes. If the mask is all-zero you don't need any scatter. What happens if the mask is a constant - a mix ones and zeroes?
Repository:
rL LLVM
http://reviews.llvm.org/D16755
More information about the llvm-commits
mailing list