You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change aims to bring a lot of the immediate handling code,
especially in TableGen, to become more uniform, both for different
sizes, and also for unsigned vs signed immediates.
Some changes, none of which should affect current behaviour:
- Both `RISCVUImmOp` and `RISCVSImmOp` now use getImmOpValue - which now
has to return a 64-bit value because we have some 64-bit unsigned
immediates for `.insn`
- Both `RISCVUImmOp` and `RISCVSImmOp` now define a default
MCOperandPredicate, based on their width, which just checks their
value with `isInt` or `isUInt`. This is overridden for the immediates
that accept a bare symbol ref in addition to an immediate. This allows
some duplicate definitions to be removed.
- I moved some OPERAND_ enum values around so that the unsigned
immediates are beside each other, and so too for the signed
immediates.
0 commit comments