search for: creategatherscatt

Displaying 1 result from an estimated 1 matches for "creategatherscatt".

Did you mean: creategatherscatter
2016 Aug 21
2
LoopVectorize module - some possible enhancements
...llvm.org/docs/LangRef.html#llvm-masked-gather-intrinsics and scatter)? I see you have defined some methods that should use them like: - bool isLegalMaskedGather(Type *DataType); - void InnerLoopVectorizer::vectorizeMemoryInstruction(Instruction *Instr) which defines a bool CreateGatherScatter, etc I gave to clang a simple vector add C program with step/stride 2 with flag "-avx2", but the resulting vector code does NOT use gather nor scatter. - did you try to consider pathological cases of loops such as: for (int i = 0; i < N; i += 2) { C[i/...