This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Enable MCCodeEmitter instruction predicate verifier
ClosedPublic

Authored by jrtc27 on Jul 31 2020, 3:15 AM.

Details

Summary

This ensures that we never encode an instruction which is unavailable,
such as if we explicitly insert a forbidden instruction when lowering.
This is particularly important on RISC-V given its high degree of
modularity, and will become increasingly important as new standard
extensions appear.

Diff Detail

Event Timeline

jrtc27 created this revision.Jul 31 2020, 3:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2020, 3:15 AM
jrtc27 requested review of this revision.Jul 31 2020, 3:15 AM
lenary accepted this revision.Aug 3 2020, 2:45 AM

LGTM!

This revision is now accepted and ready to land.Aug 3 2020, 2:45 AM
asb accepted this revision.Aug 6 2020, 6:43 AM

Thanks for spotting this one - LGTM.