harrisonGPU wrote: > The logic seems reasonable for plain vector, but I'm not sure about a nested vector. Can you add tests as well? Thanks, I have added two tests about nested vector. https://github.com/llvm/llvm-project/pull/166132