The canonical form for allocas is a single allocation of the array type.
In case we see a non-canonical array alloca, make sure we aren't
replacing this with an array N times smaller.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D19563
AMDGPU: Fix mishandling array allocations when promoting alloca ClosedPublic Authored by arsenm on Apr 26 2016, 3:24 PM.
Details
Summary The canonical form for allocas is a single allocation of the array type.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 28 2016, 8:31 AM
Revision Contents
Diff 55336 lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
test/CodeGen/AMDGPU/indirect-private-64.ll
test/CodeGen/AMDGPU/promote-alloca-array-allocation.ll
|