From: Vikram S. Adve Date: Sun, 11 Nov 2001 23:11:36 +0000 (+0000) Subject: Fix bogus code that was eliminating needed args. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=998cf0d25fb0d90b8f93a0af8f0deca209ec09ef;p=oota-llvm.git 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 --- diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index ed8059d12e9..24efa26b496 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -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... } }