]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add details output for assume processing.
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 5 Nov 2024 17:52:51 +0000 (12:52 -0500)
committerAndrew MacLeod <amacleod@redhat.com>
Wed, 6 Nov 2024 13:51:21 +0000 (08:51 -0500)
commit137b26412f681bb1f8b3eb52b8f9efd79e6bda2a
tree162a7be85a938372a407f8ce33eb88f1046bd618
parent85736ba8e1fc4a5003f958dd268a155e379e059f
Add details output for assume processing.

The Assume pass simply produces results, with no indication of how it
arrived as the results it gets.  Add some output to the details listing.

The only functional change is when gori is used to calculate a range
more than once (ie, multiple uses), we now load the merged range rather
than just using the last calculated one.

* tree-assume.cc (assume_query::assume_query): Add debug output.
(assume_query::update_parms): Likewise.
(assume_query::calculate_phi): Likewise.
(assume_query::calculate_op): Likewise.  Also pick up any
merged path values.
(assume_query::calculate_stmt): Likewise.
gcc/tree-assume.cc