Displaying 1 result from an estimated 1 matches for "anonymous_0".
Did you mean:
anonymous
2018 May 15
1
[tablegen] anonymous def not fully instantiated
...ot a string. The reason is revealed by looking at the raw output from tablegen:
------------- Defs -----------------
def myImm5Class { // AsmOperandClass myAsmOperandClass
string Name = "Class5";
}
def myImm5 { // Operand
AsmOperandClass ParserMatchClass = myImm5Class;
}
def anonymous_0 { // AsmOperandClass myAsmOperandClass
string Name = !strconcat("Class", !cast<string>(myImmClass:n));
}
def myImm6 { // Operand myImmClass
AsmOperandClass ParserMatchClass = anonymous_0;
}
In the myImm5Class def used by myImm5, the !strconcat operation has been applie...