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

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

We have multiple variations of InstrFormatI that pack different
fields into the upper 12 bits. The other 20 bits are all the same.

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

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D156589
parent 5fbee1c6
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