[PATCH] D89997: AMDGPU: Increase branch size estimate with offset bug

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 17:30:22 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, kerbowa.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

This will be relaxed to insert a nop if the offset hits the bad value,
so over estimate branch instruction sizes.


https://reviews.llvm.org/D89997

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89997.300127.patch
Type: text/x-patch
Size: 4617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201023/7fd12b50/attachment.bin>


More information about the llvm-commits mailing list