summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
AgeCommit message (Expand)Author
2025-09-10[InstCombine] Preserve nneg in foldLogicCastConstant (#157865)Hongyu Chen
2025-09-08[InstCombine][VectorCombine][NFC] Unify uses of lossless inverse cast (#156597)Hongyu Chen
2025-08-24[Reland][PatternMatch] Add `m_[Shift]OrSelf` matchers. NFC. (#154375)Yingwei Zheng
2025-08-22[InstCombine] Fold `(x == A) || (x & -Pow2) == A + 1` into range check (#153842)Pedro Lobo
2025-08-15[InstCombine] Fold integer unpack/repack patterns through ZExt (#153583)zGoldthorpe
2025-08-11Revert "[PatternMatch] Add `m_[Shift]OrSelf` matchers." (#152953)Yingwei Zheng
2025-08-11[PatternMatch] Add `m_[Shift]OrSelf` matchers. (#152924)Yingwei Zheng
2025-07-30[InstCombine] Added pattern for recognising the construction of packed intege...zGoldthorpe
2025-07-23[PatternMatch] Add support for capture-and-match (NFC) (#149825)Nikita Popov
2025-07-11[InstCombine] Fold umul.overflow(x, c1) | (x*c1 > c2) to x > c2/c1 (#147327)Marius Kamp
2025-07-07[InstCombine] Extend bitmask mul combine to handle independent operands (#142...Jeffrey Byrnes
2025-06-29[InstCombine] Create Icmp in canonical form (NFC) (#146266)Andreas Jonson
2025-06-11[InstCombine] Combine or-disjoint (and->mul), (and->mul) to and->mul (#136013)Jeffrey Byrnes
2025-06-04[InstCombine] Fix miscompilation in `sinkNotIntoLogicalOp` (#142727)Yingwei Zheng
2025-06-03[ValueTracking] Make Depth last default arg (NFC) (#142384)Ramkumar Ramachandra
2025-05-30Reland: [InstCombine] Combine and->cmp->sel->or-disjoint into and->mul (#142035)Jeffrey Byrnes
2025-05-28Revert "[InstCombine] Combine and->cmp->sel->or-disjoint into and->mul (#1352...Jeffrey Byrnes
2025-05-28[InstCombine] Combine and->cmp->sel->or-disjoint into and->mul (#135274)Jeffrey Byrnes
2025-05-22Reland [llvm] add GenericFloatingPointPredicateUtils #140254 (#141065)Tim Gymnich
2025-05-21Revert "[llvm] add GenericFloatingPointPredicateUtils (#140254)" (#140968)Kewen12
2025-05-21[llvm] add GenericFloatingPointPredicateUtils (#140254)Tim Gymnich
2025-05-08[InstCombine] Pass disjoint in or combine (#138800)fengfeng
2025-05-06[InstCombine] Handle isnormal idiom (#125454)Yingwei Zheng
2025-04-26[InstCombine] Preserve disjoint or after folding casted bitwise logic (#136815)Jim Lin
2025-04-25[InstCombine] Refactor the code for folding logicop and sext/zext. NFC. (#137...Jim Lin
2025-04-24[CmpInstAnalysis] Decompose icmp eq (and x, C) C2 (#136367)Jeffrey Byrnes
2025-04-24[InstCombine] Do not fold logical is_finite test (#136851)Yingwei Zheng
2025-04-14[InstCombine] Fold fneg/fabs patterns with ppc_f128 (#130557)Yingwei Zheng
2025-04-09[InstCombine] handle trunc to i1 in foldLogOpOfMaskedICmps. (#128861)Andreas Jonson
2025-03-09[InstCombine] Add handling for (or (zext x), (shl (zext (ashr x, bw/2-1))), b...Simon Pilgrim
2025-03-06[InstCombine] recognize missed i128 split optimization (#129363)Muhammad Bassiouni
2025-02-27[InstCombine] matchOrConcat - return Value* not Instruction* (#128921)Simon Pilgrim
2025-02-07[InstCombine] Drop samesign in `foldLogOpOfMaskedICmps` (#125829)Yingwei Zheng
2025-02-06[InstCombine] Extend #125676 to handle variable power of 2 (#125855)Yingwei Zheng
2025-02-05[InstCombine] Fold xor of bittests into bittest of xor'd value (#125676)Yingwei Zheng
2025-01-17[InstCombine] Simplify FMF propagation. NFC. (#121899)Yingwei Zheng
2025-01-15[InstCombine] Prepare foldLogOpOfMaskedICmps to handle trunc to i1. (NFC) (#1...Andreas Jonson
2025-01-09[IRBuilder] Add a helper function to intersect FMFs from two instructions (#1...Yingwei Zheng
2025-01-08[InstCombine] move foldAndOrOfICmpsOfAndWithPow2 into foldLogOpOfMaskedICmps ...Andreas Jonson
2025-01-07[InstCombine] Fold `(A | B) ^ (A & C) --> A ? ~C : B` (#121906)Yingwei Zheng
2025-01-07[InstCombine] Always treat inner and/or as bitwise (#121766)Yingwei Zheng
2025-01-06[IRBuilder] Refactor FMF interface (#121657)Yingwei Zheng
2024-12-18[InstCombine] Drop samesign flags in `foldLogOpOfMaskedICmps_NotAllZeros_BMas...Yingwei Zheng
2024-12-13PatternMatch: migrate to CmpPredicate (#118534)Ramkumar Ramachandra
2024-12-09[InstCombine] Match range check pattern with SExt (#118910)Matthias Braun
2024-11-25[InstCombine] Handle trunc i1 pattern in eq-of-parts fold (#112704)Nikita Popov
2024-11-25[InstCombine] Support reassoc for foldLogicOfFCmps (#116065)Nikita Popov
2024-11-14[DebugInfo][InstCombine] When replacing bswap idiom, add DebugLoc to new inst...Stephen Tozer
2024-10-22[NFC] Fix missplaced commentAndreas Jonson
2024-10-21[InstCombine] Preserve the flag from RHS only if the `and` is bitwise (#113164)XChy