Correction to tail call optimization code. The new return address
authorArnold Schwaighofer <arnold.schwaighofer@gmail.com>
Tue, 16 Oct 2007 09:05:00 +0000 (09:05 +0000)
committerArnold Schwaighofer <arnold.schwaighofer@gmail.com>
Tue, 16 Oct 2007 09:05:00 +0000 (09:05 +0000)
commit448175fd020acd680c27e61a3aa09d23031a496d
tree7daf76b83136bb991c82450edc5a6dd9333fb440
parent8b0b8749875cd20fc694f7550a62ed517fe2cd9c
Correction to tail call optimization code. The new return address
was stored to the acutal stack slot before the parameters were
lowered to their stack slot. This could cause arguments to be
overwritten by the return address if the called function had less
parameters than the caller function. The update should remove the
last failing test case of llc-beta: SPASS.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43027 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp