A minor simplication in the generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40479 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 6da4b98..36677bb 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -2875,7 +2875,7 @@
std::string NodeName;
if (!isRoot) {
NodeName = "Tmp" + utostr(ResNo);
- Code2 = "SDOperand " + NodeName + " = SDOperand(";
+ Code2 = "SDOperand " + NodeName + "(";
} else {
NodeName = "ResNode";
if (!ResNodeDecled) {
@@ -2991,7 +2991,7 @@
bool NeedReplace = false;
if (NodeHasOutFlag) {
if (!InFlagDecled) {
- emitCode("SDOperand InFlag = SDOperand(ResNode, " +
+ emitCode("SDOperand InFlag(ResNode, " +
utostr(NumResults + (unsigned)NodeHasChain) + ");");
InFlagDecled = true;
} else