diff options
author | Eric Anholt <[email protected]> | 2013-12-22 23:29:31 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-02-22 19:23:21 -0800 |
commit | a76e5dce4fc8d50f8699c108833f24e80167d706 (patch) | |
tree | 1518cbcd4155eeff04dea015ec5f8f5837bf0d04 /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | |
parent | 1e3bd9f9a5af90295788c5d71ea27c61eb7bd984 (diff) |
i965: Move compiler debugging output to stderr.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp index a145923396d..2816d3c14ee 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp @@ -250,26 +250,26 @@ fs_copy_prop_dataflow::dump_block_data() const { for (int b = 0; b < cfg->num_blocks; b++) { bblock_t *block = cfg->blocks[b]; - printf("Block %d [%d, %d] (parents ", block->block_num, + fprintf(stderr, "Block %d [%d, %d] (parents ", block->block_num, block->start_ip, block->end_ip); foreach_list(block_node, &block->parents) { bblock_t *parent = ((bblock_link *) block_node)->block; - printf("%d ", parent->block_num); + fprintf(stderr, "%d ", parent->block_num); } - printf("):\n"); - printf(" livein = 0x"); + fprintf(stderr, "):\n"); + fprintf(stderr, " livein = 0x"); for (int i = 0; i < bitset_words; i++) - printf("%08x", bd[b].livein[i]); - printf(", liveout = 0x"); + fprintf(stderr, "%08x", bd[b].livein[i]); + fprintf(stderr, ", liveout = 0x"); for (int i = 0; i < bitset_words; i++) - printf("%08x", bd[b].liveout[i]); - printf(",\n copy = 0x"); + fprintf(stderr, "%08x", bd[b].liveout[i]); + fprintf(stderr, ",\n copy = 0x"); for (int i = 0; i < bitset_words; i++) - printf("%08x", bd[b].copy[i]); - printf(", kill = 0x"); + fprintf(stderr, "%08x", bd[b].copy[i]); + fprintf(stderr, ", kill = 0x"); for (int i = 0; i < bitset_words; i++) - printf("%08x", bd[b].kill[i]); - printf("\n"); + fprintf(stderr, "%08x", bd[b].kill[i]); + fprintf(stderr, "\n"); } } |