[RISCV] Collect Statistics on Compressed Instructions
authorSam Elliott <selliott@lowrisc.org>
Mon, 13 Jan 2020 10:03:33 +0000 (10:03 +0000)
committerSam Elliott <selliott@lowrisc.org>
Mon, 13 Jan 2020 10:04:05 +0000 (10:04 +0000)
commitc9babcbda77e69698825cfb9ce771352be93acee
tree13bcff9f9a005e03b48ff6806a3e01238884ca0a
parentddf044290ede7d7fd47f4f673e3e628f551a8aac
[RISCV] Collect Statistics on Compressed Instructions

Summary:
It is useful to keep statistics on how many instructions we have
compressed, so we can see if future changes are increasing or decreasing this
number.

Reviewers: asb, luismarques

Reviewed By: asb, luismarques

Subscribers: xbolva00, sameer.abuasal, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, s.egerton, pzheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67495
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp