While looking into match.pd for a pattern that was similar, I noticed
a small cleanup that could be done, and then I found a few more places
and an small improvement to one patch.
The first two are just cleanups while the second one removes a check
which is not needed and should improve the generated code from genmatch
and speed up the compiler slightly; also it might also allow for some other
optimizations that was not there before.

All bootstrapped and tested on x86_64-linux-gnu.

Andrea Pinski (3):
  match: Don't use for loop for maybe_cmp
  match: Use tcc_comparison directly in one more place
  match: Remove comparison check for a vec_cond pattern

 gcc/match.pd | 71 +++++++++++++++++++++++-----------------------------
 1 file changed, 32 insertions(+), 39 deletions(-)

-- 
2.43.0

Reply via email to