aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-04-18 18:09:50 +0000
committerJim Grosbach <grosbach@apple.com>2012-04-18 18:09:50 +0000
commit7be43977b4a12b2e2361a3d0cf087e637394896b (patch)
treecd47bc414fd7b0e64da0fec3261cf92baf696ffc
parent9b29ea4eb39b5f03ef2405c6355a9c627771c5dd (diff)
Clean up warning text. Remove extraneous prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155015 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp
index 665a5f113a..5e6f6b6abf 100644
--- a/utils/TableGen/CodeGenDAGPatterns.cpp
+++ b/utils/TableGen/CodeGenDAGPatterns.cpp
@@ -2485,7 +2485,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
// entry is redundant.
if (MayStore)
PrintWarning(Inst.TheDef->getLoc(),
- Twine("Warning: mayStore flag explicitly set on ") +
+ Twine("mayStore flag explicitly set on ") +
"instruction, but flag already inferred from pattern.\n");
MayStore = true;
}
@@ -2495,7 +2495,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
// entry is redundant.
if (MayLoad)
PrintWarning(Inst.TheDef->getLoc(),
- Twine("Warning: mayLoad flag explicitly set on ") +
+ Twine("mayLoad flag explicitly set on ") +
"instruction, but flag already inferred from pattern.\n");
MayLoad = true;
}
@@ -2503,7 +2503,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (Inst.neverHasSideEffects) {
if (HadPattern)
PrintWarning(Inst.TheDef->getLoc(),
- Twine("Warning: neverHasSideEffects flag explicitly set on ") +
+ Twine("neverHasSideEffects flag explicitly set on ") +
"instruction, but flag already inferred from pattern.\n");
HasSideEffects = false;
}
@@ -2511,7 +2511,7 @@ static void InferFromPattern(const CodeGenInstruction &Inst,
if (Inst.hasSideEffects) {
if (HasSideEffects)
PrintWarning(Inst.TheDef->getLoc(),
- Twine("Warning: hasSideEffects flag explicitly set on ") +
+ Twine("hasSideEffects flag explicitly set on ") +
"instruction, but flag already inferred from pattern.\n");
HasSideEffects = true;
}