search for: c7756315

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

2004 Aug 27
0
[LLVMdev] Optimization opportunity
On Thu, 26 Aug 2004, Jeff Cohen wrote: > There seems to be a disadvantage to the approach of allocating all > locals on the stack using alloca. Consider the following code: There is nothing intrinsic in LLVM that prevents this from happening, we just have not yet implemented 'stack packing'. > We have two arrays, b and c, only one of which can exist at any given > time.
2004 Aug 27
2
[LLVMdev] Optimization opportunity
There seems to be a disadvantage to the approach of allocating all locals on the stack using alloca. Consider the following code: extern void func(int*); extern int xyz(); void abc() { int a = xyz(); int i; { int b[10]; for (i = 0; i < 10; i++) b[i] = xyz(); func(b); } { int c[10]; for (i = 0; i < 10; i++) c[i] = xyz(); func(c); } func(&a); } We have two arrays,
2004 Aug 29
3
[LLVMdev] Optimization opportunity
...lear a displacement to a global was supported. Jeff -------------- next part -------------- A non-text attachment was scrubbed... Name: X86ISelSimple.cpp.diff Type: application/octet-stream Size: 21366 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040828/c7756315/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: X86InstrBuilder.h.diff Type: application/octet-stream Size: 2211 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040828/c7756315/attachment-0001.obj>