[SelectionDAG] Pass DAG to checkForCycles
authorAdam Nemet <anemet@apple.com>
Sat, 31 May 2014 16:23:17 +0000 (16:23 +0000)
committerAdam Nemet <anemet@apple.com>
Sat, 31 May 2014 16:23:17 +0000 (16:23 +0000)
commitaa8deedcb2abd03ce312a240d6faa28c2733363d
treea77b2a8db25be4a87e22171869077328255573e3
parent8394a4ca4301e85c59a85c61f2389f1dea482d07
[SelectionDAG] Pass DAG to checkForCycles

Pass the DAG down to checkForCycles from all callers where we have it.  This
allows target-specific nodes to be printed properly.

Also print some missing newlines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209976 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp