AMDGPU: Skip debug instructions in assert
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Apr 2019 19:14:26 +0000 (19:14 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Apr 2019 19:14:26 +0000 (19:14 +0000)
commitf84ce75cd1c4847803f50ae0a4e95ca295dac30d
tree63123aa3eaf5beea0d47826832ba68fd493a56fe
parente3f7074c7e95551c86bfc489ca0f5e23d7a64dcc
AMDGPU: Skip debug instructions in assert

These are inserted after branch relaxation, and for some reason it's
decided to put them in the long branch expansion block. It's probably
not great to rely on the source block address, so this should probably
be switched to being PC relative instead of relying on the block
address

llvm-svn: 358909
llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.ll [new file with mode: 0644]