https://github.com/joker-eph requested changes to this pull request. I believe the intent is that populateRegionBranchOpInterfaceCanonicalizationPatterns should handle this. We need to investigate why it isn't the case. https://github.com/llvm/llvm-project/pull/191085