Displaying 3 results from an estimated 3 matches for "mark_tim".
Did you mean:
mark_time
2009 Nov 13
0
[LLVMdev] opt -std-compile-opts breaks tail calls
On Nov 13, 2009, at 3:34 AM, Jon Harrop wrote:
>> Point 4 is the one that caused me trouble for some time.
>> Unfortunately
>> it causes a bad interaction with the optimiser, specifically the
>> 'simplifycfg' pass. What seems to happen is that since the function
>> you are calling is marked with 'noreturn', the simplifycfg pass will
>> then
2009 Nov 13
2
[LLVMdev] opt -std-compile-opts breaks tail calls
...buf16, i64 0, i64 0)) ; <i32> [#uses=0]
%17 = load double ()** @hlvm_time ; <double ()*> [#uses=1]
%18 = call double %17() ; <double> [#uses=1]
%19 = call fastcc i8* @gc_mark(i32 0) ; <i8*> [#uses=0]
%20 = load double* @mark_time ; <double> [#uses=1]
%21 = load double ()** @hlvm_time ; <double ()*> [#uses=1]
%22 = call double %21() ; <double> [#uses=1]
%23 = fadd double %20, %22 ; <double> [#uses=1]
%24 = fsub doubl...
2009 Nov 13
2
[LLVMdev] opt -std-compile-opts breaks tail calls
On Friday 13 November 2009 04:57:43 David Terei wrote:
> I've run into some issues with tail calls in the past, make sure you
> are doing the following:
>
> 1. Call should be marked with tail (obviously)
> 2. Next statement after tail call should be 'return void'
> 3. Use fast call convention for tail calls
> 4. Make sure the function you are calling doesn't