[PATCH] D85203: TableGen/GlobalISel: Allow inst matcher to check multiple opcodes
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 11:21:54 PDT 2020
paquette added a comment.
Could we have more than 2 possible choices for opcodes? Would it make sense to make this take an arbitrary number of alternatives?
Maybe something like
/// - InsnID - Instruction ID
/// - NumChoices - Number of possible opcodes
/// - Opcode1, Opcode2, Opcode3, ... OpcodeNumChoices - Possible opcodes, ordered by preference
GIM_CheckOpcodeWithAlternatives
I can't think of anything off the top of my head, but it could be useful I suppose.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85203/new/
https://reviews.llvm.org/D85203
More information about the llvm-commits
mailing list