diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-04-18 18:39:27 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-04-18 18:39:27 +0000 |
commit | 37c53ff6a715b2f9efcfa5253b2774b31301b6f8 (patch) | |
tree | 01904c3a2abf9035b36b1d0ee5b9c413db59c3dd /utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | 723fc11f91240e267dd748b467b43b6c00498e4b (diff) |
Tidy up. No need for a Twine here, as it's just constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index 5e6f6b6abf..4f5d58cd18 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("mayStore flag explicitly set on ") + + "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("mayLoad flag explicitly set on ") + + "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("neverHasSideEffects flag explicitly set on ") + + "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("hasSideEffects flag explicitly set on ") + + "hasSideEffects flag explicitly set on " "instruction, but flag already inferred from pattern.\n"); HasSideEffects = true; } |