https://github.com/adam-smnk commented: Looks good from perspective of infrastructure and overall flow Minor comments about the lowering logic itself I'll leave in-depth review of that to @Jianhui-Li https://github.com/llvm/llvm-project/pull/147375