AMDGPU: Increase branch size estimate with offset bug
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 23 Oct 2020 00:08:59 +0000 (20:08 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 23 Oct 2020 14:34:24 +0000 (10:34 -0400)
commitd61996473dd9481da9ffc40cea608a5e6eaacf06
tree21628c63bb425294cf312d50d944b9a96ab0c080
parent676ff75d60792d98161f95460e7f982664f39603
AMDGPU: Increase branch size estimate with offset bug

This will be relaxed to insert a nop if the offset hits the bad value,
so over estimate branch instruction sizes.
llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SOPInstructions.td
llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll [new file with mode: 0644]