ziliangzl wrote: > Looks to me like these could be implemented as folder instead? I just followed the same approach as AddIOp. Maybe implementing this as a TableGen pattern could simplify the code? https://github.com/llvm/llvm-project/pull/161057