If we can't assume the pointer value isn't within the bounds
of the object, it seems risky to try to replace the pointer
calculations.
Details
Details
- Reviewers
• tstellarAMD
Diff Detail
Diff Detail
Paths
| Differential D16782
AMDGPU: Do not promote allocas with non-inbounds GEPs ClosedPublic Authored by arsenm on Feb 1 2016, 12:35 PM.
Details
Summary If we can't assume the pointer value isn't within the bounds
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Feb 2 2016, 8:45 AM
Revision Contents
Diff 46569 lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
test/CodeGen/AMDGPU/indirect-private-64.ll
test/CodeGen/AMDGPU/private-memory-atomics.ll
test/CodeGen/AMDGPU/private-memory-r600.ll
test/CodeGen/AMDGPU/private-memory.ll
|