================ ---------------- hanhanW wrote: I'd interleave the `arith.constant` and `vector.insert`, so it is clearer what the values are in `%idx`. https://github.com/llvm/llvm-project/pull/187071