s-barannikov wrote: I'm afraid I won't be able to nail this with zero knowledge in X86 vectors. I spent hard time trying to debug with no success. I'll be happy if someone takes over. https://github.com/llvm/llvm-project/pull/66991