[llvm-commits] [llvm] r155015 - /llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Jim Grosbach
grosbach at apple.com
Wed Apr 18 11:09:50 PDT 2012
Author: grosbach
Date: Wed Apr 18 13:09:50 2012
New Revision: 155015
URL: http://llvm.org/viewvc/llvm-project?rev=155015&view=rev
Log:
Clean up warning text. Remove extraneous prefix.
Modified:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp?rev=155015&r1=155014&r2=155015&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Wed Apr 18 13:09:50 2012
@@ -2485,7 +2485,7 @@
// 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 @@
// 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 @@
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 @@
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;
}
More information about the llvm-commits
mailing list