Skip to content

Commit

Permalink
Fixed trace message in SPMD
Browse files Browse the repository at this point in the history
Trace messages when a tree top was not valid for SPMD were displaying incorrect
addresses of the nodes, this will use the proper address

Signed-off-by: Ryan Santhirarajan <[email protected]>
  • Loading branch information
Ryan Santhirarajan committed Oct 20, 2017
1 parent 80eb5ec commit ffc155f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/tr.source/trj9/optimizer/SPMDPreCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool SPMDPreCheck::isSPMDCandidate(TR::Compilation *comp, TR_RegionStructure *lo
}

// unsafe opcode - we will skip LAR and SPMD
traceMsg(comp, "SPMD PRE-CHECK FAILURE: found disallowed opcode %s at treetop %p in loop %d\n", comp->getDebug()->getName(node->getOpCodeValue()), tt, loop->getNumber());
traceMsg(comp, "SPMD PRE-CHECK FAILURE: found disallowed treetop opcode %s at node %p in loop %d\n", comp->getDebug()->getName(node->getOpCodeValue()), node, loop->getNumber());
return false;
}
}
Expand Down

0 comments on commit ffc155f

Please sign in to comment.