[llvm-exegesis] Ignore instructions using custom inserter
authorQiu Chaofan <qiucofan@cn.ibm.com>
Fri, 19 Feb 2021 09:04:27 +0000 (17:04 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Fri, 19 Feb 2021 09:04:27 +0000 (17:04 +0800)
commit9d2f06445ffaceb501abd9477d3b5ce7231af49d
treeeb3281a6b90f2d8b50cdc3f8afcd2540973d4090
parentd7d4dca15fdaecd368978067fb26d64e96744cb9
[llvm-exegesis] Ignore instructions using custom inserter

Some instructions defined in table-gen files sets usesCustomInserter
bit, which means it has to be lowered by target code and isn't actually
valid instruction at MC level. So we should treat them like pseudo
instructions.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D94898
llvm/test/tools/llvm-exegesis/PowerPC/unsupported-opcode.s [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp
llvm/tools/llvm-exegesis/llvm-exegesis.cpp