mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Fix the semantic of Requires<[cond]> to mean if (!cond) goto PXXFail;
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24883 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f0f9a6973
commit
5fb5e10cdc
@ -1803,7 +1803,7 @@ public:
|
|||||||
OS << " if (";
|
OS << " if (";
|
||||||
else
|
else
|
||||||
OS << " && ";
|
OS << " && ";
|
||||||
OS << "(" << Def->getValueAsString("CondString") << ")";
|
OS << "!(" << Def->getValueAsString("CondString") << ")";
|
||||||
if (i == e-1)
|
if (i == e-1)
|
||||||
OS << ") goto P" << PatternNo << "Fail;\n";
|
OS << ") goto P" << PatternNo << "Fail;\n";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user