aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2012-06-20replace usage of EmitGEPOffset() with TargetData::getIndexedOffset() when the...Nuno Lopes
2012-06-14InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y).Manman Ren
2012-06-11InstCombine: factor code better.Benjamin Kramer
2012-06-10InstCombine: Turn (zext A) == (B & (1<<X)-1) into A == (trunc B), narrowing t...Benjamin Kramer
2012-06-08canonicalize:Nuno Lopes
2012-06-07Fix a bug in FoldSelectOpOp. Bitcast ops may change the number of vector elem...Nadav Rotem
2012-06-06Fix combine of uno && ord -> false so that the ordering of the fcmps doesn'tChad Rosier
2012-05-28Fix suspicous hasOneUse() check, found by PVS Studio (PR12357).Benjamin Kramer
2012-05-28InstCombine: Fix infinite loop when encountering switch on trivial icmp.Benjamin Kramer
2012-05-28switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients.Chris Lattner
2012-05-27PR12967: Don't crash when trying to fold a shift that's larger than the type'...Benjamin Kramer
2012-05-22add a new pass to instrument loads and stores for run-time bounds checkingNuno Lopes
2012-05-22revert my previous patches that introduced an additional parameter to the obj...Nuno Lopes
2012-05-11objectsize: add a few more tests and fix a bugNuno Lopes
2012-05-11Fix a minor logic mistake transforming compares in instcombine. PR12514.Eli Friedman
2012-05-10objectsize: add support for GEPs with non-constant indexesNuno Lopes
2012-05-09objectsize:Nuno Lopes
2012-05-06Remove trailing spaces.Jakub Staszak
2012-05-05Small fix in InstCombineCasts.cpp. Restored "alloca + bitcast" reducing for c...Stepan Dyatkovskiy
2012-05-03remove calls to calloc if the allocated memory is not used (it was already be...Nuno Lopes
2012-05-03add support for calloc to objectsize loweringNuno Lopes
2012-05-03replace 'break's with 'return 0' in visitCallInst code for objectsize, since ...Nuno Lopes
2012-05-01Add support for llvm.arm.neon.vmull* intrinsics to InstCombine. FixesLang Hames
2012-04-26Add instcombine patterns for the following transformations:Chad Rosier
2012-04-25Reverting r155468. Chris and Chandler have convinced me that it's dangerous andLang Hames
2012-04-24Add support for llvm.arm.neon.vmull* intrinsics to InstCombine. This fixesLang Hames
2012-04-23Reapply r155136 after fixing PR12599.Jakob Stoklund Olesen
2012-04-20Revert r155136 "Defer some shl transforms to DAGCombine."Jakob Stoklund Olesen
2012-04-19Defer some shl transforms to DAGCombine.Jakob Stoklund Olesen
2012-04-08Teach InstCombine to nuke a common alloca pattern -- an alloca which hasChandler Carruth
2012-04-04Always compute all the bits in ComputeMaskedBits.Rafael Espindola
2012-03-26153465 was incorrect. In this code we wanted to check that the pointer operan...Nadav Rotem
2012-03-26PR12357: The pointer was used before it was checked.Nadav Rotem
2012-03-26eliminate an unneeded branch, part of PR12357Chris Lattner
2012-03-16Revert r152907.Bill Wendling
2012-03-16The alignment of the pointer part of the store instruction may have anBill Wendling
2012-03-16In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman
2012-03-15Use an iterator instead of calling .size() on the worklist every time, which ...Bill Wendling
2012-03-11llvm::SwitchInstStepan Dyatkovskiy
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy
2012-02-29Restrict this transformation to equality conditions.Bill Wendling
2012-02-21Fix unsigned off-by-one in comment.Benjamin Kramer
2012-02-21InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer
2012-02-20InstCombine: Removing the base from the address calculation is only safe when...Benjamin Kramer
2012-02-20InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer
2012-02-20InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer
2012-02-13Check against umin while converting fcmp into an icmp.Devang Patel
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2012-02-06Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner
2012-02-06[unwind removal] We no longer have 'unwind' instructions being generated, soBill Wendling