From 1a5a5e6a2aa5dc12a14f09d752525b951276c4fe Mon Sep 17 00:00:00 2001 From: Sam Kolton Date: Mon, 15 May 2017 10:13:07 +0000 Subject: [TableGen] Add EncoderMethod to RegisterOperand Reviewers: stoklund, grosbach, vpykhtin Differential Revision: https://reviews.llvm.org/D32493 llvm-svn: 303044 --- llvm/utils/TableGen/CodeGenInstruction.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/utils') diff --git a/llvm/utils/TableGen/CodeGenInstruction.cpp b/llvm/utils/TableGen/CodeGenInstruction.cpp index bb2ec2a64e4..f4a76099099 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.cpp +++ b/llvm/utils/TableGen/CodeGenInstruction.cpp @@ -77,6 +77,7 @@ CGIOperandList::CGIOperandList(Record *R) : TheDef(R) { PrintMethod = Rec->getValueAsString("PrintMethod"); OperandType = Rec->getValueAsString("OperandType"); OperandNamespace = Rec->getValueAsString("OperandNamespace"); + EncoderMethod = Rec->getValueAsString("EncoderMethod"); } else if (Rec->isSubClassOf("Operand")) { PrintMethod = Rec->getValueAsString("PrintMethod"); OperandType = Rec->getValueAsString("OperandType"); -- cgit v1.2.3