llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc
Jan Vesely 3bc1af2be4 AMDGPU/R600: Fix GlobalValue regressions.
Don't cast GV expression to MCSymbolRefExpr. r272705 changed GV to binary
expressions by including offset even if the offset it 0
(we haven't hit this sooner since tested workloads don't include static offsets)
We don't really care about the type of expression, so set it directly.
Fixes: r272705

Consider section relative relocations. Since all const as data is in one boffer section relative is equivalent to abs32.
Fixes: r273166

Differential Revision: http://reviews.llvm.org/D21633

llvm-svn: 273785
2016-06-25 18:24:16 +00:00
..
AMDGPUAsmBackend.cpp AMDGPU/SI: Refactor fixup handling for constant addrspace variables 2016-06-14 20:29:59 +00:00
AMDGPUELFObjectWriter.cpp AMDGPU/R600: Fix GlobalValue regressions. 2016-06-25 18:24:16 +00:00
AMDGPUELFStreamer.cpp AMDGPU/SI: Add support for AMD code object version 2. 2016-05-05 17:03:33 +00:00
AMDGPUELFStreamer.h AMDGPU/SI: Add support for AMD code object version 2. 2016-05-05 17:03:33 +00:00
AMDGPUFixupKinds.h AMDGPU/SI: Refactor fixup handling for constant addrspace variables 2016-06-14 20:29:59 +00:00
AMDGPUMCAsmInfo.cpp AMDGPU: Fix maximum instruction size for amdgcn 2016-06-16 21:14:05 +00:00
AMDGPUMCAsmInfo.h AMDGPU: R600 code splitting cleanup 2016-03-11 08:00:27 +00:00
AMDGPUMCCodeEmitter.cpp
AMDGPUMCCodeEmitter.h AMDGPU: R600 code splitting cleanup 2016-03-11 08:00:27 +00:00
AMDGPUMCTargetDesc.cpp AMDGPU/SI: Use .hsatext section instead of .text for HSA 2015-09-25 21:41:28 +00:00
AMDGPUMCTargetDesc.h AMDGPU/SI: Refactor fixup handling for constant addrspace variables 2016-06-14 20:29:59 +00:00
AMDGPUTargetStreamer.cpp AMDGPU/SI: Add support for AMD code object version 2. 2016-05-05 17:03:33 +00:00
AMDGPUTargetStreamer.h AMDGPU: R600 code splitting cleanup 2016-03-11 08:00:27 +00:00
CMakeLists.txt AMDGPU/SI: Use .hsatext section instead of .text for HSA 2015-09-25 21:41:28 +00:00
LLVMBuild.txt AMDGPU/SI: Use .hsatext section instead of .text for HSA 2015-09-25 21:41:28 +00:00
R600MCCodeEmitter.cpp AMDGPU/R600: Fix GlobalValue regressions. 2016-06-25 18:24:16 +00:00
SIMCCodeEmitter.cpp AMDGPU/SI: Correctly encode constant expressions 2016-06-15 03:09:39 +00:00