Optimized alloca release

Bug #1756797 reported by edA-qa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Leaf
New
Undecided
Unassigned

Bug Description

I recently changed alloca to be function scoped. It was inside loops before therefore stack space slowly ran out.

Ideally this should be limited to logical blocks and "freed".

```
[...]
%8 = call i8* @llvm.stacksave()
%9 = alloca i32, i64 %7, align 16
call void @foo(i32* nonnull %9) #3
all void @llvm.stackrestore(i8* %8)
[...]
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.