This changes the output of branch/jump instructions to show the absolute
addresses of targets of branch and jump instructions (in hexadecimal,
better matching GNU objdump output)
llvm-objdump -d output (before)
0: 6f 00 00 00 j 0
4: 63 12 00 00 bnez zero, 4
8: 6f f0 df ff j -4
llvm-objdump -d output (after)
0: 6f 00 00 00 j 0x0
4: 63 12 00 00 bnez zero, 0x8
8: 6f f0 df ff j 0x4In RISC-V these operands are not noted as OPERAND_PCREL, and the backend
uses this field to store other information, I have extended TableGen to
handle this case.
All RISC-V MC tests have been updated to check for the correct output
as presented by both llvm-mc and llvm-objdump.
Consider moving it beside another bit field.