mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Fix bogus code that was eliminating needed args.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c56e5c1485
commit
998cf0d25f
@ -155,11 +155,7 @@ private :
|
||||
unsigned getOperandMask(unsigned Opcode) {
|
||||
switch (Opcode) {
|
||||
case SUBcc: return 1 << 3; // Remove CC argument
|
||||
case BA: case BRZ: // Remove Arg #0, which is always null or xcc
|
||||
case BRLEZ: case BRLZ:
|
||||
case BRNZ: case BRGZ:
|
||||
case BRGEZ: return 1 << 0;
|
||||
|
||||
case BA: return 1 << 0; // Remove Arg #0, which is always null or xcc
|
||||
default: return 0; // By default, don't hack operands...
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user