[LegalizeDAG] Pass DAG to two calls to SDNode::dump in debug prints so that they...
authorCraig Topper <craig.topper@intel.com>
Tue, 3 Sep 2019 02:51:14 +0000 (02:51 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 3 Sep 2019 02:51:14 +0000 (02:51 +0000)
commit9c74c7740443121e366cd424eaa31acefacaae33
tree216eb9b9d274b92dbe9257636e99fb5dd27f1eda
parentdcecc7ea468d62dda89bd7666001a1412dae6345
[LegalizeDAG] Pass DAG to two calls to SDNode::dump in debug prints so that they will print target specific nodes correctly.

The dump methods can only print target node names correctly if
they can get access to the TLI object.

llvm-svn: 370694
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp