Re: [PATCH 1/4] VN: Factor out inserting predicates for conditional

2024-11-06 Thread Richard Biener
On Sat, Nov 2, 2024 at 4:10 PM Andrew Pinski wrote: > > To make it easier to add more predicates in some cases, > factor out the code. Plus it makes the code slightly more > readable since it is not indented as much. > > Bootstrapped and tested on x86_64. OK. Thanks, Richard. > gcc/ChangeLog: >

[PATCH 1/4] VN: Factor out inserting predicates for conditional

2024-11-02 Thread Andrew Pinski
To make it easier to add more predicates in some cases, factor out the code. Plus it makes the code slightly more readable since it is not indented as much. Bootstrapped and tested on x86_64. gcc/ChangeLog: * tree-ssa-sccvn.cc (insert_predicates_for_cond): New function, factored out fro