summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
AgeCommit message (Expand)Author
2025-07-06[DAG] foldABSToABD - fallback to value tracking if the (ABS (SUB LHS, RHS)) o...Simon Pilgrim
2025-07-04[DAG] Fix static analyzer warning about mismatched argument comments in isCon...Simon Pilgrim
2025-07-03[DAG] combineVSelectWithAllOnesOrZeros - reusing existing VT. NFC.Simon Pilgrim
2025-07-02[DAG] Refactor X86 combineVSelectWithAllOnesOrZeros fold into a generic DAG C...woruyu
2025-07-02[DAG] visitFREEZE - always allow freezing multiple operands (#145939)Simon Pilgrim
2025-07-01[SelectionDAG] Fix NaN regression in fma dag-combine. (#146592)James Y Knight
2025-07-01[DAG] visitFREEZE - remove isGuaranteedNotToBeUndefOrPoison assertion (#146490)Simon Pilgrim
2025-06-30[DAGCombiner] Remove `UnsafeFPMath` usage in `visitFSUBForFMACombine` etc. (#...paperchalice
2025-06-26[AMDGPU][SDAG] Add ISD::PTRADD DAG combines (#142739)Fabian Ritter
2025-06-25[SelectionDAG] Remove UnsafeFPMath check in `visitFADDForFMACombine` (#127770)paperchalice
2025-06-24[DAG] Fold nested add(add(reduce(a), b), add(reduce(c), d)) (#115150)David Green
2025-06-23[DAGCombiner][RISCV] Don't propagate the exact flag from udiv/sdiv to urem/sr...Craig Topper
2025-06-22[CodeGen] Use range-based for loops (NFC) (#145251)Kazu Hirata
2025-06-22[SelectionDAG] Handle `fneg`/`fabs`/`fcopysign` in `SimplifyDemandedBits` (#1...Iris Shi
2025-06-20[DAG] foldMaskedMerge - fix Wparentheses operator precedence warning. NFC.Simon Pilgrim
2025-06-19[SelectionDAG][RISCV] Preserve nneg flag when folding (trunc (zext X))->(zext...Craig Topper
2025-06-18[DAG] add (~a | x) & (a | y) -> (a & (x ^ y)) ^y for foldMaskedMerge (#144342)woruyu
2025-06-18[DAG] Implement SDPatternMatch `m_Abs()` matcher (#144512)Rajveer Singh Bharadwaj
2025-06-17[DAG] Move foldMaskedMerge before visitAND. NFC.Simon Pilgrim
2025-06-16[DAG] Fold (and X, (add (not Y), Z)) -> (and X, (not (sub Y, Z))). (#141476)Xu Zhang
2025-06-12[DAG] Convert foldMaskedMerge to SDPatternMatch to match (m & x) | (~m & y) (...woruyu
2025-06-11Reland "[SelectionDAG] Make `(a & x) | (~a & y) -> (a & (x ^ y)) ^ y` availab...Iris Shi
2025-06-11Revert "[SelectionDAG] Make `(a & x) | (~a & y) -> (a & (x ^ y)) ^ y` availab...Iris Shi
2025-06-10DAG: Assert fcmp uno runtime calls are boolean values (#142898)Matt Arsenault
2025-06-09[SDAG] Add partial_reduce_sumla node (#141267)Philip Reames
2025-06-09[SelectionDAG] Make `(a & x) | (~a & y) -> (a & (x ^ y)) ^ y` available for a...Iris Shi
2025-06-08[DAGCombiner] Allow freeze to sink through fmul by adding it to AllowMultiple...Harrison Hao
2025-06-08[SelectionDAG] Use DAG.getSelect (NFC) (#143276)AZero13
2025-05-30[DAGCombiner] Teach SearchForAndLoads to handle an AND with 2 constant operan...Craig Topper
2025-05-30[DAGCombiner] Use APInt::isSubsetOf. NFC (#142029)Craig Topper
2025-05-29[SDAG] Split the partial reduce legalize table by opcode [nfc] (#141970)Philip Reames
2025-05-29[AArch64][SelectionDAG] Add type legalization for partial reduce wide adds (#...Nicholas Guy
2025-05-29[SDAG] Make Select-with-Identity-Fold More Flexible; NFC (#136554)Marius Kamp
2025-05-28[SelectionDAG] Introduce ISD::PTRADD (#140017)Fabian Ritter
2025-05-20[LLVM][AArch64] Correctly lower funnel shifts by constants. (#140058)Paul Walker
2025-05-20[DAGCombine] Use isLegalExtLoad for MatchLoadCombine (#140536)David Green
2025-05-17[DAGCombiner] Fix a "subtraction if above a constant threshold" miscompile (#...Piotr Fusik
2025-05-16[SelectionDAG] Rename MemSDNode::getOriginalAlign to getBaseAlign. NFC (#139930)Craig Topper
2025-05-16[DAGCombiner] Remove hasOneUse check from sext+sext_inreg to sext_inreg combi...Pierre van Houtryve
2025-05-15[DAGCombiner] Fold pattern for srl-shl-zext (REAPPLIED) (#140038)Alexander Peskov
2025-05-14Revert bbc5221c95343d8d6869dce83d6fcf183767bd9f "[DAGCombiner] Fold pattern f...Simon Pilgrim
2025-05-14[DAGCombiner] Fold pattern for srl-shl-zext (#138290)Alexander Peskov
2025-05-13[DAG] visitINSERT_VECTOR_ELT - convert to or mask if all insertions are -1 (#...AZero13
2025-05-08[DAG/RISCV] Continue mitgrating to getInsertSubvector and getExtractSubvectorPhilip Reames
2025-05-06[DAGCombiner] Add DAG combine for PARTIAL_REDUCE_MLA when no mul op (#131326)Nicholas Guy
2025-05-06[DAGCombine] Simplify partial_reduce_*mla with constant. (#138289)Sander de Smalen
2025-05-06[DAG] Add SDPatternMatch::m_BitwiseLogic common matcher for AND/OR/XOR nodes ...Simon Pilgrim
2025-05-04[llvm] Remove unused local variables (NFC) (#138478)Kazu Hirata
2025-05-04[llvm] Remove unused local variables (NFC) (#138467)Kazu Hirata
2025-05-02[DAG] visitEXTRACT_SUBVECTOR - change fold helper methods to take operands in...Simon Pilgrim