diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-04-12 13:10:55 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-04-13 14:12:04 -0400 |
commit | 9c2a5db997446a9438a3e01f5229dec3f78b09e7 (patch) | |
tree | 9cc090d2104f2033d75fbcc21db9e3314a337e89 /gcc/range-op-float.cc | |
parent | 52bb22bb5e1f951c73b5cd43b0b3a423f67e5e7a (diff) | |
download | gcc-9c2a5db997446a9438a3e01f5229dec3f78b09e7.zip gcc-9c2a5db997446a9438a3e01f5229dec3f78b09e7.tar.gz gcc-9c2a5db997446a9438a3e01f5229dec3f78b09e7.tar.bz2 |
Ensure PHI equivalencies do not dominate the argument edge.
When we create an equivalency between a PHI definition and an argument,
ensure the definition does not dominate the incoming argument edge.
PR tree-optimization/108139
PR tree-optimization/109462
* gimple-range-cache.cc (ranger_cache::fill_block_cache): Remove
equivalency check for PHI nodes.
* gimple-range-fold.cc (fold_using_range::range_of_phi): Ensure def
does not dominate single-arg equivalency edges.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions