[PATCH] D23347: [AVX512] Fix insertelement i1 lowering.
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 06:42:07 PDT 2016
delena added a comment.
clear -> clean
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:12644
@@ +12643,3 @@
+
+ unsigned NumElems = VecVT.getVectorNumElements();
+ SmallVector<int, 64> MaskVec(NumElems);
----------------
You can do this if IdxVal !=0 and Vec is defined.
Otherwise it can be done cheaper with shifts and "or"s
Repository:
rL LLVM
https://reviews.llvm.org/D23347
More information about the llvm-commits
mailing list