aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2008-12-01testcase for my previous commit.Chris Lattner
2008-12-01Implement ((A|B)&1)|(B&-2) -> (A&1) | B transformation. This also takes care ofBill Wendling
2008-11-30Add instruction combining for ((A&~B)|(~A&B)) -> A^B and all permutations.Bill Wendling
2008-11-30Implement (A&((~A)|B)) -> A&B transformation in the instruction combiner. ThisBill Wendling
2008-11-30getSExtValue() doesn't work for ConstantInts with bitwidth > 64 bits. Use allBill Wendling
2008-11-30Optimize memmove and memset into the LLVM builtins. Note that these Eli Friedman
2008-11-30Strengthen check for div inst-combining.Bill Wendling
2008-11-30Instcombine was illegally transforming -X/C into X/-C when either X or CBill Wendling
2008-11-29don't require GVN to work on dead values, just make the Chris Lattner
2008-11-29Fix a thinko that manifested as a crash on clamav last night.Chris Lattner
2008-11-28Fix PR3141 by ensuring that MemoryDependenceAnalysis::removeInstructionChris Lattner
2008-11-28don't call MergeBasicBlockIntoOnlyPred on a block whose onlyChris Lattner
2008-11-27Chris prefers icmp/select over udiv!Nick Lewycky
2008-11-27Add a couple of missed optimizations on integer vectors. Multiply and divideNick Lewycky
2008-11-27Fix PR3138: if we merge the entry block into another block, make sure toChris Lattner
2008-11-27Make jump threading substantially more powerful, in the following ways:Chris Lattner
2008-11-25convertToSignExtendedInteger should return opInvalidOp instead of asserting i...Evan Cheng
2008-11-24reenable testChris Lattner
2008-11-24Temporarily XFAIL this test. r59976 and r59972 broke it.Bill Wendling
2008-11-24Fix 3113: If we have a dead cyclic PHI, replace the whole thingChris Lattner
2008-11-21Optimize (x/y)*y into x-(x%y) in general. Div and rem are about the same, andNick Lewycky
2008-11-18Give SIToFPInst preference over UIToFPInst because it is faster on platforms ...Devang Patel
2008-11-17While handling floating point IVs lift restrictions on initial value and incr...Devang Patel
2008-11-16Handle the case where there is no "not". It is possible it got Chris Lattner
2008-11-16make this actually test what it is trying to.Chris Lattner
2008-11-10If the sign of exit condition and split condition does not matchDevang Patel
2008-11-09If the LHS of the FCMP is coming from a UIToFP instruction, then we don't wantBill Wendling
2008-11-05Add PR number.Devang Patel
2008-11-05New test case.Devang Patel
2008-11-04Add a new pass to simplify specific half_powr function calls. This isDan Gohman
2008-11-04Fix tests not to emit IR outputAnton Korobeynikov
2008-11-03Ignore conditions that are outside the loop.Devang Patel
2008-11-03Turn floating point IVs into integer IVs where possible.Devang Patel
2008-11-02Changes from Duncan's review:Nick Lewycky
2008-11-02Add a new MergeFunctions pass. It finds identical functions and merges them.Nick Lewycky
2008-11-02Fix demanded bits analysis with srem by negative number. Based on a patchNick Lewycky
2008-11-02Fix this recently moved code to use the correct type. CI is now aDan Gohman
2008-10-30Canonicalize sext(i1) to i1?-1:0, and update various instcombineDan Gohman
2008-10-30Add InlineCost class for represent the estimated cost of inlining aDaniel Dunbar
2008-10-29Fix PR2967 by not deleting volatile load/stores that occur before unreachable.Chris Lattner
2008-10-28(A & sext(C)) | (B & ~sext(C) -> C ? A : BDan Gohman
2008-10-27no need to print outputChris Lattner
2008-10-24Don't try to create a mask when we don't need one. Fixes a crash.Nick Lewycky
2008-10-16apply Eli's patch for PR2165 and provide a testcase.Chris Lattner
2008-10-15Teach instcombine's visitLoad to scan back several instructionsDan Gohman
2008-10-14Combine (fcmp cc0 x, y) | (fcmp cc1 x, y) into a single fcmp when possible.Evan Cheng
2008-10-14- Somehow I forgot about one / une.Evan Cheng
2008-10-14Optimize anding of two fcmp into a single fcmp if the operands are the same. ...Evan Cheng
2008-10-11Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changesChris Lattner
2008-10-10Check loop exit predicate properly while eliminating one iteration loop.Devang Patel