Commit fb97316b authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Add a common base class for RVInstR variations. NFC

We have multiple variations of InstrFormatR that pack different
fields into the upper 7 bits. The other 25 bits are all the same.

Add base class to capture this commonality and allow subclasses to
explicitly define Inst{31-25}.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D156590
parent f92dc108
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment