[llvm-commits] [llvm] r155026 - /llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Jim Grosbach
grosbach at apple.com
Wed Apr 18 11:39:27 PDT 2012
Author: grosbach
Date: Wed Apr 18 13:39:27 2012
New Revision: 155026
URL: http://llvm.org/viewvc/llvm-project?rev=155026&view=rev
Log:
Tidy up. No need for a Twine here, as it's just constants.
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=155026&r1=155025&r2=155026&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp Wed Apr 18 13:39:27 2012
@@ -2485,7 +2485,7 @@
// entry is redundant.
if (MayStore)
PrintWarning(Inst.TheDef->getLoc(),
- Twine("mayStore flag explicitly set on ") +
+ "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("mayLoad flag explicitly set on ") +
+ "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("neverHasSideEffects flag explicitly set on ") +
+ "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("hasSideEffects flag explicitly set on ") +
+ "hasSideEffects flag explicitly set on "
"instruction, but flag already inferred from pattern.\n");
HasSideEffects = true;
}
More information about the llvm-commits
mailing list