aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
AgeCommit message (Expand)Author
2007-10-17Reverting r43070 for now. It's causing llc test failures.Evan Cheng
2007-10-17Apply "Instead of loading small c string constant, use integer constant direc...Devang Patel
2007-10-16Use immediate stores.Devang Patel
2007-10-15Achieve same result but use fewer lines of code.Devang Patel
2007-10-12Dest type is always i8 *. This allows some simplification.Devang Patel
2007-10-12Fix a bug in my patch last night that broke InstCombine/2007-10-12-Crash.llChris Lattner
2007-10-12eliminate warningGabor Greif
2007-10-12Fix some 80 column violations.Chris Lattner
2007-10-11Lower memcpy if it makes sense.Devang Patel
2007-10-03Tone down an overzealous optimization.Dale Johannesen
2007-09-19Improve comment.Duncan Sands
2007-09-19A global variable with external weak linkage can be null, whileDuncan Sands
2007-09-17Instcombine x-((x/y)*y) into a remainder operator.Dan Gohman
2007-09-17Factor the trampoline transformation into a subroutine.Duncan Sands
2007-09-14Remove the assumption that FP's are either float orDale Johannesen
2007-09-14silence a bogus gcc warning.Chris Lattner
2007-09-11Turn calls to trampolines into calls to the underlyingDuncan Sands
2007-09-10remove some dead code, this is handled by constant folding.Chris Lattner
2007-09-07Don't zap back to back volatile load/storesChris Lattner
2007-09-06Next round of APFloat changes.Dale Johannesen
2007-09-06Use isTrueWhenEqual. Thanks Chris!Nick Lewycky
2007-09-06When the two operands of an icmp are equal, there are five possible predicatesNick Lewycky
2007-09-05Forgot to obey 80 column rule. Fixing that.Chuck Rose III
2007-09-05Added default parameters to GetElementPtrInstr constructor call. Visual Stud...Chuck Rose III
2007-09-04Update GEP constructors to use an iterator interface to fixDavid Greene
2007-08-28Cut off crazy computation. This helps PR1622 slightly.Chris Lattner
2007-08-27Update InvokeInst to work like CallInstDavid Greene
2007-08-11Transform a load from an undef/zero global into an undef/global even if weChris Lattner
2007-08-09when we see a unaligned load from an insufficiently aligned global orChris Lattner
2007-08-06It's safe to fold not of fcmp.Nick Lewycky
2007-08-05at the end of instcombine, explicitly clear WorklistMap.Chris Lattner
2007-08-04This is the patch to provide clean intrinsic function overloading support in ...Chandler Carruth
2007-08-02Replacing a cast with another one does not reduce the number of Chris Lattner
2007-08-02Disable an xform that causes an infinite loop. This fixes PR1594Chris Lattner
2007-08-02wrap some long lines. Major offenders that are left includeChris Lattner
2007-08-02Enhance instcombine to be more aggressive about folding casts ofChris Lattner
2007-08-01New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene
2007-07-31Fix a bug in GetKnownAlignment of packed structs.Lauro Ramos Venancio
2007-07-30Fix a typo/thinko.Reid Spencer
2007-07-23completely remove a transformation that is unsafe in the face ofChris Lattner
2007-07-21Apply temporary work around to fix llvm mis-compilationDevang Patel
2007-07-20this xform is already done by the constant folder.Chris Lattner
2007-07-20Optimize alignment of loads and stores.Dan Gohman
2007-07-16Fix comments about vectors to use the current wording.Dan Gohman
2007-07-16Repair a regression in Transforms/InstCombine/mul.ll that Reid noticed.Chris Lattner
2007-07-15Implement shift-simplify.ll:test[45].Chris Lattner
2007-07-15Implement shift-simplify.ll:test3, turning:Chris Lattner
2007-06-21Significantly improve the documentation of the instcombine divide/compareChris Lattner
2007-06-20refactor a bunch of code out of visitICmpInstWithInstAndIntCst into its ownChris Lattner
2007-06-19silence a bogus warning Duraid ran into.Chris Lattner