Displaying 5 results from an estimated 5 matches for "int_guard_load".
2011 Oct 06
1
[LLVMdev] A potential bug
If int_guard_load returns a pointer based on the passed-in pointer, it
captures it (at least according to the definition of "capture" which
NoCapture uses).
-Eli
On Thu, Oct 6, 2011 at 2:26 PM, Zeng Bin <ezengbin at gmail.com> wrote:
> It does not do anything. It is an abstract function which tr...
2011 Oct 06
2
[LLVMdev] A potential bug
...i32 %tmp16, i32 %tmp18, i32
>> %tmp20)
>> ...
>>
>> It is compiled by clang 2.9. This BB is an end block in a function.
>> Intrinsic function llvm.guard.load.p0i32 is defined as follows:
>> let Properties = [IntrNoMem, NoCapture<0>] in {
>> def int_guard_load : Intrinsic<[llvm_anyptr_ty], [LLVMMatchType<0>]>
>> }
>>
>> Thanks a lot.
>
> IntrNoMem means that your intrinsic doesn't access memory... I don't
> think that is what you want.
Well, either that or the NoCapture marking is wrong. What exactly is...
2011 Oct 06
0
[LLVMdev] A potential bug
...gt;> %tmp20)
> >> ...
> >>
> >> It is compiled by clang 2.9. This BB is an end block in a function.
> >> Intrinsic function llvm.guard.load.p0i32 is defined as follows:
> >> let Properties = [IntrNoMem, NoCapture<0>] in {
> >> def int_guard_load : Intrinsic<[llvm_anyptr_ty],
> [LLVMMatchType<0>]>
> >> }
> >>
> >> Thanks a lot.
> >
> > IntrNoMem means that your intrinsic doesn't access memory... I don't
> > think that is what you want.
>
> Well, either that or the N...
2011 Oct 06
2
[LLVMdev] A potential bug
..., align 4, !tbaa !4
23. %call21 = call i32 @delta(i32 %tmp15, i32 %tmp16, i32 %tmp18, i32
%tmp20)
...
It is compiled by clang 2.9. This BB is an end block in a function.
Intrinsic function llvm.guard.load.p0i32 is defined as follows:
let Properties = [IntrNoMem, NoCapture<0>] in {
def int_guard_load : Intrinsic<[llvm_anyptr_ty], [LLVMMatchType<0>]>
}
Thanks a lot.
Bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111006/894fd8b5/attachment.html>
2011 Oct 06
0
[LLVMdev] A potential bug
...call i32 @delta(i32 %tmp15, i32 %tmp16, i32 %tmp18, i32
> %tmp20)
> ...
>
> It is compiled by clang 2.9. This BB is an end block in a function.
> Intrinsic function llvm.guard.load.p0i32 is defined as follows:
> let Properties = [IntrNoMem, NoCapture<0>] in {
> def int_guard_load : Intrinsic<[llvm_anyptr_ty], [LLVMMatchType<0>]>
> }
>
> Thanks a lot.
IntrNoMem means that your intrinsic doesn't access memory... I don't
think that is what you want.
-Eli