aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.cc
AgeCommit message (Expand)AuthorFilesLines
2024-09-03Do not assert NUM_POLY_INT_COEFFS != 1 earlyRichard Biener1-1/+2
2024-09-03SVE intrinsics: Refactor const_binop to allow constant folding of intrinsics.Jennifer Schmitz1-89/+100
2024-08-31Optimize initialization of small padded objectsAlexandre Oliva1-0/+36
2024-08-22fold: Fix `a * 1j` if a has side effects [PR116454]Andrew Pinski1-10/+22
2024-07-22Fix hash of WIDEN_*_EXPRRichard Biener1-1/+1
2024-07-19Treat boolean vector elements as 0/-1 [PR115406]Richard Sandiford1-2/+3
2024-07-18middle-end/115641 - invalid address constructionRichard Biener1-0/+3
2024-06-05Don't simplify NAN/INF or out-of-range constant for FIX/UNSIGNED_FIX.liuhongt1-1/+12
2024-06-04fold-const: Handle CTZ like CLZ in tree_call_nonnegative_warnv_p [PR115337]Jakub Jelinek1-0/+1
2024-06-04fold-const, gimple-fold: Some formatting cleanupsJakub Jelinek1-4/+4
2024-06-04fold-const: Fix up CLZ handling in tree_call_nonnegative_warnv_p [PR115337]Jakub Jelinek1-1/+5
2024-06-03Remove value_range typedef.Aldy Hernandez1-2/+2
2024-04-04fold-const: Handle NON_LVALUE_EXPR in native_encode_initializer [PR114537]Jakub Jelinek1-0/+2
2024-03-26fold-const: Punt on MULT_EXPR in extract_muldiv MIN/MAX_EXPR case [PR111151]Jakub Jelinek1-0/+21
2024-03-10Fold: Fix up merge_truthop_with_opposite_arm for NaNs [PR95351]Andrew Pinski1-1/+2
2024-02-26fold-const: Avoid infinite recursion in +-*&|^minmax reassociation [PR114084]Jakub Jelinek1-10/+41
2024-01-25fold-const: Handle AND, IOR, XOR with stepped vectors [PR112971].Robin Dapp1-0/+31
2024-01-23fold-const: Fold larger VIEW_CONVERT_EXPRs [PR113462]Jakub Jelinek1-5/+17
2024-01-12middle-end/113344 - is_truth_type_for vs GENERIC tcc_comparisonRichard Biener1-1/+1
2024-01-11tree-optimization/113126 - vector extension compare optimizationRichard Biener1-1/+2
2024-01-03Update copyright years.Jakub Jelinek1-1/+1
2023-12-11MATCH: (convert)(zero_one !=/== 0/1) for outer type and zero_one type are the...Andrew Pinski1-27/+0
2023-11-29fold-const: Fix up multiple_of_p [PR112733]Jakub Jelinek1-1/+1
2023-11-27PR111754: Rework encoding of result for VEC_PERM_EXPR with constant input vec...Prathamesh Kulkarni1-19/+91
2023-11-10Handle constant CONSTRUCTORs in operand_compareEric Botcazou1-7/+67
2023-10-19PR111648: Fix wrong code-gen due to incorrect VEC_PERM_EXPR folding.Prathamesh Kulkarni1-11/+103
2023-10-16use more get_range_queryJiufu Guo1-5/+1
2023-10-12wide-int: Allow up to 16320 bits wide_int and change widest_int precision to ...Jakub Jelinek1-3/+11
2023-10-10tree-optimization/111751 - support 1024 bit vector constant reinterpretationRichard Biener1-2/+2
2023-09-29Remove poly_int_podRichard Sandiford1-2/+2
2023-09-12fold-const: Handle BITINT_TYPE in range_check_typeJakub Jelinek1-1/+6
2023-09-09Support folding min(poly,poly) to constLehua Ding1-0/+24
2023-09-07middle-end: Avoid calling targetm.c.bitint_type_info inside of gcc_assert [PR...Jakub Jelinek1-4/+4
2023-09-06Middle-end _BitInt support [PR102989]Jakub Jelinek1-9/+66
2023-08-21PR111048: Set arg_npatterns correctly.Prathamesh Kulkarni1-7/+37
2023-08-18tree-optimization/111048 - avoid flawed logic in fold_vec_permRichard Biener1-6/+6
2023-08-16Extend fold_vec_perm to handle VLA vector_cst.Prathamesh Kulkarni1-21/+778
2023-07-18c++: constexpr bit_cast with empty fieldJason Merrill1-1/+2
2023-06-30fold-const+optabs: Change return type of predicate functions from int to boolUros Bizjak1-34/+34
2023-06-23Fix tree_simple_nonnegative_warnv_p for VECTOR_TYPEsRichard Biener1-1/+2
2023-06-23Bogus and missed folding on vector comparesRichard Biener1-2/+2
2023-06-16tree-optimization/110269 - restore missed condition foldingRichard Biener1-7/+0
2023-06-13middle-end/110232 - fix native interpret of vector <signed-boolean:1>Richard Biener1-7/+4
2023-05-30Add a != MIN/MAX_VALUE_CST ? CST-+1 : a to minmax_from_comparisonAndrew Pinski1-0/+26
2023-05-23Fix handling of non-integral bit-fields in native_encode_initializerEric Botcazou1-10/+17
2023-05-20Move fold_single_bit_test to expr.cc from fold-const.ccAndrew Pinski1-112/+0
2023-05-18gcc: use _P() defines from tree.hBernhard Reutner-Fischer1-24/+22
2023-05-01Conversion to irange wide_int API.Aldy Hernandez1-2/+1
2023-04-28MATCH: Factor out code that for min max detection with constantsAndrew Pinski1-0/+44
2023-04-04sanitizer: missing signed integer overflow errors [PR109107]Marek Polacek1-1/+2