This patch inserts calls in RISCV backend to call instruction
compression\uncompression logic.
Calls were inserted in three locations: 1) RISCVAsmParser::MatchAndEmitInstruction: Inserted a call to compressInst() to compresses instructions parsed by llvm-mc coming from an ASM input. 2) RISCVAsmPrinter::EmitInstruction: Inserted a call to compressInst() to compress instructions coming that were lowered from Machine Instructions (MachineInstr). 3) RVInstPrinter::printInst: Inserted a call to uncompressInst() to print the expanded version of the instruction instead of the compressed one (e.g, add s0, s0, a5 instead of c.add s0, a5) when -riscv-no-aliases is not passed.
I think the logic should actually be the other way - we uncompress if !NoAliases (i.e. by default if we decode a c.addi we print it as addi)