aboutsummaryrefslogtreecommitdiff
path: root/gcc/match.pd
AgeCommit message (Expand)AuthorFilesLines
2017-03-03re PR middle-end/79818 (wrong code with -fwrapv and -Os/-O1/-O2/-O3)Richard Biener1-1/+2
2017-01-04re PR tree-optimization/71563 (Regression in GCC-7.0.0's optimizer.)Jakub Jelinek1-0/+15
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
2016-12-21match.pd (max:c @0 (plus@2 @0 INTEGER_CST@1)): New Pattern.Naveen H.S1-0/+18
2016-12-10re PR tree-optimization/78720 (Illegal instruction in generated code)Jakub Jelinek1-6/+11
2016-12-07re PR middle-end/78691 (ICE compiling Linux boot code)Bin Cheng1-1/+2
2016-12-05match.pd: Simplify X ? C : 0 where C is a power of 2 and X tests a single bit.Paolo Bonzini1-0/+28
2016-12-02match.pd: Add new pattern: (cond (cmp (convert?Bin Cheng1-0/+100
2016-11-29re PR rtl-optimization/78546 (wrong code at -O2 and above)Richard Biener1-2/+9
2016-11-25re PR middle-end/78507 (ICE: tree check: expected integer_type or enumeral_ty...Bin Cheng1-14/+16
2016-11-24match.pd: Refine type conversion in result expr for below pattern: (cond (cmp...Bin Cheng1-3/+4
2016-11-23fold-const.c (fold_cond_expr_with_comparison): Move simplification for A == C...Bin Cheng1-27/+41
2016-11-23fold-const.c (fold_cond_expr_with_comparison): Move simplification for A cmp ...Bin Cheng1-0/+61
2016-11-23re PR middle-end/71762 (~X & Y to X < Y doesn't work for uninitialized values)Richard Biener1-27/+0
2016-11-23fold-const.c (tree_expr_nonzero_p): Make non-static.Naveen H.S1-0/+25
2016-11-20Simplify X /[ex] 8 == 0Marc Glisse1-0/+30
2016-11-20Simplify X / X, 0 / X and X % XMarc Glisse1-4/+22
2016-11-14Implement P0217R3 - C++17 structured bindingsJakub Jelinek1-2/+9
2016-11-07re PR middle-end/35691 (Missed (a == 0) && (b == 0) into (a|(typeof(a)(b)) ==...Prathamesh Kulkarni1-0/+12
2016-10-27match.pd ((convert (op:s (convert@2 @0) (convert?@3 @1)))): Add support for c...Bin Cheng1-5/+9
2016-10-27match.pd ((convert1 (minmax ((convert2 (x) c)))) -> minmax (x c)): New pattern.Bin Cheng1-0/+11
2016-10-21tree-ssa-loop-split.c: Remove trailing spaces.Eric Botcazou1-1/+1
2016-10-20re PR tree-optimization/53979 (((a ^ b) | a) not optimized to (a | b))Prathamesh Kulkarni1-0/+6
2016-10-17re PR tree-optimization/71636 (Missed optimization in variable alignment test)Prathamesh Kulkarni1-0/+6
2016-10-13re PR target/77826 (ICE in decompose, at wide-int.h:928 w/ -m64 -O2 and above)Richard Biener1-18/+12
2016-10-12match.pd ((X /[ex] A) * A -> X): Remove unnecessary constraint on the convers...Richard Biener1-4/+2
2016-10-05re PR target/77826 (ICE in decompose, at wide-int.h:928 w/ -m64 -O2 and above)Richard Biener1-3/+7
2016-10-05match.pd (copysign(x, CST) -> [-]abs (x)): New pattern.Richard Biener1-0/+8
2016-10-05re PR middle-end/55152 (MAX_EXPR(a,-a) is really ABS_EXPR(a))Richard Biener1-0/+7
2016-10-04re PR middle-end/77407 (Optimize integer i / abs (i) into the sign of i)Richard Biener1-3/+3
2016-09-29re PR middle-end/77407 (Optimize integer i / abs (i) into the sign of i)Richard Biener1-2/+15
2016-09-29re PR middle-end/55152 (MAX_EXPR(a,-a) is really ABS_EXPR(a))Richard Biener1-0/+7
2016-08-31match.pd: Revert a * (1 << b) relaxation.Marc Glisse1-2/+1
2016-08-19match.pd (x | 0 -> x): Add.Richard Biener1-4/+9
2016-08-12Fix PR middle-end/71654 (missed shortening of a compare)Patrick Palka1-1/+3
2016-08-06match.pd ((intptr_t) x eq/ne CST to x eq/ne (typeof x) cst): Disable transfor...Prathamesh Kulkarni1-3/+9
2016-07-27re PR middle-end/71078 (x/abs(x) -> sign(1.0,x))Prathamesh Kulkarni1-0/+14
2016-07-26re PR middle-end/70920 (if ((intptr_t)ptr == 0) doesn't get simplified to if ...Richard Biener1-0/+9
2016-07-20cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0.Uros Bizjak1-2/+2
2016-07-19builtins.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1...Uros Bizjak1-2/+2
2016-06-29match.pd ((T)(T2)x -> (T)x): Remove restriction on final precision not matchi...Richard Biener1-8/+3
2016-06-13Move optimize_minmax_comparison to match.pdMarc Glisse1-0/+32
2016-06-10* match.pd (-1 / B < A): Use :c to avoid pattern duplication.Alexander Monakov1-12/+2
2016-06-07re PR tree-optimization/71423 (wrong code at -Os and above on x86_64-linux-gnu)Richard Biener1-2/+6
2016-06-01re PR tree-optimization/71311 (spec2006 test case 416.gamess fails since r235...Richard Biener1-2/+3
2016-06-01match.pd ((A & B) - (A & ~B) -> B - (A ^ B)): Add missing :c.Richard Biener1-40/+5
2016-06-01genmatch.c (comparison_code_p): New predicate.Richard Biener1-2/+2
2016-05-30match.pd: optimize unsigned mul overflow checkAlexander Monakov1-0/+19
2016-05-23match.pd: Relax some tree_nop_conversion_pMarc Glisse1-15/+21
2016-05-20PR71206: inconsistent types after match.pd transformationMarc Glisse1-1/+1