summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
AgeCommit message (Expand)Author
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
2024-10-17[LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (#112706)Jay Foad
2024-10-17[InstCombine] Add shared helper for logical and bitwise and/or (NFC)Nikita Popov
2024-10-16[InstCombine] Drop `samesign` flag in `foldAndOrOfICmpsWithConstEq` (#112489)Yingwei Zheng
2024-10-14[InstCombine] Drop range attributes in `foldIsPowerOf2OrZero` (#112178)Yingwei Zheng
2024-10-11[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752)Rahul Joshi
2024-10-11[InstCombine] Drop range attributes in `foldIsPowerOf2` (#111946)Yingwei Zheng
2024-10-04[InstCombine] Decompose more icmps into masks (#110836)Nikita Popov
2024-09-25[CmpInstAnalysis] Return decomposed bit test as struct (NFC) (#109819)Nikita Popov
2024-09-23[InstCombine] Fix nits in new xor foldNikita Popov
2024-09-22[InstCombine] Fold Xor with or disjoint (#105992)Amr Hesham
2024-08-27[InstCombine] Simplify `(add/sub (sub/add) (sub/add))` irrelivant of use-countNoah Goldstein