Displaying 2 results from an estimated 2 matches for "__builtin_stack_save".
2012 Feb 01
3
[LLVMdev] Issues with the llvm.stackrestore intrinsic
...nstrinsic
are missing or how should this work?
In Intrinsics.td it says
// Note: we treat stacksave/stackrestore as writemem because we 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 see...
2012 Feb 03
0
[LLVMdev] Issues with the llvm.stackrestore intrinsic - now LoopRotation handling of alloca
...s work?
>
> In Intrinsics.td it says
>
> // Note: we treat stacksave/stackrestore as writemem because we 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?
>
>
> S...