aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/DAGISelEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 0093e50..085f7d2 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -788,10 +788,7 @@ void DAGISelEmitter::ParseAndResolveInstructions() {
if (i == CGI.OperandList.size())
I->error("'" + InstResults.begin()->first +
"' set but does not appear in operand list!");
-
const std::string &OpName = CGI.OperandList[i].Name;
- if (OpName.empty())
- I->error("Operand #" + utostr(i) + " in operands list has no name!");
// Check that it exists in InstResults.
Record *R = InstResults[OpName];