[RISCV] Reduce repetitive codes in flw, fsw
authorShao-Ce SUN <shaoce@nj.iscas.ac.cn>
Fri, 24 Dec 2021 01:22:28 +0000 (09:22 +0800)
committerShao-Ce SUN <shaoce@nj.iscas.ac.cn>
Mon, 27 Dec 2021 01:29:35 +0000 (09:29 +0800)
commit70a98008eaf723ce2300fab4c3b60b344ce52672
tree8b9690b13ec02d78ac2edf9c6afd060399538fca
parent7924b3814f40747cafff7aec24e6b16fda02af44
[RISCV] Reduce repetitive codes in flw, fsw

Trying to improve code reuse in F,D,Zfh *.td files.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D116089
llvm/lib/Target/RISCV/RISCVInstrInfoD.td
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td