search for: f3ded47a

Displaying 3 results from an estimated 3 matches for "f3ded47a".

2010 Oct 11
0
[LLVMdev] Pointer aliasing issue
Hi Artiom, > I have following C code: > > void factorial(float **a, float **b) > { > b[2][2] = a[0][2]; > b[2][2] = a[0][1]; > } ... > Assuming that a and b arrays contains pointers that are not aliased, > is it possible to remove the first store by using some C or LLVM IR specific > declarations? try this: void factorial(float **
2010 Oct 11
2
[LLVMdev] Pointer aliasing issue
Hi, I have a question regarding pointer aliasing. I have following C code: void factorial(float **a, float **b) { b[2][2] = a[0][2]; b[2][2] = a[0][1]; } Which is converted to following LLVM IR: define void @factorial(float** nocapture %a, float** nocapture %b) nounwind { entry: %0 = getelementptr inbounds float** %b, i64 2 ; <float**> [#uses=2] %1 = load float** %0, align 8
2010 Oct 11
1
[LLVMdev] Pointer aliasing issue
...lopers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -- Artiom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101011/f3ded47a/attachment.html>