[LLVMdev] RFC: Tail call optimization X86

Arnold Schwaighofer arnold.schwaighofer at gmail.com
Fri Oct 5 02:57:24 PDT 2007


On 5 Oct 2007, at 00:57, Evan Cheng wrote:
>> just did a test with
>> LLCBETAOPTION := -tail-call-opt -tail-call-opt-align-stack
>>
>> this time only SPASS llc-beta fails (comparing with vanilla version)
>> also jit fails (exit 139) but in both versions  (vanilla/patched)
>> which it did not do when i last tested
>
> You mean SPASS JIT fails without tail call optimization being turned
> on? Is this due to fastcc abi change (callee pops arguments)?
>
No i always test with 2 trees. One with my patches applied and a  
clean checkout from
svn with no patches to have a comparison. With r42608 also the clean  
version
showed a failure with SPASS JIT. Well not really clean since it is an  
evolution of
svn checkout and svn update but again none of my patches applied. so  
it might just
be something gone wrong there.

my patched version
SPASS llc-beta failed
SPASS jit failed

(semi-)clean version from svn
SPASS jit failed
>>
>>
>> but looking very briefly at the results i am not sure llc-beta really
>> fails since the programm (SPASS) runs through and only the diff fails
>
> If the output mismatches then it has failed. This will not stop the
> patch from being accepted but it will have to be fixed eventually.
will be investigating further of course

regards arnold



More information about the llvm-dev mailing list