[LLVMbugs] [Bug 6370] dag scheduler is nondeterministic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 23 20:28:54 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6370

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Chris Lattner <clattner at apple.com> 2010-02-23 22:28:53 CST ---
This turned out to maybe not be a schedule problem.  The issue is that the new
isel is not using selectnodeto yet, it is using getNode + replaceUses.  The key
difference here is that the resultant nodes have different ordering in the
allnodes array, which is changing the scheduling order.

I'm attaching a patch to make LatencyPriorityQueue work more like the other
one, but I don't know if it's useful at all.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list