[PATCH] D40113: AMDGPU: Fix crash when scheduling DBG_VALUE

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 16:50:28 PST 2017


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

This calls handleMove with a DBG_VALUE instruction,
which isn't tracked by LiveIntervals. I'm not sure
this is the correct place to fix this. The generic
scheduler seems to have more deliberate region
selection that skips dbg_value.

      

The test is also really hard to reduce. I haven't been able
to figure out what exactly causes this particular case to
try moving the dbg_value.


https://reviews.llvm.org/D40113

Files:
  lib/Target/AMDGPU/GCNSchedStrategy.cpp
  test/CodeGen/AMDGPU/sched-crash-dbg-value.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40113.123107.patch
Type: text/x-patch
Size: 40459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/793e356b/attachment.bin>


More information about the llvm-commits mailing list