Displaying 2 results from an estimated 2 matches for "__builtin_stack_restore".
2012 Feb 01
3
[LLVMdev] Issues with the llvm.stackrestore intrinsic
...don't
otherwise
// model their dependencies on allocas.
def int_stacksave : Intrinsic<[llvm_ptr_ty]>,
GCCBuiltin<"__builtin_stack_save">;
def int_stackrestore : Intrinsic<[], [llvm_ptr_ty]>,
GCCBuiltin<"__builtin_stack_restore">;
Does "GCCBuiltin" imply "writemem", or how does the comment and the code
correspond?
Second problem:
---------------
It seems that calls to stackrestore are removed if they are close to a
ret instruction. I suppose the idea is that the function epilogue will
resto...
2012 Feb 03
0
[LLVMdev] Issues with the llvm.stackrestore intrinsic - now LoopRotation handling of alloca
...model their dependencies on allocas.
> def int_stacksave : Intrinsic<[llvm_ptr_ty]>,
> GCCBuiltin<"__builtin_stack_save">;
> def int_stackrestore : Intrinsic<[], [llvm_ptr_ty]>,
> GCCBuiltin<"__builtin_stack_restore">;
>
> Does "GCCBuiltin" imply "writemem", or how does the comment and the code
> correspond?
>
>
> Second problem:
> ---------------
> It seems that calls to stackrestore are removed if they are close to a
> ret instruction. I suppose the idea...