aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/intrinsics.ll
AgeCommit message (Expand)Author
2017-07-03[InstCombine] move and improve tests for cmp-intrinsic; NFCSanjay Patel
2017-06-21[InstCombine] Add range metadata to cttz/ctlz/ctpop intrinsic calls based on ...Craig Topper
2017-06-03[InstCombine] Add support for simplifying ctlz/cttz intrinsics based on known...Craig Topper
2017-06-03[ConstantFolding] Fix constant folding for vector cttz and ctlz intrinsics to...Craig Topper
2017-06-03[InstCombine][InstSimplify] Add various tests for ctlz/cttz with vectors, som...Craig Topper
2017-06-03[InstCombine] Use cttz instead of ctlz in the cttz_cmp_vec test case. Looks l...Craig Topper
2017-05-30[InstCombine] Add test cases to show missed opportunities to remove compare i...Craig Topper
2017-05-08[ValueTracking] Use KnownOnes to provide a better bound on known zeros for ct...Craig Topper
2017-05-03Replace hardcoded intrinsic list with speculatable attribute.Matt Arsenault
2017-04-26[InstCombine] Add test cases for opportunities to improve knownbits handling ...Craig Topper
2017-01-13[InstCombine / InstSimplify] add and move tests for lshr transforms; NFCSanjay Patel
2016-08-18Make cltz and cttz zero undef when the operand cannot be zero in InstCombineAmaury Sechet
2016-08-05reduce tests; auto-generate checksSanjay Patel
2016-08-04Fix intrinsics.ll testAmaury Sechet
2016-08-04Add popcount(n) == bitsize(n) -> n == -1 transformation.Amaury Sechet
2016-07-23[InstCombine] allow icmp (bit-manipulation-intrinsic(), C) folds for vectorsSanjay Patel
2016-07-22add tests for vector bit manipulation intrinsicsSanjay Patel
2015-07-21Constfold trunc,rint,nearbyint,ceil and floor using APFloatKarthik Bhat
2015-07-08Allow constfolding of llvm.sin.* and llvm.cos.* intrinsicsKarthik Bhat
2015-05-22[InstSimplify] Handle some overflow intrinsics in InstSimplifyDavid Majnemer
2015-05-21[InstCombine] X - 0 is equal to X, not undefDavid Majnemer
2015-04-13Subtraction is not commutative. Fixes PR23212!Nick Lewycky
2015-03-06Teach ComputeNumSignBits about signed reminder.Nadav Rotem
2015-03-03Teach ComputeNumSignBits about signed divisions.Nadav Rotem
2015-01-27[InstCombine] Teach how to fold a select into a cttz/ctlz with the 'is_zero_u...Andrea Di Biagio
2015-01-02InstCombine: Detect when llvm.umul.with.overflow always overflowsDavid Majnemer
2014-12-26InstCombine: Infer nuw for multipliesDavid Majnemer
2014-12-17Strength reduce intrinsics with overflow into regular arithmetic operations i...Erik Eckstein
2014-07-04InstCombine: Strength reduce sadd.with.overflow into a regular nsw add if we ...Benjamin Kramer
2013-07-14Update Transforms tests to use CHECK-LABEL for easier debugging. No functiona...Stephen Lin
2013-02-08Revert "Have InstCombine call SipmlifyCall when handling calls. Test case inc...Andrew Trick
2013-02-07Have InstCombine call SipmlifyCall when handling calls. Test case included.Michael Ilseman
2013-01-24ConstantFolding: Add a missing folding that leads to a miscompile.Benjamin Kramer
2013-01-01Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2011-12-24Add an explicit test that we now fold cttz.i32(..., true) >> 5 -> 0.Chandler Carruth
2011-12-24ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with u...Benjamin Kramer
2011-12-12Manually upgrade the test suite to specify the flag to cttz and ctlz.Chandler Carruth
2011-11-27Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner
2011-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-06-17make the asmparser reject function and type redefinitions. 'Merging' hasn't ...Chris Lattner
2011-05-21Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.o...Benjamin Kramer
2011-05-21InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.overflow(...Benjamin Kramer
2011-05-18More instcombine cleanup aimed towards improving debug line info.Eli Friedman
2011-03-10InstCombine: Turn umul_with_overflow into mul nuw if we can prove that it can...Benjamin Kramer
2010-12-19X86 supports i8/i16 overflow ops (except i8 multiplies), we shouldChris Lattner
2010-12-19optimize uadd(x, cst) into a comparison when the normal Chris Lattner
2010-08-09PR7853: fix a silly mistake introduced in r101899, and add a test to make sureEli Friedman
2010-01-23implement a simple instcombine xform that has been in theChris Lattner
2010-01-05optimize comparisons against cttz/ctlz/ctpop, patch by Alastair Lynn!Chris Lattner
2010-01-05optimize cttz and ctlz when we can prove something about the Chris Lattner