https://github.com/gysit approved this pull request. LGTM modulo nits! The only easy way to test builders is using them in a pass/canonicalization AFAIK. Since there are not many uses of this op upstream that does probably not work here. https://github.com/llvm/llvm-project/pull/111664