gnu /
gcc /
f0732cb1898891f60d2941c4680250582f6acf43 match: disable some match patterns for non GIMPLE
This disables some match (not the simplify one) patterns
for non-GIMPLE. All of the saturation related match patterns,
the clz/popcount related match patterns that are used from forwardprop.
Also cond_expr_convert_p and bitwise_induction_p match patterns.
These are only used from outside of match and simplify and only the
gimple form so there is no reason to generate the GENERIC form of
this.
THis should speed up bootstrap slightly by not generating or compiling
them. This should (when compiled without LTO) also improve the overall
size of the built binaries too.
For GCC 17, I am thinking about moving the gimple only simplify and match
patterns to their own file as match.pd is getting too big to search for
patterns.
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* match.pd: Disable a few match patterns for !GIMPLE.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
1 file changed