about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-02-17 13:46:54 +0900
committerGitHub <noreply@github.com>2020-02-17 13:46:54 +0900
commit50ddda694900e6e073c5d5c5d1bb4298a57d7749 (patch)
tree04c77140dd17b12ceb8d6148fb586ef3032dfd84 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentc3fed9fabd182a9479ada08d21313a9ed942436c (diff)
parent5c473a059e26614b65414cfb8cf75c283cda5a87 (diff)
downloadrust-50ddda694900e6e073c5d5c5d1bb4298a57d7749.tar.gz
rust-50ddda694900e6e073c5d5c5d1bb4298a57d7749.zip
Rollup merge of #69158 - ecstatic-morse:graphviz-diff, r=matthewjasper
Don't print block exit state in dataflow graphviz if unchanged

A small quality-of-life improvement I was using while working on #68528. It's pretty common to have a lot of zero-statement basic blocks, especially before a `SimplifyCfg` pass is run. When the dataflow state was dense, these blocks could take up a lot of vertical space since the full flow state was printed on both entry and exit. After this PR, we only print a block's exit state if it differs from that block's entry state. Take a look at the two basic blocks on the left.

Before:

![image](https://user-images.githubusercontent.com/29463364/74505395-e2d1dd00-4eab-11ea-8006-ec8f0dc9d1b6.png)

After:
![image](https://user-images.githubusercontent.com/29463364/74505277-98506080-4eab-11ea-8d95-5190bc378331.png)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions