mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Zimm16 is now dead. Its entry is not removed from the enum, to avoid having
to renumber everything. Similar elimination should be applied to other operand enum values that are only used to format printing in the .s file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -500,8 +500,6 @@ void PowerPCAsmPrinter::printImmOp(const MachineOperand &MO, unsigned ArgType) {
|
||||
int Imm = MO.getImmedValue();
|
||||
if (ArgType == PPCII::Simm16 || ArgType == PPCII::Disimm16) {
|
||||
O << (short)Imm;
|
||||
} else if (ArgType == PPCII::Zimm16) {
|
||||
O << (unsigned short)Imm;
|
||||
} else {
|
||||
O << Imm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user