aboutsummaryrefslogtreecommitdiff
path: root/gcc/match.pd
AgeCommit message (Expand)AuthorFilesLines
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
2016-05-17Fold bit_not through ASR and rotateMikhail Maltsev1-0/+21
2016-05-17x & C -> x if we know that x & ~C == 0Marc Glisse1-0/+9
2016-05-17~X & Y to X ^ Y in some casesMarc Glisse1-0/+8
2016-05-10Simple bitop reassoc in match.pdMarc Glisse1-4/+35
2016-05-09re PR tree-optimization/70985 (ICE on valid code at -O3 on x86_64-linux-gnu: ...Richard Biener1-0/+2
2016-05-04match.pd: Add BIT_FIELD_REF canonicalizations and vector constructor simplifi...Richard Biener1-0/+96
2016-05-04Remove duplicate (A & B) OP (C & B) in match.pd.Marc Glisse1-10/+5
2016-05-02Canonicalize X u< X to UNORDERED_EXPRMarc Glisse1-0/+4
2016-05-02Move "X +- C1 CMP C2 to X CMP C2 -+ C1" to match.pdMarc Glisse1-0/+44
2016-04-29re PR tree-optimization/13962 ([tree-ssa] make "fold" use alias information t...Richard Biener1-0/+8
2016-04-28re PR tree-optimization/70840 (revisit reassoc handling of pow / powi, amend ...Richard Biener1-2/+20
2016-04-27match.pd: unsigned A - B > A --> A < BMarc Glisse1-0/+54
2016-04-26match.pd: u + 3 < u is u > UINT_MAX - 3Marc Glisse1-0/+26
2016-04-26match.pd: X + X --> X * 2 for integersMarc Glisse1-2/+4
2016-04-21min(-x, -y), min(~x, ~y)Marc Glisse1-0/+16
2016-04-21max(INT_MIN, x) -> xMarc Glisse1-8/+18
2016-04-05re PR c++/70336 (Incorrect Wconversion warning)Jakub Jelinek1-1/+2
2016-03-23re PR tree-optimization/70251 (Wrong code with -O3 -march=skylake-avx512.)Richard Biener1-4/+4
2016-03-22re PR tree-optimization/70251 (Wrong code with -O3 -march=skylake-avx512.)Richard Biener1-9/+7
2016-03-21re PR tree-optimization/70317 (folding x<=x to true for large vectors, ignori...Marc Glisse1-2/+2
2016-03-17match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Apply for boolean vector...Ilya Enkovich1-0/+2
2016-03-03re PR middle-end/70050 (ICE: tree check: expected integer_type or enumeral_ty...Marek Polacek1-1/+2
2016-02-18re PR middle-end/69854 (ICE: tree check: expected class 'constant', have 'bin...Richard Biener1-5/+5
2016-02-15re PR tree-optimization/69595 (Bogus -Warray-bound warning due to missed opti...Richard Biener1-2/+2
2016-02-12cgraph.c: Spelling fixes - behaviour -> behavior and neighbour -> neighbor.Jakub Jelinek1-2/+2
2016-02-10re PR tree-optimization/69726 (Bogus warnings with -O3 -Wuninitialized becaus...Richard Biener1-0/+23