marbre wrote: Thanks for working on this! To make this more useful, I think the subscript op should also be usable on !emitc.ptr pointing to arrays. https://github.com/llvm/llvm-project/pull/84783