Displaying 2 results from an estimated 2 matches for "6071351f".
2011 Aug 17
0
[LLVMdev] Non "folding" Stack Allocation
...of the memory object in IR, then have the code generator allocate multiple alloca's with non-overlapping lifetimes to the same stack offset.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110817/6071351f/attachment.html>
2011 Aug 17
2
[LLVMdev] Non "folding" Stack Allocation
Following a question on StackOverflow [1], I was wondering if for big
allocations, LLVM would "delay" the allocation or rather perform it upfront.
The following code was thus submitted to the LLVM Try Out page:
void doSomething(char*,char*);
void function(bool b)
{
char b1[1 * 1024];
if( b ) {
char b2[1 * 1024];
doSomething(b1, b2);
} else {
char