diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-07-31 13:03:00 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-07-31 13:03:35 -0700 |
commit | f92dc1083285f682ba9a858b8566823e6e449f6a (patch) | |
tree | 4c7457d92fed479b05720786595a9c8af2fe6b35 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 5fbee1c6e300eee9ce9d18275bf8a6de0a22ba59 (diff) | |
download | llvm-f92dc1083285f682ba9a858b8566823e6e449f6a.zip llvm-f92dc1083285f682ba9a858b8566823e6e449f6a.tar.gz llvm-f92dc1083285f682ba9a858b8566823e6e449f6a.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions