aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-04-18 19:22:47 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-04-18 19:22:47 +0000
commit3cbcffc4e5990209ce80a54e615f55245fe3b824 (patch)
treee06eea7db2c05e9f7a098fa23530a136912e971d
parent325478d78dcf8a113c0bda932f76222b6299fa43 (diff)
tblgen: remove duplicated newlines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155038 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.cpp8
-rw-r--r--utils/TableGen/CodeGenRegisters.cpp2
-rw-r--r--utils/TableGen/RegisterInfoEmitter.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp
index 4f5d58cd18..d4b02fbd2f 100644
--- a/utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/utils/TableGen/CodeGenDAGPatterns.cpp
@@ -2486,7 +2486,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (MayStore)
PrintWarning(Inst.TheDef->getLoc(),
"mayStore flag explicitly set on "
- "instruction, but flag already inferred from pattern.\n");
+ "instruction, but flag already inferred from pattern.");
MayStore = true;
}
@@ -2496,7 +2496,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (MayLoad)
PrintWarning(Inst.TheDef->getLoc(),
"mayLoad flag explicitly set on "
- "instruction, but flag already inferred from pattern.\n");
+ "instruction, but flag already inferred from pattern.");
MayLoad = true;
}
@@ -2504,7 +2504,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (HadPattern)
PrintWarning(Inst.TheDef->getLoc(),
"neverHasSideEffects flag explicitly set on "
- "instruction, but flag already inferred from pattern.\n");
+ "instruction, but flag already inferred from pattern.");
HasSideEffects = false;
}
@@ -2512,7 +2512,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (HasSideEffects)
PrintWarning(Inst.TheDef->getLoc(),
"hasSideEffects flag explicitly set on "
- "instruction, but flag already inferred from pattern.\n");
+ "instruction, but flag already inferred from pattern.");
HasSideEffects = true;
}
diff --git a/utils/TableGen/CodeGenRegisters.cpp b/utils/TableGen/CodeGenRegisters.cpp
index 85e33b1aad..45c5bb8b3a 100644
--- a/utils/TableGen/CodeGenRegisters.cpp
+++ b/utils/TableGen/CodeGenRegisters.cpp
@@ -900,7 +900,7 @@ void CodeGenRegBank::computeComposites() {
PrintWarning(Twine("SubRegIndex") + Idx1->getQualifiedName() +
" and " + Idx2->getQualifiedName() +
" compose ambiguously as " + Prev->getQualifiedName() +
- " or " + i1d->first->getQualifiedName() +"\n");
+ " or " + i1d->first->getQualifiedName());
}
}
}
diff --git a/utils/TableGen/RegisterInfoEmitter.cpp b/utils/TableGen/RegisterInfoEmitter.cpp
index 748ffc5345..97fcca3a85 100644
--- a/utils/TableGen/RegisterInfoEmitter.cpp
+++ b/utils/TableGen/RegisterInfoEmitter.cpp
@@ -210,7 +210,7 @@ RegisterInfoEmitter::EmitRegMappingTables(raw_ostream &OS,
maxLength = std::max((size_t)maxLength, RegNums.size());
if (DwarfRegNums.count(Reg))
PrintWarning(Reg->getLoc(), Twine("DWARF numbers for register ") +
- getQualifiedName(Reg) + "specified multiple times\n");
+ getQualifiedName(Reg) + "specified multiple times");
DwarfRegNums[Reg] = RegNums;
}