[llvm] [RISCV] Simplify PatSetCC_m and PatFprFprDynFrm_m (PR #68562)

Shao-Ce SUN via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 05:38:31 PDT 2023


sunshaoce wrote:

> I think we don't need `PatSetCC_m` and `PatFprFprDynFrm_m` any more since there is just one def. So the usages of them can be replaced by `PatSetCC` and `PatFprFprDynFrm`. Or, to simplify some code, they can be subclasses (with suitable names without postfix `_m`) of `PatSetCC` and `PatFprFprDynFrm`.

Because there are many similar classes and multiclass like this, I think if necessary, we can open another PR to deal with this issue.

https://github.com/llvm/llvm-project/pull/68562


More information about the llvm-commits mailing list