| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | add -debug output for -indvars. | Chris Lattner | 2007-01-07 | 1 | -6/+19 | |
| | | | | | llvm-svn: 32971 | |||||
| * | Fix regressions in InstCombine/call-cast-target.ll and ↵ | Chris Lattner | 2007-01-06 | 1 | -1/+5 | |
| | | | | | | | InstCombine/2003-11-13-ConstExprCastCall.ll llvm-svn: 32959 | |||||
| * | For PR411: | Reid Spencer | 2007-01-06 | 3 | -13/+13 | |
| | | | | | | | | | | Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. llvm-svn: 32956 | |||||
| * | this final call to canLosslesslyBitCastTo is dead, because ValueRequiresCast | Chris Lattner | 2007-01-06 | 1 | -4/+0 | |
| | | | | | | | is only called on integers. llvm-svn: 32949 | |||||
| * | simplify some more code now that there are not multiple different integer | Chris Lattner | 2007-01-06 | 1 | -8/+4 | |
| | | | | | | | types of the same size llvm-svn: 32948 | |||||
| * | eliminate some uses of canLosslesslyBitCastTo, this actually makes the code ↵ | Chris Lattner | 2007-01-06 | 1 | -15/+14 | |
| | | | | | | | | | stronger, by nuking relational pointer comparisons with casts. llvm-svn: 32947 | |||||
| * | no need to worry about int vs uint any more. | Chris Lattner | 2007-01-06 | 1 | -2/+1 | |
| | | | | | llvm-svn: 32946 | |||||
| * | Implement InstCombine/vec_shuffle.ll:%test7, simplifying shuffles with | Chris Lattner | 2007-01-05 | 1 | -1/+23 | |
| | | | | | | | undef operands. llvm-svn: 32899 | |||||
| * | fold things like a^b != c^a -> b != c. This implements ↵ | Chris Lattner | 2007-01-05 | 1 | -12/+33 | |
| | | | | | | | InstCombine/xor.ll:test27 llvm-svn: 32893 | |||||
| * | Compile X + ~X to -1. This implements Instcombine/add.ll:test34 | Chris Lattner | 2007-01-05 | 1 | -1/+7 | |
| | | | | | llvm-svn: 32890 | |||||
| * | Death to useless bitcast instructions! | Reid Spencer | 2007-01-04 | 1 | -33/+3 | |
| | | | | | llvm-svn: 32866 | |||||
| * | Enable a couple xforms for packed vectors (undef | v) -> -1 for packed. | Chris Lattner | 2007-01-04 | 1 | -8/+9 | |
| | | | | | llvm-svn: 32858 | |||||
| * | Vectors are not supported by ConstantInt::getAllOnesValue. | Jim Laskey | 2007-01-03 | 1 | -5/+10 | |
| | | | | | llvm-svn: 32827 | |||||
| * | Fix a typo. | Reid Spencer | 2006-12-31 | 1 | -1/+1 | |
| | | | | | llvm-svn: 32803 | |||||
| * | For PR950: | Reid Spencer | 2006-12-31 | 29 | -453/+379 | |
| | | | | | | | | | | | | | | This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785 | |||||
| * | For PR1066: | Reid Spencer | 2006-12-24 | 1 | -2/+8 | |
| | | | | | | | | | Fix this by ensuring that a bitcast is inserted to do sign switching. This is only temporarily needed as the merging of signed and unsigned is next on the SignlessTypes plate. llvm-svn: 32757 | |||||
| * | Shut up some compilers that can't accurately analyze variable usage | Reid Spencer | 2006-12-23 | 1 | -2/+2 | |
| | | | | | | | correctly and emit "may be used uninitialized" warnings. llvm-svn: 32756 | |||||
| * | For PR1065: | Reid Spencer | 2006-12-23 | 1 | -12/+7 | |
| | | | | | | | | Don't allow CmpInst instances to be processed in FoldSelectOpOp because you can't easily swap their operands. llvm-svn: 32753 | |||||
| * | For PR950: | Reid Spencer | 2006-12-23 | 21 | -1037/+1831 | |
| | | | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751 | |||||
| * | add a simple fast-path for dead allocas | Chris Lattner | 2006-12-22 | 1 | -1/+8 | |
| | | | | | llvm-svn: 32750 | |||||
| * | Remove isSigned calls via foreknowledge of main's argument types. | Reid Spencer | 2006-12-21 | 1 | -7/+4 | |
| | | | | | llvm-svn: 32730 | |||||
| * | Get rid of a useless if statement whose then and else blocks were identical. | Reid Spencer | 2006-12-21 | 1 | -4/+1 | |
| | | | | | llvm-svn: 32729 | |||||
| * | handle undef values much more carefully: generalize the resolveundefbranches | Chris Lattner | 2006-12-20 | 1 | -32/+172 | |
| | | | | | | | | | code to handle instructions as well, so that we properly fold things like X & undef -> 0. This fixes Transforms/SCCP/2006-12-19-UndefBug.ll llvm-svn: 32715 | |||||
| * | switch statistics over to not use static ctors. | Chris Lattner | 2006-12-19 | 1 | -3/+3 | |
| | | | | | llvm-svn: 32709 | |||||
| * | eliminate static ctor from example. | Chris Lattner | 2006-12-19 | 1 | -2/+3 | |
| | | | | | llvm-svn: 32696 | |||||
| * | remove dead statistic | Chris Lattner | 2006-12-19 | 1 | -4/+0 | |
| | | | | | llvm-svn: 32695 | |||||
| * | switch more statistics over to STATISTIC, eliminating static ctors. Also, | Chris Lattner | 2006-12-19 | 9 | -39/+30 | |
| | | | | | | | delete some dead ones. llvm-svn: 32694 | |||||
| * | Eliminate static ctors due to Statistic objects | Chris Lattner | 2006-12-19 | 16 | -85/+71 | |
| | | | | | llvm-svn: 32693 | |||||
| * | Convert more Statistic's over to STATISTIC | Chris Lattner | 2006-12-19 | 1 | -7/+4 | |
| | | | | | llvm-svn: 32692 | |||||
| * | Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic | Chris Lattner | 2006-12-19 | 21 | -102/+101 | |
| | | | | | | | | converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690 | |||||
| * | Convert the last uses of CastInst::createInferredCast to a normal cast | Reid Spencer | 2006-12-18 | 3 | -11/+33 | |
| | | | | | | | | | creation. These changes are still temporary but at least this pushes knowledge of signedness out closer to where it can be determined properly and allows signedness to be removed from VMCore. llvm-svn: 32654 | |||||
| * | Convert the last use of two-argument ConstantExpr::getCast into another | Reid Spencer | 2006-12-18 | 1 | -1/+3 | |
| | | | | | | | form so we can remove that method from ConstantExpr. llvm-svn: 32652 | |||||
| * | Added an automatic cast to "std::ostream*" etc. from OStream. We then can | Bill Wendling | 2006-12-17 | 1 | -1/+6 | |
| | | | | | | | | rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636 | |||||
| * | when inserting a dummy argument to work-around the CBE not supporting | Chris Lattner | 2006-12-16 | 1 | -3/+1 | |
| | | | | | | | zero arg vararg functions, pass undef instead of 'int 0', which is cheaper. llvm-svn: 32634 | |||||
| * | re-enable a temporarily-reverted patch | Chris Lattner | 2006-12-15 | 1 | -53/+132 | |
| | | | | | llvm-svn: 32595 | |||||
| * | Fix a bug in EvaluateInDifferentType. The type of operand should not be | Reid Spencer | 2006-12-13 | 1 | -20/+17 | |
| | | | | | | | | | | used to determine whether a ZExt or SExt cast is performed. Instead, pass an "isSigned" bool to the function and determine its value from the opcode of the cast involved. Also, clean up some cruft from previous patches. llvm-svn: 32548 | |||||
| * | Implement review feedback. Most of this has to do with removing unnecessary | Reid Spencer | 2006-12-13 | 1 | -43/+16 | |
| | | | | | | | cast instructions. A few are bug fixes. llvm-svn: 32544 | |||||
| * | For mul transforms, when checking for a cast from bool as either operand, | Reid Spencer | 2006-12-13 | 1 | -2/+4 | |
| | | | | | | | | make sure to also check that it is a zext from bool, not any other cast operation type. llvm-svn: 32539 | |||||
| * | Fix and/or/xor (cast A), (cast B) --> cast (and/or/xor A, B) | Reid Spencer | 2006-12-13 | 1 | -41/+40 | |
| | | | | | | | | | The cast patch introduced the possibility that the wrong cast opcode could be used and that this transform could trigger on different kinds of cast operations. This patch rectifies that. llvm-svn: 32538 | |||||
| * | Change the interface to SCEVExpander::InsertCastOfTo to take a cast opcode | Reid Spencer | 2006-12-13 | 1 | -12/+21 | |
| | | | | | | | | so the decision of which opcode to use is pushed upward to the caller. Adjust the callers to pass the expected opcode. llvm-svn: 32535 | |||||
| * | Fix some casts. isdigit(c) returns 0 or 1, not 0 or -1 | Reid Spencer | 2006-12-13 | 1 | -3/+3 | |
| | | | | | llvm-svn: 32534 | |||||
| * | revert my recent int<->fp and vector union promotion changes, they expose | Chris Lattner | 2006-12-13 | 1 | -132/+53 | |
| | | | | | | | | obscure bugs affecting the X86 code generator. I will reenable this when fixed. llvm-svn: 32524 | |||||
| * | Replace CastInst::createInferredCast calls with more accurate cast | Reid Spencer | 2006-12-13 | 8 | -47/+49 | |
| | | | | | | | creation calls. llvm-svn: 32521 | |||||
| * | Replace inferred getCast(V,Ty) calls with more strict variants. | Reid Spencer | 2006-12-12 | 2 | -36/+35 | |
| | | | | | | | | Rename getZeroExtend and getSignExtend to getZExt and getSExt to match the the casting mnemonics in the rest of LLVM. llvm-svn: 32514 | |||||
| * | this can be trunc or bitcast, per line 3092. | Chris Lattner | 2006-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 32487 | |||||
| * | Fix regression on 400.perlbench last night. | Chris Lattner | 2006-12-12 | 1 | -1/+1 | |
| | | | | | llvm-svn: 32486 | |||||
| * | Fix numerous inferred casts. | Reid Spencer | 2006-12-12 | 1 | -77/+121 | |
| | | | | | llvm-svn: 32479 | |||||
| * | Fix the casting for the computation of the Malloc size. | Reid Spencer | 2006-12-12 | 1 | -3/+3 | |
| | | | | | llvm-svn: 32477 | |||||
| * | Change inferred getCast into specific getCast. Passes all tests. | Reid Spencer | 2006-12-12 | 5 | -9/+20 | |
| | | | | | llvm-svn: 32469 | |||||
| * | Patch for PR1045 and Transforms/ScalarRepl/2006-12-11-SROA-Crash.ll | Chris Lattner | 2006-12-12 | 1 | -0/+2 | |
| | | | | | llvm-svn: 32468 | |||||

