[PATCH] D60858: AMDGPU: Skip debug instructions in assert

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 02:23:05 PDT 2019


arsenm created this revision.
arsenm added reviewers: kzhuravl, scott.linder.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely.

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


https://reviews.llvm.org/D60858

Files:
  lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  test/CodeGen/AMDGPU/branch-relaxation-debug-info.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60858.195696.patch
Type: text/x-patch
Size: 11661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190418/8290e427/attachment.bin>


More information about the llvm-commits mailing list