srcarroll wrote: > Thanks, looks reasonable in general. Requesting changes for mixed low-level and rewriter API usage that is known to cause issues. I think i have resolved this now https://github.com/llvm/llvm-project/pull/94391