diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-01 02:32:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-01 02:32:34 +0000 |
commit | 39f501ca4176bf8ad718fd28b0850887cba3bb31 (patch) | |
tree | 2ef4b19303d46ae79d28dd5235a3ee957051fd55 /lib | |
parent | 19f86234168e57ade30ff3ca90e249571c17ea90 (diff) | |
download | external_llvm-39f501ca4176bf8ad718fd28b0850887cba3bb31.zip external_llvm-39f501ca4176bf8ad718fd28b0850887cba3bb31.tar.gz external_llvm-39f501ca4176bf8ad718fd28b0850887cba3bb31.tar.bz2 |
Fix emission of return instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index ae89260..c37dae1 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... } } |