AMDGPU/R600: Emit rodata in text segment
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 19 Jan 2020 05:29:30 +0000 (00:29 -0500)
committerJan Vesely <jano.vesely@gmail.com>
Wed, 22 Jan 2020 19:31:51 +0000 (14:31 -0500)
commit1b8eab179db46f25a267bb73c657009c0bb542cc
treefa4e58e1d7e4ed7e6727387d16bf0bb20547e18e
parent90cfbb81674ecd38030e2656acaed4f3c39b5e62
AMDGPU/R600: Emit rodata in text segment

R600 relies on this behaviour.
Fixes: 6e18266aa4dd78953557b8614cb9ff260bad7c65 ('Partially revert D61491 "AMDGPU: Be explicit about whether the high-word in SI_PC_ADD_REL_OFFSET is 0"')
Fixes ~100 piglit regressions since 6e18266

Differential Revision: https://reviews.llvm.org/D72991
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/test/CodeGen/AMDGPU/global-constant.ll