<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Fine with me.<div class="">Andy</div><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Mar 27, 2015, at 6:16 AM, Paweł Bylica <<a href="mailto:chfast@gmail.com" class="">chfast@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi Andrew, Quentin, Owen & Tom,<br class=""><br class=""></div><div class="">I'm not sure who is the owner of the code but I worked with Quentin and Andrew on the solution. I would like the fix to be included in 3.6.1.<br class=""><br class=""></div><div class="">- Paweł<br class=""></div><div class=""><br class="">r233351:<br class=""><br class=""></div>Bug: <a href="https://llvm.org/bugs/show_bug.cgi?id=22304" class="">https://llvm.org/bugs/show_bug.cgi?id=22304</a><br class=""></div>Review: <a href="http://reviews.llvm.org/D8556" class="">http://reviews.llvm.org/D8556</a><br class=""><div class=""><div class=""><br class="">Author: atrick<br class="">
Date: Thu Mar 26 22:44:13 2015<br class="">
New Revision: 233351<br class="">
<br class="">
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=233351&view=rev" target="_blank" class="">http://llvm.org/viewvc/llvm-project?rev=233351&view=rev</a><br class="">
Log:<br class="">
Fix a bug in SelectionDAG scheduling backtracking code: PR22304.<br class="">
<br class="">
It can happen (by line CurSU->isPending = true; // This SU is not in<br class="">
AvailableQueue right now.) that a SUnit is mark as available but is<br class="">
not in the AvailableQueue. For SUnit being selected for scheduling<br class="">
both conditions must be met.<br class="">
<br class="">
This patch mainly defensively protects from invalid removing a node<br class="">
from a queue. Sometimes nodes are marked isAvailable but are not in<br class="">
the queue because they have been defered due to some hazard.<br class="">
<br class="">
Patch by Pawel Bylica!<br class="">
<br class="">
Added:<br class="">
llvm/trunk/test/CodeGen/Generic/scheduler-backtracking.ll<br class="">
Modified:<br class="">
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp<br class=""></div></div></div>
</div></blockquote></div><br class=""></div></body></html>