We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a7664 commit a08bf50Copy full SHA for a08bf50
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.h
@@ -20,15 +20,15 @@ class APInt;
20
namespace RISCVMatInt {
21
22
enum OpndKind {
23
- RegImm, // ADDI/ADDIW/SLLI/SRLI/BSETI/BCLRI
24
- Imm, // LUI
25
- RegReg, // SH1ADD/SH2ADD/SH3ADD
+ RegImm, // ADDI/ADDIW/XORI/SLLI/SRLI/SLLI_UW/RORI/BSETI/BCLRI/TH_SRRI
+ Imm, // LUI/QC_LI/QC_E_LI
+ RegReg, // SH1ADD/SH2ADD/SH3ADD/PACK
26
RegX0, // ADD_UW
27
};
28
29
class Inst {
30
unsigned Opc;
31
- int32_t Imm; // The largest value we need to store is 20 bits.
+ int32_t Imm; // The largest value we need to store is 32 bits for QC_E_LI.
32
33
public:
34
Inst(unsigned Opc, int64_t I) : Opc(Opc), Imm(I) {
0 commit comments