[PATCH] D59144: RegPressure: Fix crash on blocks with only dbg_value
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 10:55:34 PST 2019
arsenm created this revision.
Herald added subscribers: jdoerfert, javed.absar, nhaehnle, wdng, jvesely, MatzeB.
If there were only dbg_values in the block, recede would hit the
beginning of the block and try to use thet dbg_value as a real
instruction.
This may be incomplete, since I am still able to reproduce another assert
I hit while reducing the original testcase, and at another point working on this patch.
The second assert is however resisting attempts to come up with a reduced testcase.
https://reviews.llvm.org/D59144
Files:
lib/CodeGen/RegisterPressure.cpp
test/CodeGen/AMDGPU/debug-value-scheduler-crash.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59144.189884.patch
Type: text/x-patch
Size: 9031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190308/e6081a0c/attachment.bin>
More information about the llvm-commits
mailing list