[PATCH][PBQP] Provide more information in the debug prints

Arnaud A. de Grandmaison arnaud.degrandmaison at arm.com
Tue Feb 3 14:34:19 PST 2015

Hi Lang,


Based on the feedback from Jonas, and my own experience,  here is a patch
which adds some more information to the graph dumps : previously, we were
only dumping the node ids, and this made the graph and dot representation
not very user friendly nor very useable for debug. With this patch, the node
id is dumped together with the register it corresponds to, as well as its
register class.


I renamed dumpToStrem to dump, and moved the dump & printDot methods up to
PBQPRAGraph, because those methods now make use of the metadata information.


Does this sound OK to you ?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150203/0d2db8dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PBQP-Provide-more-information-in-the-debug-prints.patch
Type: application/octet-stream
Size: 7088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150203/0d2db8dd/attachment.obj>

More information about the llvm-commits mailing list