projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f8623
)
Fix emission of return instructions
author
Chris Lattner
<sabre@nondot.org>
Mon, 1 Oct 2001 02:32:34 +0000
(
02:32
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 1 Oct 2001 02:32:34 +0000
(
02:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@688
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
index ae8926071e2c91cae45fbf939d6f14a84eb415f7..c37dae16ac5bbeaa994d7d7c74cc221ae0e62b12 100644
(file)
--- 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...
}
}