diff options
author | Tamar Christina <tamar.christina@arm.com> | 2023-10-18 09:49:36 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2023-10-18 09:53:48 +0100 |
commit | dd28f90c95378bf8ebb82a3dfdf24a6ad190877a (patch) | |
tree | 527e8ae7f63bad5616a0b747468fad35b1c0408c /gcc/rust/ast/rust-pattern.h | |
parent | 04227acbe9e6c60d1e314a6b4f2d949c07f30baa (diff) | |
download | gcc-dd28f90c95378bf8ebb82a3dfdf24a6ad190877a.zip gcc-dd28f90c95378bf8ebb82a3dfdf24a6ad190877a.tar.gz gcc-dd28f90c95378bf8ebb82a3dfdf24a6ad190877a.tar.bz2 |
ifcvt: rewrite args handling to remove lookups
This refactors the code to remove the args cache and index lookups
in favor of a single structure. It also again, removes the use of
std::sort as previously requested but avoids the new asserts in
trunk.
gcc/ChangeLog:
PR tree-optimization/109154
* tree-if-conv.cc (INCLUDE_ALGORITHM): Remove.
(typedef struct ifcvt_arg_entry): New.
(cmp_arg_entry): New.
(gen_phi_arg_condition, gen_phi_nest_statement,
predicate_scalar_phi): Use them.
Diffstat (limited to 'gcc/rust/ast/rust-pattern.h')
0 files changed, 0 insertions, 0 deletions