summaryrefslogtreecommitdiff
path: root/utils/TableGen/DAGISelEmitter.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-02-26 10:45:29 +0000
committerBill Wendling <isanbard@gmail.com>2008-02-26 10:45:29 +0000
commit27926af8285b194df04db2b9a1e38ec1e570c9ac (patch)
tree5cb01366dffd655e197dc15c60d16f95b8924297 /utils/TableGen/DAGISelEmitter.cpp
parenta2a4b475fc03202608fd3c298e90f24ca24f122c (diff)
downloadllvm-27926af8285b194df04db2b9a1e38ec1e570c9ac.tar.gz
llvm-27926af8285b194df04db2b9a1e38ec1e570c9ac.tar.bz2
llvm-27926af8285b194df04db2b9a1e38ec1e570c9ac.tar.xz
De-tabify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.cpp')
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 6f562fad59..291a913c37 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -731,9 +731,9 @@ public:
std::string Val = VariableMap[VarName];
bool ModifiedVal = false;
if (Val.empty()) {
- cerr << "Variable '" << VarName << " referenced but not defined "
- << "and not caught earlier!\n";
- abort();
+ cerr << "Variable '" << VarName << " referenced but not defined "
+ << "and not caught earlier!\n";
+ abort();
}
if (Val[0] == 'T' && Val[1] == 'm' && Val[2] == 'p') {
// Already selected this operand, just return the tmpval.
@@ -1183,10 +1183,10 @@ public:
} else if (InputHasChain && !NodeHasChain) {
// One of the inner node produces a chain.
if (NodeHasOutFlag)
- emitCode("ReplaceUses(SDOperand(N.Val, " + utostr(NumPatResults+1) +
- "), SDOperand(ResNode, N.ResNo-1));");
- emitCode("ReplaceUses(SDOperand(N.Val, " + utostr(NumPatResults) +
- "), " + ChainName + ");");
+ emitCode("ReplaceUses(SDOperand(N.Val, " + utostr(NumPatResults+1) +
+ "), SDOperand(ResNode, N.ResNo-1));");
+ emitCode("ReplaceUses(SDOperand(N.Val, " + utostr(NumPatResults) +
+ "), " + ChainName + ");");
}
emitCode("return ResNode;");