aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC32AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-15 05:48:47 +0000
committerChris Lattner <sabre@nondot.org>2004-08-15 05:48:47 +0000
commit08eceec98df96a0eb0a8afe8b5667c75b659f0db (patch)
tree6247b5ed17519115add35cc8ab2d5e519f9e6a8b /lib/Target/PowerPC/PPC32AsmPrinter.cpp
parent0ea3171fbfaf78672264a9299c33c81c63b2a522 (diff)
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
Diffstat (limited to 'lib/Target/PowerPC/PPC32AsmPrinter.cpp')
-rw-r--r--lib/Target/PowerPC/PPC32AsmPrinter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/lib/Target/PowerPC/PPC32AsmPrinter.cpp
index fb3e1824e7..a20525c814 100644
--- a/lib/Target/PowerPC/PPC32AsmPrinter.cpp
+++ b/lib/Target/PowerPC/PPC32AsmPrinter.cpp
@@ -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;
}