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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
utils/TableGen/AsmMatcherEmitter.cpp | ||
---|---|---|
1487 | It's unsafe here. getValueAsString() method return std::string by value. StringRef will point to free memory. |
I think this should be a StringRef.