From: Chris Lattner Date: Mon, 1 Oct 2001 02:32:34 +0000 (+0000) Subject: Fix emission of return instructions X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=39f501ca4176bf8ad718fd28b0850887cba3bb31;p=oota-llvm.git Fix emission of return instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@688 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index ae8926071e2..c37dae16ac5 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -112,6 +112,8 @@ private : case BRLEZ: case BRLZ: case BRNZ: case BRGZ: case BRGEZ: return 1 << 0; + case RETURN: return 1 << 1; // Remove Arg #2 which is zero + default: return 0; // By default, don't hack operands... } }