This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH 1/2] Auto-generate maybe_fold_and/or_comparisons from match.pd
On Wed, 11 Sep 2019, Martin Liška wrote:
> One another updated version of the patch.
> Changes from the previous version:
> - I fixed:
> gimple *stmt1 = (gimple *) XALLOCAVEC (char, gimple_size (GIMPLE_ASSIGN, 2));
> into gimple_size (GIMPLE_ASSIGN, 3)
> - I simplified condition in gimple_simplified_result_is_gimple_val
> - optimize_vec_cond_expr is using build_same_sized_truth_vector_type
Can you here instead amend ovce_extract_ops to return the type of
'cond' which should be the type you want?
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
> Ready to be installed?