diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-17 15:03:21 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-09-17 23:20:40 -0700 |
commit | 45cacfe7325bdbed4a2393927812561f64b9afd1 (patch) | |
tree | 76db09ab0292ac414a843f07da6d4ad142f65f8b /libsanitizer/aclocal.m4 | |
parent | 8590dcd318151336261f8381e1a24caece9e2375 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This C++ify cond_if_else_store_replacement by using range fors
and changing using a std::pair instead of 2 vecs.
I had a hard time understanding the code when there was 2 vecs
so having a vec of a pair makes it easier to understand the relationship
between the 2.
gcc/ChangeLog:
* tree-ssa-phiopt.cc (cond_if_else_store_replacement): Use
range fors and use one vec for then/else stores instead of 2.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'libsanitizer/aclocal.m4')
0 files changed, 0 insertions, 0 deletions