diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-26 23:10:12 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-26 23:10:12 +0000 |
commit | 6848be1a27e08a89dcd4dd69f746471a608012cd (patch) | |
tree | 15b6ed90180222e37f9a37369300d5f5014e1bca /lib/Target/ARM/ARMISelDAGToDAG.cpp | |
parent | 8e7d056bc5c0688501f6721994c8f4074d699c69 (diff) |
Change RET node to include signness information of the return values. i.e.
RET chain, value1, sign1, value2, sign2, ...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index 54c7101e40..8312d14dca 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -62,8 +62,8 @@ static SDOperand LowerRET(SDOperand Op, SelectionDAG &DAG) { abort(); case 1: return SDOperand(); // ret void is legal - case 2: - Copy = DAG.getCopyToReg(Op.getOperand(0), ARM::R0, Op.getOperand(1), SDOperand()); + case 3: + Copy = DAG.getCopyToReg(Op.getOperand(0), ARM::R0, Op.getOperand(2), SDOperand()); break; } |