[LLVMdev] ScheduleDAG Question

David Greene dag at cray.com
Thu Sep 3 09:59:51 PDT 2009


On Thursday 03 September 2009 11:48, David Greene wrote:
> I'm debugging a ScheduleDAG problem.  Somehow a load appearing
> before a call in the source gets scheduled after the call.
> Since the callee modifies the location loaded from, wrong answers result.
>
> Looking at the dag with -view-sched-dags, I don't see an edge from the
> load to depend on the call.

-view-sunit-dags seems to indicate such an edge does exist.  Any
pointers on how to efficiently debug this?

                                   -Dave



More information about the llvm-dev mailing list