This is an archive of the discontinued LLVM Phabricator instance.

[CSKY] Add compressed instruction mapping between 32-bit and 16-bit instruction
ClosedPublic

Authored by zixuan-wu on Dec 3 2021, 12:43 AM.

Details

Summary

Add all CompressPat to map instructions between 16-bit and 32-bit with using the CompressInstEmitter infra.
Although it's only used in asm printer, also enable it in asm parser to debug mapping when -enable-csky-asm-compressed-inst is on.

Diff Detail

Event Timeline

zixuan-wu created this revision.Dec 3 2021, 12:43 AM
zixuan-wu requested review of this revision.Dec 3 2021, 12:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2021, 12:43 AM
rengolin accepted this revision.Dec 4 2021, 7:08 AM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 4 2021, 7:08 AM