diff options
author | Jan Voung <jvoung@google.com> | 2012-07-31 16:37:27 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2012-07-31 16:37:27 -0700 |
commit | cb769b2553b60b9f224b5788cdd8385e8b062cfe (patch) | |
tree | 1f2e6074345fbce7f631832b0bde594974acde3d /lib/CodeGen/CallingConvLower.cpp | |
parent | 13d5be78ccbe988ac859279b469fb0ad8d24fc85 (diff) |
Make ARM var-arg regsave setup aware of byval stack args. Previously we had
a LOCALMOD that disabled splitting "bvyal" arguments between the stack and
registers, and only using the stack. However, this was not completely done.
Var-args reg-saving was not aware of this change, and still attempted find
any args following a byval in registers.
http://codereview.chromium.org/10825082/
Diffstat (limited to 'lib/CodeGen/CallingConvLower.cpp')
-rw-r--r-- | lib/CodeGen/CallingConvLower.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CallingConvLower.cpp b/lib/CodeGen/CallingConvLower.cpp index b2c976b2a5..81e237effb 100644 --- a/lib/CodeGen/CallingConvLower.cpp +++ b/lib/CodeGen/CallingConvLower.cpp @@ -33,6 +33,7 @@ CCState::CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &mf, StackOffset = 0; clearFirstByValReg(); + clearHasByValInRegPosition(); // @LOCALMOD. UsedRegs.resize((TRI.getNumRegs()+31)/32); } |