Currently AMDGPUTargetInfo does not initialize AddrSpaceMap in constructor, which causes regressions in mesa/clover with libclc.
This patch fixes that.
Differential D34987
[AMDGPU] Fix regressions on mesa/clover with libclc due to address space yaxunl on Jul 4 2017, 10:18 AM. Authored by
Details Currently AMDGPUTargetInfo does not initialize AddrSpaceMap in constructor, which causes regressions in mesa/clover with libclc. This patch fixes that.
Diff Detail
Event TimelineComment 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. |