[PATCH] D23561: [RISCV 4/10] Add basic RISCV{InstrFormats, InstrInfo, RegisterInfo, }.td
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 21 12:08:37 PDT 2016
reames added a subscriber: reames.
================
Comment at: lib/Target/RISCV/RISCVRegisterInfo.td:18
@@ +17,3 @@
+// Ri - 64-bit integer registers
+ class Ri<bits<5> Enc, string n, list<string> alt = []> : Register<n> {
+ let HWEncoding{4-0} = Enc;
----------------
Minor: Ri might be overly terse. RegID? Or something which gives some context when seen elsewhere?
https://reviews.llvm.org/D23561
More information about the llvm-commits
mailing list