forked from OSchip/llvm-project
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. llvm-svn: 15755
This commit is contained in:
parent
da2e56fb0c
commit
7dfaac4300
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -510,8 +510,6 @@ void Printer::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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue