[PATCH] D23561: [RISCV 4/10] Add basic RISCV{InstrFormats, InstrInfo, RegisterInfo, }.td

David Chisnall via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 06:15:24 PDT 2016


theraven added a comment.

Comments inline.


================
Comment at: lib/Target/RISCV/RISCV.td:23
@@ +22,3 @@
+
+def : ProcessorModel<"RV64I", NoSchedModel, [Feature64Bit]>;
+
----------------
Should these not be `Processor`, rather than `ProcessorModel`.  I was under the impression that `Processor` is intended for generic families, whereas `ProcessorModel` was intended for specific microarchitectures.

It would be nice to have Rocket as a specific `ProcessorModel` here.  It may be in a later review, but we should probably also have `SubtargetFeature` flags for floating point, atomics, and so on here too.


https://reviews.llvm.org/D23561





More information about the llvm-commits mailing list