]> granicus.if.org Git - llvm/commit
AMDGPU: Fix not accounting for instruction size in bundles
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Oct 2017 22:59:12 +0000 (22:59 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Oct 2017 22:59:12 +0000 (22:59 +0000)
commitb151df8f6db2eb2ef1053bae166071aa68777ccb
tree023c41db2b78c2fe79a85487e791278d14f0bd07
parentf1bd8070e1e4f4965b3260860cd6c84511e558e4
AMDGPU: Fix not accounting for instruction size in bundles

These were counted as 0. Fixes branch limit exceeded errors
in some large programs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314944 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.h
test/CodeGen/AMDGPU/branch-relax-bundle.ll [new file with mode: 0644]