diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-11-10 11:15:52 +0100 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-11-11 14:52:09 +0100 |
commit | 17586bdc34ba7c23e4af1277649c59e5308f843d (patch) | |
tree | e0518afd6257beedff413d4e421d00fbac165cba /gcc/gimple-range.cc | |
parent | af96500eea72c674a5686b35c66202ef2bd9688f (diff) | |
download | gcc-17586bdc34ba7c23e4af1277649c59e5308f843d.zip gcc-17586bdc34ba7c23e4af1277649c59e5308f843d.tar.gz gcc-17586bdc34ba7c23e4af1277649c59e5308f843d.tar.bz2 |
[range-ops] Add tree code to range_operator.
This patch adds a tree code to range_operator in order to known which
tree code to pass into bit-CCP.
Up to now range-ops has been free of tree details, with the exception
of the div entries which use a tree code to differentiate between
them. This is still the goal going forward, but this is a stop-gap
until we can merge the CCP and range-op bit handling in the next
release.
No change in performance.
gcc/ChangeLog:
* range-op.cc: (range_op_table::set): Set m_code.
(integral_table::integral_table): Handle shared entries.
(pointer_table::pointer_table): Same.
* range-op.h (class range_operator): Add m_code.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions