mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Clean up warning text. Remove extraneous prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b29ea4eb3
commit
7be43977b4
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user