mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Case numbers were not updated when Sparc.burg.in was changed
to add separate label for bitwise NOT operator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
69cd2b1ade
commit
85e1e9c22f
@ -1327,6 +1327,7 @@ ThisIsAChainRule(int eruleno)
|
|||||||
case 242:
|
case 242:
|
||||||
case 243:
|
case 243:
|
||||||
case 244:
|
case 244:
|
||||||
|
case 321:
|
||||||
return true; break;
|
return true; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -1578,7 +1579,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 21: // bool: Not(bool): Both these are implemented as:
|
case 21: // bool: Not(bool): Both these are implemented as:
|
||||||
case 321: // reg: BNot(reg) : reg = reg XOR-NOT 0
|
case 421: // reg: BNot(reg) : reg = reg XOR-NOT 0
|
||||||
M = new MachineInstr(XNOR);
|
M = new MachineInstr(XNOR);
|
||||||
M->SetMachineOperandVal(0, MachineOperand::MO_VirtualRegister,
|
M->SetMachineOperandVal(0, MachineOperand::MO_VirtualRegister,
|
||||||
subtreeRoot->leftChild()->getValue());
|
subtreeRoot->leftChild()->getValue());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user