Superty wrote: There are tests in `mlir/unittests`. Could you add regression tests there? (I haven't read your fix yet.) Also, I'm in Cambridge UK too so if you're around I'd be curious to chat about what you're using the library for! https://github.com/llvm/llvm-project/pull/164437