This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Skip codegen of known-invalid snippets
ClosedPublic

Authored by kpdev42 on Mar 17 2023, 8:27 AM.

Details

Summary

On some targets, not all types of instruction operands are currently
handled. Instead of stopping the whole llvm-exegesis run because of any
instruction opcode that is not fully supported, write a per-opcode error
message and proceed to other opcodes. This improves the reliability of
--opcode-index=-1 sweep on partially supported targets.

Depends on: D146302, D146303

~~

Huawei RRI, OS Lab

Diff Detail