This is currently only called with GEP users. A direct
alloca would only happen with current typed pointers
for arrays which are a perverse case.
Also fix crashes on 0 x and 1 x arrays.
Paths
| Differential D22316
AMDGPU: Remove dead check in AMDGPUPromoteAlloca ClosedPublic Authored by arsenm on Jul 13 2016, 2:19 PM.
Details
Summary This is currently only called with GEP users. A direct Also fix crashes on 0 x and 1 x arrays.
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Jul 18 2016, 7:00 AM
Revision Contents
Diff 63859 lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/amdgpu.private-memory.ll
test/CodeGen/AMDGPU/vector-alloca.ll
|