Currently AMDGPUTargetInfo does not initialize AddrSpaceMap in constructor, which causes regressions in mesa/clover with libclc.
This patch fixes that.
Paths
| Differential D34987
[AMDGPU] Fix regressions on mesa/clover with libclc due to address space ClosedPublic Authored by yaxunl on Jul 4 2017, 10:18 AM.
Details Summary Currently AMDGPUTargetInfo does not initialize AddrSpaceMap in constructor, which causes regressions in mesa/clover with libclc. This patch fixes that.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 2 others. · View Herald TranscriptJul 4 2017, 10:18 AM Comment Actions FWIW, this looks ok to me. Just as importantly, this fixes the address space mapping regressions for both r600 (BARTS) and GCN/AMDGPU (PITCAIRN) for me. This revision is now accepted and ready to land.Jul 4 2017, 12:16 PM Closed by commit rL307105: [AMDGPU] Fix regressions on mesa/clover with libclc due to address space (authored by yaxunl). · Explain WhyJul 4 2017, 12:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 105187 lib/Basic/Targets.cpp
test/CodeGenOpenCL/address-spaces.cl
|