summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
AgeCommit message (Expand)Author
2025-11-19[InstCombine] Canonicalize signed saturated additions (#153053)AZero13
2025-11-03[profcheck][InstCombine] Preserve branch weights in logical identities (#165810)Alan Zhao
2025-10-25[InstCombine] Fold shifts + selects with -1 to scmp(X, 0) (#164129)AZero13
2025-10-21[InstCombine][profcheck] Preserve profile with negated select conditionals (#...Alan Zhao
2025-10-20[IR] Replace alignment argument with attribute on masked intrinsics (#163802)Nikita Popov
2025-10-18[InstCombine] Add missing patterns for scmp and ucmp (#149225)AZero13
2025-10-14[InstCombine] Propagate Profile when Folding Implied Conditionals (#163412)Aiden Grossman
2025-10-11[InstCombine] Fix flag propagation in `foldSelectIntoOp` (#162003)Yingwei Zheng
2025-10-06[InstCombine] Preserve profile branch weights when folding logical booleans (...Alan Zhao
2025-10-05[InstCombine] Fix pointer replacement in `foldSelectValueEquivalence` (#161701)Yingwei Zheng
2025-10-03Reapply "[InstCombine] Preserve profile after folding select instructions wit...Alan Zhao
2025-10-03Revert "[InstCombine] Preserve profile after folding select instructions with...Mehdi Amini
2025-10-03[InstCombine] Preserve profile after folding select instructions with conditi...Alan Zhao
2025-10-02[InstCombine] Remove foldSelectWithFrozenICmp() fold (#161659)Nikita Popov
2025-09-24[InstCombine] Fold selects into masked loads (#160522)Matthew Devereau
2025-09-17[PatternMatch] Introduce match functor (NFC) (#159386)Ramkumar Ramachandra
2025-09-14[InstCombine] Fold select pattern with sub and negation to abs intrinsic (#15...AZero13
2025-09-08[InstCombine][VectorCombine][NFC] Unify uses of lossless inverse cast (#156597)Hongyu Chen
2025-09-02[InstCombine] Optimize usub.sat pattern (#151044)Nimit Sachdeva
2025-07-16[InstCombine] Optimize (select %x, op(%x), 0) to op(%x) for operations where ...Ryan Buchner
2025-06-13[InstCombine] Preserve NSW/NUW flags when folding const BOp with min/max (#14...Alex MacLean
2025-06-13[llvm][InstCombine] Fold select to cmp for weak and inverted inequalities (#1...Yash Solanki
2025-06-10[InstCombine] Fold max/min when incrementing/decrementing by 1 (#142466)Alex MacLean
2025-06-06[InstCombine] Allow min/max in constant BOp min/max folding (#142878)Alex MacLean
2025-06-04[InstCombine] Avoid infinite loop in `foldSelectValueEquivalence` (#142754)Yingwei Zheng
2025-06-03[ValueTracking] Make Depth last default arg (NFC) (#142384)Ramkumar Ramachandra
2025-05-31[InstCombine] Propagate FMF from select instead of fcmp (#141010)Yingwei Zheng
2025-05-30[InstCombine] Use `canIgnoreSignBitOfZero` in `spf->minmax` fold (#141914)Yingwei Zheng
2025-05-28[ValueTracking][InstCombine] Generalize ignoreSignBitOfZero/NaN to handle mor...Yingwei Zheng
2025-05-21[InstCombine] Enable more fabs fold when the user ignores sign bit of zero/Na...Yingwei Zheng
2025-04-28[InstCombine] Fix ninf propagation for fcmp+sel -> minmax (#136433)Yingwei Zheng
2025-04-26[InstCombine] Preserve signbit semantics of NaN with fold to fabs (#136648)Yingwei Zheng
2025-03-19[InstCombine] Reuse common code between foldSelectICmpAndBinOp and foldSelect...Andreas Jonson
2025-03-18[InstCombine] Support trunc to i1 in foldSelectICmpAnd (#127905)Andreas Jonson
2025-03-14[InstCombine] Use known bits to simplify mask in foldSelectICmpAnd (#128741)Julian Nagele
2025-02-24[InstCombine] Fold `X!=Y ? ctz(X^Y, true) : BW -> ctz(X^Y, false)` (#128483)Yingwei Zheng
2025-02-19[InstCombine] handle trunc to i1 in foldSelectICmpAndBinOp (#127390)Andreas Jonson
2025-02-19[InstCombine] avoid extra instructions in foldSelectICmpAnd (#127398)Andreas Jonson
2025-02-19[InstCombine] Propagate flags in `foldSelectICmpAndBinOp` (#127437)Yingwei Zheng
2025-02-05[InstCombine] Drop nowrap flags in `foldBitCeil` (#125817)Yingwei Zheng
2025-02-02[InstCombine] Extend `foldSelectInstWithICmpConst` to handle minmax (#125346)Yingwei Zheng
2025-02-01[InstCombine] Fix FMF propagation in `foldSelectWithFCmpToFabs` (#121580)Yingwei Zheng
2025-01-28Reland [InstCombine] Teach foldSelectOpOp about samesign (#124320)Ramkumar Ramachandra
2025-01-24Revert "[InstCombine] Teach foldSelectOpOp about samesign" (#124123)Alexander Kornienko
2025-01-14[InstCombine] Teach foldSelectOpOp about samesign (#122723)Ramkumar Ramachandra
2025-01-09[InstCombine] Remove foldSelectICmpEq() fold (#122098)Nikita Popov
2025-01-08[ValueTracking] Move `getFlippedStrictnessPredicateAndConstant` into ValueTra...Yingwei Zheng
2025-01-07[InstCombine] Handle commuted patterns in `foldSelectWithSRem` (#121896)Yingwei Zheng
2025-01-06[IRBuilder] Refactor FMF interface (#121657)Yingwei Zheng
2025-01-06[InstCombine] Drop noundef in `foldSelectCttzCtlz` (#121692)Yingwei Zheng