mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
Debugging info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8399c5cbe4
commit
60e8c71c9f
@ -76,7 +76,7 @@ namespace {
|
|||||||
SDOperand CombineTo(SDNode *N, const std::vector<SDOperand> &To) {
|
SDOperand CombineTo(SDNode *N, const std::vector<SDOperand> &To) {
|
||||||
++NodesCombined;
|
++NodesCombined;
|
||||||
DEBUG(std::cerr << "\nReplacing "; N->dump();
|
DEBUG(std::cerr << "\nReplacing "; N->dump();
|
||||||
std::cerr << "\nWith: "; To[0].Val->dump();
|
std::cerr << "\nWith: "; To[0].Val->dump(&DAG);
|
||||||
std::cerr << " and " << To.size()-1 << " other values\n");
|
std::cerr << " and " << To.size()-1 << " other values\n");
|
||||||
std::vector<SDNode*> NowDead;
|
std::vector<SDNode*> NowDead;
|
||||||
DAG.ReplaceAllUsesWith(N, To, &NowDead);
|
DAG.ReplaceAllUsesWith(N, To, &NowDead);
|
||||||
@ -128,7 +128,7 @@ namespace {
|
|||||||
// Replace the old value with the new one.
|
// Replace the old value with the new one.
|
||||||
++NodesCombined;
|
++NodesCombined;
|
||||||
DEBUG(std::cerr << "\nReplacing "; TLO.Old.Val->dump();
|
DEBUG(std::cerr << "\nReplacing "; TLO.Old.Val->dump();
|
||||||
std::cerr << "\nWith: "; TLO.New.Val->dump());
|
std::cerr << "\nWith: "; TLO.New.Val->dump(&DAG));
|
||||||
|
|
||||||
std::vector<SDNode*> NowDead;
|
std::vector<SDNode*> NowDead;
|
||||||
DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New, NowDead);
|
DAG.ReplaceAllUsesOfValueWith(TLO.Old, TLO.New, NowDead);
|
||||||
@ -577,7 +577,7 @@ void DAGCombiner::Run(bool RunningAfterLegalize) {
|
|||||||
// mechanics for us, we have no work to do in this case.
|
// mechanics for us, we have no work to do in this case.
|
||||||
if (RV.Val != N) {
|
if (RV.Val != N) {
|
||||||
DEBUG(std::cerr << "\nReplacing "; N->dump();
|
DEBUG(std::cerr << "\nReplacing "; N->dump();
|
||||||
std::cerr << "\nWith: "; RV.Val->dump();
|
std::cerr << "\nWith: "; RV.Val->dump(&DAG);
|
||||||
std::cerr << '\n');
|
std::cerr << '\n');
|
||||||
std::vector<SDNode*> NowDead;
|
std::vector<SDNode*> NowDead;
|
||||||
DAG.ReplaceAllUsesWith(N, std::vector<SDOperand>(1, RV), &NowDead);
|
DAG.ReplaceAllUsesWith(N, std::vector<SDOperand>(1, RV), &NowDead);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user