aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2012-08-30[llvm] Updated the test fold-vector-select so that we test the vector selects...Michael Gottesman
2012-08-30It is illegal to transform (sdiv (ashr X c1) c2) -> (sdiv x (2^c1 * c2)),Nadav Rotem
2012-08-28InstCombine: Guard the transform introduced in r162743 against large ints and...Benjamin Kramer
2012-08-28Make sure that we don't call getZExtValue on values > 64 bits.Nadav Rotem
2012-08-28Teach InstCombine to canonicalize [SU]div+[AL]shl patterns.Nadav Rotem
2012-08-21Port the global copy optimization from the SROA pass to InstCombine.Chandler Carruth
2012-08-18InstCombine: Fix a crasher when encountering a function pointer.Benjamin Kramer
2012-08-18InstCombine: Add a couple of fabs identities for comparing with 0.0.Benjamin Kramer
2012-08-17MemoryBuiltins: Properly guard ObjectSizeOffsetVisitor against cycles in the IR.Benjamin Kramer
2012-08-17Guard MemoryBuiltins against self-looping GEPs, which can occur in unreachabl...Benjamin Kramer
2012-08-15fix infinite loop in instcombine with more than 4GB memcpyMichael Liao
2012-08-10The normal edge of an invoke is not allowed to branch to a block with aEli Friedman
2012-08-07Fix a serious typo in InstCombine's optimization of comparisons.Bob Wilson
2012-07-30When constant folding GEP expressions, keep the address space information of ...Nadav Rotem
2012-07-27fix PR13390: do not loop forever with self-referencing self instructionsNuno Lopes
2012-07-27fix infinite loop in instcombine in the presence of a (malformed) self-refere...Nuno Lopes
2012-07-26Simplify demanded bits of select sources where the condition is a constant ve...Pete Cooper
2012-07-26Teach SimplifyDemandedBits how to look through fpext and fptrunc to simplify ...Pete Cooper
2012-07-25Don't perform an overaligned load in this test, since that's undefinedDuncan Sands
2012-07-25When folding a load from a global constant, if the load started in the middleDuncan Sands
2012-07-24teach objectsize about strdup() and strndup()Nuno Lopes
2012-07-17Back out r160101 and instead implement a dag combine to recover from instcomb...Evan Cheng
2012-07-12Instcombine was transforming:Evan Cheng
2012-07-09instcombine: merge the functions that remove dead allocas and dead mallocs/ca...Nuno Lopes
2012-07-06teach instcombine to remove allocated buffers even if there are stores, memcp...Nuno Lopes
2012-07-02Fix the remaining TCL-style quotes found in the testsuite. This isChandler Carruth
2012-07-02Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth
2012-06-28make instcombine produce calls to llvm.donothing instead of a random intrinsicNuno Lopes
2012-06-26Remove a instcombine transform that (no longer?) makes sense:Evan Cheng
2012-06-26Replacing zero-sized alloca's with a null pointer is too aggressive, insteadDuncan Sands
2012-06-25improve optimization of invoke instructions:Nuno Lopes
2012-06-22Revert remaining part of r93200: "Disable folding sext(trunc(x)) -> x"Jakob Stoklund Olesen
2012-06-21instcombine: disable optimization of 'invoke null/undef'. I'll move this fun...Nuno Lopes
2012-06-21Look pass zext to strength reduce an udiv. Patch by David Majnemer. rdar://11...Evan Cheng
2012-06-21Add support for invoke to the MemoryBuiltin analysid.Nuno Lopes
2012-06-21hopefully fix the buildbots: some tests have wrong definitions of malloc and...Nuno Lopes
2012-06-21refactor the MemoryBuiltin analysis:Nuno Lopes
2012-06-14InstCombine: fix a bug when combining (fcmp cc0 x, y) && (fcmp cc1 x, y).Manman Ren
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-07Adding a missing -S to the opt invocation.Meador Inge
2012-06-06Spell optimization name correclty.Bill Wendling
2012-06-06Another testcase for r156548.Bill Wendling
2012-06-06Fix combine of uno && ord -> false so that the ordering of the fcmps doesn'tChad Rosier
2012-06-06Remove extraneous CHECK-NOTs from previous commit and add a new test case.Chad Rosier
2012-06-06FileCheckize this test.Chad Rosier
2012-05-28InstCombine: Fix infinite loop when encountering switch on trivial icmp.Benjamin Kramer
2012-05-27PR12967: Don't crash when trying to fold a shift that's larger than the type'...Benjamin Kramer
2012-05-22revert my previous patches that introduced an additional parameter to the obj...Nuno Lopes