llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc
Nirav Dave 8603062ee4 Fix branch relaxation in 16-bit mode.
Thread through MCSubtargetInfo to relaxInstruction function allowing relaxation
to generate jumps with 16-bit sized immediates in 16-bit mode.

This fixes PR22097.

Reviewers: dwmw2, tstellarAMD, craig.topper, jyknight

Subscribers: jfb, arsenm, jyknight, llvm-commits, dsanders

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

llvm-svn: 275068
2016-07-11 14:23:53 +00:00
..
AMDGPUAsmBackend.cpp Fix branch relaxation in 16-bit mode. 2016-07-11 14:23:53 +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: Set MinInstAlignment 2016-06-27 21:42:49 +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 Delete MCCodeGenInfo. 2016-06-30 18:25:11 +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