[TableGen] Add missing $ before the dag operator name (#140969)
This way the dump output is roundtripable.
This commit is contained in:
@@ -2786,7 +2786,7 @@ bool DagInit::isConcrete() const {
|
||||
std::string DagInit::getAsString() const {
|
||||
std::string Result = "(" + Val->getAsString();
|
||||
if (ValName)
|
||||
Result += ":" + ValName->getAsUnquotedString();
|
||||
Result += ":$" + ValName->getAsUnquotedString();
|
||||
if (!arg_empty()) {
|
||||
Result += " ";
|
||||
ListSeparator LS;
|
||||
|
||||
@@ -20,5 +20,5 @@ multiclass shuffle<Reg RC> {
|
||||
RC:$src1, RC:$src2))]>;
|
||||
}
|
||||
|
||||
// CHECK: shufp:src3
|
||||
// CHECK: shufp:$src3
|
||||
defm ADD : shuffle<VR128>;
|
||||
|
||||
Reference in New Issue
Block a user