To show the usage of !format.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfo.td | ||
---|---|---|
205 | Why do we need !format for DecoderMethod? |
llvm/lib/Target/RISCV/RISCVInstrInfo.td | ||
---|---|---|
202–206 | Instead of a foreach, can we have a class or two that takes the number of bits as a parameter? Then we can have something like uimm1 : UImmOperand<1>, UImmLeaf<1>; uimm5 : UImmOperand<5>, UImmLeaf<5>; That would make it much easier to find whether uimm1 or uimm5 already exist with a grep when we need them. |
space before :