We should consolidate the operand counting and ordering into
RISCVBaseInfo.h and stop spreading it around.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
100% agreed, thank you. FWIW I think there's scope to do something similar for our ISD nodes.
Comment Actions
LGTM
Once this lands, there's one place in operand printing which can probably use the SEW version to simplify some code. I'd planned on doing this myself, just got focused on something else and hadn't gotten to this yet.