HomePhabricator

[TableGen] AsmMatcher: Add AsmVariantName to Instruction class.

Description

[TableGen] AsmMatcher: Add AsmVariantName to Instruction class.

Summary:
This allows specifying instructions that are available only in specific assembler variant. If AsmVariantName is specified then instruction will be presented only in MatchTable for this variant. If not specified then assembler variants will be determined based on AsmString.
Also this allows splitting assembler match tables in same way as it is done in dissasembler.

Reviewers: ab, tstellarAMD, craig.topper, vpykhtin

Subscribers: wdng

Differential Revision: https://reviews.llvm.org/D24249

Details

Committed
skoltonSep 8 2016, 8:50 AM
Differential Revision
D24249: [TableGen] AsmMatcher: Add AsmVariantName to Instruction class.
Parents
rL280951: Remove restriction that 'sret' must be on the first parameter
Branches
Unknown
Tags
Unknown