This attribute is described in this pull request to the RISCV psABI: New attribute: Tag_RISCV_reserved_register
This adds a new attribute used to record reserved register information. This is used to check compatibility between ABI subvariants like overlay which reserve registers for use in the overlay engine.
Currently this is limited to only the x0-x31 range of registers. At the very least support for the floating point registers needs to be added, and in future this may also need to handle registers outside the available 64 bit mask (eg CSR or vector extension registers)
I would suggest change this into APInt, since we might also use more than 64 bits, e.g. vector register.