diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-11-09 10:58:15 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-11-11 10:07:50 -0500 |
commit | dab5d73959cfc8f03cba548777adda9a798e1f0e (patch) | |
tree | 236cc905e8c2c4036b40b8a3a36e85253676d42f /gcc/gimple-range.cc | |
parent | ca1db2725a3232b2e15eaa1bd7fbe33927843476 (diff) | |
download | gcc-dab5d73959cfc8f03cba548777adda9a798e1f0e.zip gcc-dab5d73959cfc8f03cba548777adda9a798e1f0e.tar.gz gcc-dab5d73959cfc8f03cba548777adda9a798e1f0e.tar.bz2 |
process transitive inferred ranges in pre_fold_stmt.
The subst_and_fold engine can perform some folding activity before
calling fold_stmt, so do this work in pre_fold_stmt instead.
* tree-vrp.cc (rvrp_folder::rvrp_folder): Init m_last_bb_stmt.
(rvrp_folder::pre_fold_bb): Set m_last_bb_stmt.
(rvrp_folder::pre_fold_stmt): Check for transitive inferred ranges.
(rvrp_folder::fold_stmt): Check in pre_fold_stmt instead.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions