Switch data layout by target triple environment amdgiz and amdgizcl indicating using of an address space mapping in which generic address space is 0.
amdgiz is for non-OpenCL environment where generic address space is 0.
amdgizcl is for OpenCL environment where generic address space is 0.
This is mainly to allow upstreaming Clang changes for changing address space mapping https://reviews.llvm.org/D31210 since the Clang data layout needs to match the backend data layout.
I don't think we should be adding new entries for a temporary step. I think the triple still preserves whatever you give it, so can you check getEnvironmentName()?