https://github.com/arsenm requested changes to this pull request. This should not introduce a builtin or intrinsic. This can be purely done in tablegen patterns without the intermediate step https://github.com/llvm/llvm-project/pull/164847