This patch extends the interface provided by the AsmParser library by adding a function that allows the user to parse a standalone type and value in a given string.
This change would be useful for the MachineIR serialization, as it would allow the MIR parser to parse the constant values in a MachineConstantPool.
This is an example of a MIR fragment that shows several constant pool entries in a machine function:
constants: - value: 'double 3.250000e+00' - value: 'float 6.250000e+00' alignment: 4