[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.91 -> 1.92 --- Log message: Convert ImmediateDominators::DFSPass from being recursive to being iterative. --- Diffs of the changes: (+43 -1) Dominators.cpp | 44 +++- 1 files changed,

[llvm-commits] [125902] Apply reid's patch for PR1146

2007-04-08 Thread clattner
Revision: 125902 Author: clattner Date: 2007-04-08 23:25:22 -0700 (Sun, 08 Apr 2007) Log Message: --- Apply reid's patch for PR1146 Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386-target.h apple-local/branches/llvm/gcc/llvm-types.cpp Modif

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.408 -> 1.409 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use the new ParamAttrsList class. --- Diffs of the changes: (+17 -13) SelectionDAGISel.cpp | 30

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.331 -> 1.332 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use the new ParamAttrsList class. --- Diffs of the changes: (+13 -8) CBackend.cpp | 21 +

[llvm-commits] CVS: llvm/lib/Target/MSIL/MSILWriter.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Target/MSIL: MSILWriter.cpp updated: 1.1 -> 1.2 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use the new ParamAttrsList class. --- Diffs of the changes: (+4 -2) MSILWriter.cpp |6 -- 1 files changed, 4

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-04-08 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.78 -> 1.79 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use ParamAttrsList class. --- Diffs of the changes: (+41 -25) UpgradeParser.y | 66 +

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp SlotCalculator.h Writer.cpp WriterInternals.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.111 -> 1.112 SlotCalculator.h updated: 1.50 -> 1.51 Writer.cpp updated: 1.170 -> 1.171 WriterInternals.h updated: 1.33 -> 1.34 --- Log message: For PR1146: http://llvm.org/PR1146 : Use ParamAttrsList for writing parame

[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp Reader.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.245 -> 1.246 Reader.h updated: 1.51 -> 1.52 --- Log message: For PR1146: http://llvm.org/PR1146 : Use ParamAttrsList for writing parameter attributes. Since they are sparse now, we also write them sparsely (saves a few bytes).

[llvm-commits] CVS: llvm/lib/AsmParser/ParserInternals.h llvmAsmParser.y

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: ParserInternals.h updated: 1.54 -> 1.55 llvmAsmParser.y updated: 1.336 -> 1.337 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use the new ParamAttrsList class. --- Diffs of the changes: (+82 -46) Par

[llvm-commits] CVS: llvm/lib/VMCore/Module.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Module.cpp updated: 1.77 -> 1.78 --- Log message: For PR1146: http://llvm.org/PR1146 : Simplify construction of FunctionType to use default arguments. --- Diffs of the changes: (+1 -2) Module.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.115 -> 1.116 --- Log message: For PR1146: http://llvm.org/PR1146 : Parameter attributes can now be defaulted for intrinsics. --- Diffs of the changes: (+2 -2) Function.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletio

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.266 -> 1.267 --- Log message: For PR1146: http://llvm.org/PR1146 : Adjust writing of parameter attributes to use ParamAttrList class. --- Diffs of the changes: (+36 -30) AsmWriter.cpp | 66 +++-

[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.90 -> 1.91 --- Log message: minor cleanups --- Diffs of the changes: (+16 -14) Dominators.cpp | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) Index: llvm/lib/VMCore/Dominators.cpp dif

[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Type.cpp updated: 1.178 -> 1.179 --- Log message: For PR1146: http://llvm.org/PR1146 : Move parameter attributes functionality to ParamAttrsList class. --- Diffs of the changes: (+106 -52) Type.cpp | 158 ++-

[llvm-commits] CVS: llvm/include/llvm/DerivedTypes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: DerivedTypes.h updated: 1.90 -> 1.91 --- Log message: For PR1146: http://llvm.org/PR1146 : Remove the handling of ParameterAttributes from FunctionType as they are their own object defined in ParameterAttributes.h now. --- Diffs of the changes: (+8 -37

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.385 -> 1.386 --- Log message: move a bunch of register constraints from being handled by getRegClassForInlineAsmConstraint to being handled by getRegForInlineAsmConstraint. This allows us to let the llvm register alloca

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.384 -> 1.385 --- Log message: implement support for CodeGen/X86/inline-asm-x-scalar.ll:test3 - i32/i64 values used with x constraints. --- Diffs of the changes: (+2 -2) X86ISelLowering.cpp |4 ++-- 1 files changed

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.407 -> 1.408 --- Log message: implement CodeGen/X86/inline-asm-x-scalar.ll:test3 --- Diffs of the changes: (+9 -2) SelectionDAGISel.cpp | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-)

[llvm-commits] CVS: llvm/test/CodeGen/X86/inline-asm-x-scalar.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: inline-asm-x-scalar.ll updated: 1.1 -> 1.2 --- Log message: add another test --- Diffs of the changes: (+7 -2) inline-asm-x-scalar.ll |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index: llvm/test/CodeGen/X86/inline-asm-x-s

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.395 -> 1.396 --- Log message: add some assertions --- Diffs of the changes: (+13 -0) SelectionDAG.cpp | 13 + 1 files changed, 13 insertions(+) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.383 -> 1.384 --- Log message: implement CodeGen/X86/inline-asm-x-scalar.ll --- Diffs of the changes: (+15 -1) X86ISelLowering.cpp | 16 +++- 1 files changed, 15 insertions(+), 1 deletion(-) Index: llvm

[llvm-commits] CVS: llvm/test/CodeGen/X86/inline-asm-x-scalar.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: inline-asm-x-scalar.ll added (r1.1) --- Log message: The x constraint allows scalar FP values as well as vectors. --- Diffs of the changes: (+12 -0) inline-asm-x-scalar.ll | 12 1 files changed, 12 insertions(+) Index: llvm/test/

[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

2007-04-08 Thread Owen Anderson
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.89 -> 1.90 --- Log message: Move isReachableFromEntry out of line to avoid an unnecessary #include --- Diffs of the changes: (+6 -0) Dominators.cpp |6 ++ 1 files changed, 6 insertions(+) Index: llvm/lib/VMCore/Domin

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-04-08 Thread Owen Anderson
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.68 -> 1.69 --- Log message: Move isReachableFromEntry out of line to avoid an unnecessary #include --- Diffs of the changes: (+1 -4) Dominators.h |5 + 1 files changed, 1 insertion(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm-www/pubs/index.html 2007-03-SPLAT-Aspects.html

2007-04-08 Thread Chris Lattner
Changes in directory llvm-www/pubs: index.html updated: 1.46 -> 1.47 2007-03-SPLAT-Aspects.html updated: 1.1 -> 1.2 --- Log message: add new paper --- Diffs of the changes: (+9 -1) 2007-03-SPLAT-Aspects.html |2 +- index.html |8 2 files changed, 9 insertio

[llvm-commits] CVS: llvm-www/pubs/2007-03-SPLAT-Aspects-Poster.pdf 2007-03-SPLAT-Aspects-Presentation.pdf 2007-03-SPLAT-Aspects.html 2007-03-SPLAT-Aspects.pdf

2007-04-08 Thread Chris Lattner
Changes in directory llvm-www/pubs: 2007-03-SPLAT-Aspects-Poster.pdf added (r1.1) 2007-03-SPLAT-Aspects-Presentation.pdf added (r1.1) 2007-03-SPLAT-Aspects.html added (r1.1) 2007-03-SPLAT-Aspects.pdf added (r1.1) --- Log message: add a new paper --- Diffs of the changes: (+61 -0) 2007-03-S

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.169 -> 1.170 --- Log message: Fix a bug that caused alignment information to occasionally get stripped off of an allocation instruction when writing to bytecode. --- Diffs of the changes: (+11 -2) Writer.cpp | 13 ++

[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l llvmAsmParser.y

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: Lexer.l updated: 1.103 -> 1.104 llvmAsmParser.y updated: 1.335 -> 1.336 --- Log message: Drop the implementation keyword. --- Diffs of the changes: (+1 -14) Lexer.l |1 - llvmAsmParser.y | 14 +- 2 files changed, 1 insertio

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h updated: 1.5 -> 1.6 --- Log message: Chris convinced me that the default size of the SmallVector (2) was too small. Since it doesn't cost much to have 2 more (8 bytes), but not having them would require a malloc as soon as the thir

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.736 -> 1.737 --- Log message: Fix PR1304: http://llvm.org/PR1304 and Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll --- Diffs of the changes: (+10 -2) InstructionCombining.cpp | 12 +

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: 2007-04-08-SingleEltVectorCrash.ll added (r1.1) --- Log message: new testcase for PR1304: http://llvm.org/PR1304 --- Diffs of the changes: (+7 -0) 2007-04-08-SingleEltVectorCrash.ll |7 +++ 1 files changed, 7 insertions(+) I

[llvm-commits] [125901] Improve support for exception handling, patch by Duncan Sands.

2007-04-08 Thread clattner
Revision: 125901 Author: clattner Date: 2007-04-08 18:28:18 -0700 (Sun, 08 Apr 2007) Log Message: --- Improve support for exception handling, patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc/ll

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h updated: 1.4 -> 1.5 --- Log message: Remove redundancy. --- Diffs of the changes: (+11 -23) ParameterAttributes.h | 34 +++--- 1 files changed, 11 insertions(+), 23 deletions(-) Index: llvm/includ

[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.78 -> 1.79 --- Log message: Fix a bug introduced with my previous patch, where it didn't correctly handle instructions which replace themselves when FI's are rewritten (common on ppc). This fixes CodeGen/PowerPC/2006-10-

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.735 -> 1.736 --- Log message: Eliminate useless insertelement instructions. This implements Transforms/InstCombine/vec_insertelt.ll and fixes PR1286: http://llvm.org/PR1286 . We now compile the code from tha

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/vec_insertelt.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: vec_insertelt.ll added (r1.1) --- Log message: new testcase for PR1286: http://llvm.org/PR1286 --- Diffs of the changes: (+7 -0) vec_insertelt.ll |7 +++ 1 files changed, 7 insertions(+) Index: llvm/test/Transforms/InstCombi

Re: [llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-04-08 Thread Chris Lattner
> --- llvm/include/llvm/Analysis/Dominators.h:1.67 Sun Apr 8 > 16:30:05 2007 > +++ llvm/include/llvm/Analysis/Dominators.h Sun Apr 8 19:52:49 2007 > @@ -27,6 +27,7 @@ > #define LLVM_ANALYSIS_DOMINATORS_H > > #include "llvm/Analysis/ET-Forest.h" > +#include "llvm/Function.h" > #include

[llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp

2007-04-08 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Utils: LoopSimplify.cpp updated: 1.84 -> 1.85 --- Log message: Cleanup some from my DomSet-removal changes. Add a new isReachableFromEntry test to ETForest to factor a common test out of code. --- Diffs of the changes: (+4 -4) LoopSimplify.cpp |

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-04-08 Thread Owen Anderson
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.67 -> 1.68 --- Log message: Cleanup some from my DomSet-removal changes. Add a new isReachableFromEntry test to ETForest to factor a common test out of code. --- Diffs of the changes: (+8 -1) Dominators.h |9 +++

[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.77 -> 1.78 --- Log message: Fix CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll and PR1308: http://llvm.org/PR1308 : some instructions can have multiple frame indices in them. If this happens, rewrite all of them.

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/Generic: 2007-04-08-MultipleFrameIndices.ll added (r1.1) --- Log message: new testcase for PR1308: http://llvm.org/PR1308 --- Diffs of the changes: (+9 -0) 2007-04-08-MultipleFrameIndices.ll |9 + 1 files changed, 9 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.406 -> 1.407 --- Log message: Fix PR1316: http://llvm.org/PR1316 --- Diffs of the changes: (+4 -4) SelectionDAGISel.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/C

[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.244 -> 1.245 --- Log message: No functional change, this is just easier to read and debug. --- Diffs of the changes: (+10 -9) Reader.cpp | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) Inde

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h updated: 1.3 -> 1.4 --- Log message: Fix a typo. --- Diffs of the changes: (+2 -2) ParameterAttributes.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/ParameterAttributes.h diff -u llvm

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h updated: 1.2 -> 1.3 --- Log message: Implement more feedback: * Allow attributes to be added and removed singly or jointly so that in the future something like -pruneh can manipulate them more easily. * Move functions generally onl

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.405 -> 1.406 --- Log message: Fix for CodeGen/X86/2007-04-08-InlineAsmCrash.ll and PR1314: http://llvm.org/PR1314 --- Diffs of the changes: (+1 -1) SelectionDAGISel.cpp |2 +- 1 files changed, 1 inser

[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: 2007-04-08-InlineAsmCrash.ll added (r1.1) --- Log message: testcase for PR1314: http://llvm.org/PR1314 --- Diffs of the changes: (+18 -0) 2007-04-08-InlineAsmCrash.ll | 18 ++ 1 files changed, 18 insertions(+) Index: llvm/tes

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h updated: 1.1 -> 1.2 --- Log message: Implement review feedback. --- Diffs of the changes: (+4 -5) ParameterAttributes.h |9 - 1 files changed, 4 insertions(+), 5 deletions(-) Index: llvm/include/llvm/ParameterAttri

Re: [llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Chris Lattner
>> What is this used for? I'd expect getParamAttrs to be the main >> useful api for this class. > > Sole client: Bytecode Writer. Its useful in situations where you > want to > traverse the attributes and get the index/attr pairs. Gotcha, ok. Please move these methods lower in the class defini

Re: [llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp

2007-04-08 Thread Chris Lattner
>// Can we eliminate this phi node now? >if (Value *V = PN->hasConstantValue(true)) { > -if (!isa(V) || > -getAnalysis().dominates(cast > (V), PN)) { > +Instruction *I = dyn_cast(V); > +if (!I || (I->getParent() != NewBB && > +

Re: [llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
On Sun, 2007-04-08 at 14:29 -0700, Chris Lattner wrote: > > + #ifndef LLVM_PARAMETER_ATTRIBUTES_H > > + #define LLVM_PARAMETER_ATTRIBUTES_H > > + > > + #include > > Please use ""'s instead of <>'s. Okay. > > > + public: > > + /// Returns the parameter index of a particular parameter >

[llvm-commits] CVS: llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll

2007-04-08 Thread Nick Lewycky
Changes in directory llvm/test/Analysis/Dominators: 2007-01-14-BreakCritEdges.ll updated: 1.4 -> 1.5 --- Log message: Fix this testcase to fail if the bug were reintroduced. --- Diffs of the changes: (+1 -1) 2007-01-14-BreakCritEdges.ll |2 +- 1 files changed, 1 insertion(+), 1 deletio

[llvm-commits] CVS: llvm/test/BugPoint/crash-basictest.ll

2007-04-08 Thread Owen Anderson
Changes in directory llvm/test/BugPoint: crash-basictest.ll updated: 1.3 -> 1.4 --- Log message: Remove DomSet completely. This concludes work on PR1171: http://llvm.org/PR1171 . --- Diffs of the changes: (+2 -2) crash-basictest.ll |4 ++-- 1 files changed, 2 insertions(+), 2 deletio

[llvm-commits] CVS: llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll 2003-05-12-UnreachableCode.ll

2007-04-08 Thread Owen Anderson
Changes in directory llvm/test/Analysis/Dominators: 2007-01-14-BreakCritEdges.ll updated: 1.3 -> 1.4 2003-05-12-UnreachableCode.ll (r1.4) removed --- Log message: Remove DomSet completely. This concludes work on PR1171: http://llvm.org/PR1171 . --- Diffs of the changes: (+1 -1) 2007-01-1

[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

2007-04-08 Thread Owen Anderson
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.88 -> 1.89 --- Log message: Remove DomSet completely. This concludes work on PR1171: http://llvm.org/PR1171 . --- Diffs of the changes: (+0 -96) Dominators.cpp | 96 -

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-04-08 Thread Owen Anderson
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.66 -> 1.67 --- Log message: Remove DomSet completely. This concludes work on PR1171: http://llvm.org/PR1171 . --- Diffs of the changes: (+3 -127) Dominators.h | 130 +

[llvm-commits] CVS: llvm/test/Other/2002-08-02-DomSetProblem.ll

2007-04-08 Thread LLVM
Changes in directory llvm/test/Other: 2002-08-02-DomSetProblem.ll (r1.4) removed --- Log message: Remove DomSet completely. This concludes work on PR1171: http://llvm.org/PR1171 . --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-co

Re: [llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Chris Lattner
> + #ifndef LLVM_PARAMETER_ATTRIBUTES_H > + #define LLVM_PARAMETER_ATTRIBUTES_H > + > + #include Please use ""'s instead of <>'s. > + public: > + /// Returns the parameter index of a particular parameter > attribute in this > + /// list of attributes. Note that the attr_index is an i

[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj

2007-04-08 Thread Jeff Cohen
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.27 -> 1.28 --- Log message: Track new header file. --- Diffs of the changes: (+3 -0) VMCore.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1

[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Debugger: ProgramInfo.cpp updated: 1.22 -> 1.23 --- Log message: Make sure temporary data is not used past its life span. --- Diffs of the changes: (+2 -2) ProgramInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Debugger

[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.47 -> 1.48 --- Log message: Make TempDir a PathWithStatus so we don't have to cast it to one. --- Diffs of the changes: (+2 -3) CompilerDriver.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: ll

[llvm-commits] CVS: llvm/tools/llvm-db/Commands.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/tools/llvm-db: Commands.cpp updated: 1.12 -> 1.13 --- Log message: Avoid temporary construction and potential for corrupted data access. --- Diffs of the changes: (+2 -3) Commands.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/too

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm/System: Path.h updated: 1.50 -> 1.51 --- Log message: Implement the output inserter for PathWithStatus --- Diffs of the changes: (+5 -2) Path.h |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/include/llvm/System/Path.h d

[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/tools/llvm-ar: llvm-ar.cpp updated: 1.43 -> 1.44 --- Log message: Don't rely on destructed local storage. Thanks, Chris. --- Diffs of the changes: (+6 -6) llvm-ar.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/tools/llvm-ar

Re: [llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

2007-04-08 Thread Chris Lattner
On Apr 7, 2007, at 11:53 AM, Reid Spencer wrote: > > @@ -281,7 +281,8 @@ > for (std::set::iterator I = content.begin(), E = > content.end(); > I != E; ++I) { >// Make sure it exists and is a directory > - const sys::FileStatus *Status = I->getFileStatus(false, > Err

Re: [llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp

2007-04-08 Thread Chris Lattner
> @@ -727,13 +700,14 @@ >{ > BasicBlock *OnePred = PredBlocks[0]; > unsigned i, e = PredBlocks.size(); > -for (i = 1; !DS.isReachable(OnePred); ++i) { > +for (i = 1; !ETF.dominates(&OnePred->getParent()->getEntryBlock > (), OnePred); ++i) { This line looks long. Can you jus

Re: [llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp

2007-04-08 Thread Chris Lattner
> BreakCriticalEdges does still preserve DominatorTree. Oh, n/m :) -Chris > > > --- > Diffs of the changes: (+1 -0) > > BreakCriticalEdges.cpp |1 + > 1 files changed, 1 insertion(+) > > > Index: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp > diff -u llvm/lib/Transforms/Utils/BreakCrit

Re: [llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp

2007-04-08 Thread Chris Lattner
> BreakCriticalEdges.cpp updated: 1.40 -> 1.41 > virtual void getAnalysisUsage(AnalysisUsage &AU) const { >AU.addPreserved(); > - AU.addPreserved(); >AU.addPreserved(); > - AU.addPreserved(); >AU.addPreserved(); >AU.addPreserved(); Why doesn't this p

Re: [llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h

2007-04-08 Thread Chris Lattner
> Expunge DomSet from CodeExtractor. This is part of the continuing > work > on PR1171: http://llvm.org/PR1171 . Cool. > > --- llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.9Sun Nov > 5 13:31:28 2006 > +++ llvm/include/llvm/Transforms/Utils/FunctionUtils.hSat Apr 7 > 0

[llvm-commits] [125900] Apply a patch from Lauro:

2007-04-08 Thread clattner
Revision: 125900 Author: clattner Date: 2007-04-08 11:39:16 -0700 (Sun, 08 Apr 2007) Log Message: --- Apply a patch from Lauro: "This patch makes llvm-gcc use arrays to lower function arguments. For example a 30 bytes parameter is lowered to { [3 x i64], i32, i16} instead of { i64,

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.109 -> 1.110 --- Log message: Fix a typo that broke SimplifyLibCalls/SPrintF.ll (pr1315: http://llvm.org/PR1315 ) --- Diffs of the changes: (+1 -1) SimplifyLibCalls.cpp |2 +- 1 files changed, 1 insertion(+)

[llvm-commits] CVS: llvm/include/llvm/ParameterAttributes.h

2007-04-08 Thread Reid Spencer
Changes in directory llvm/include/llvm: ParameterAttributes.h added (r1.1) --- Log message: For PR1146: http://llvm.org/PR1146 : New header file to provide parameter attribute declarations. --- Diffs of the changes: (+148 -0) ParameterAttributes.h | 148 +++

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: 2007-03-19-BadTruncChangePR1261.ll updated: 1.2 -> 1.3 --- Log message: this xform is correct, not an xfail --- Diffs of the changes: (+2 -5) 2007-03-19-BadTruncChangePR1261.ll |7 ++- 1 files changed, 2 insertions(+), 5 deleti

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.734 -> 1.735 --- Log message: reenable this xform, whoops :) --- Diffs of the changes: (+2 -1) InstructionCombining.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Transfo

[llvm-commits] CVS: llvm/test/TestRunner.sh

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test: TestRunner.sh updated: 1.14 -> 1.15 --- Log message: make xfail info more nice --- Diffs of the changes: (+1 -1) TestRunner.sh |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/TestRunner.sh diff -u llvm/test/TestRunner.sh:1.14 llv

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.733 -> 1.734 --- Log message: Fix regression on Instcombine/apint-or2.ll --- Diffs of the changes: (+29 -30) InstructionCombining.cpp | 59 +++ 1 files change

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/apint-xor1.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: apint-xor1.ll updated: 1.2 -> 1.3 --- Log message: tweak this to test the right thing. --- Diffs of the changes: (+1 -1) apint-xor1.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Transforms/InstCombine/

[llvm-commits] CVS: llvm/test/TestRunner.sh

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test: TestRunner.sh updated: 1.13 -> 1.14 --- Log message: testrunner should print out xfail info. --- Diffs of the changes: (+1 -0) TestRunner.sh |1 + 1 files changed, 1 insertion(+) Index: llvm/test/TestRunner.sh diff -u llvm/test/TestRunner.sh:1.13 llvm/

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.732 -> 1.733 --- Log message: Generalize the code that handles (A&B)|(A&C) to work where B/C are not constants. Add a new xform to simplify (A&B)|(~A&C). THis implements InstCombine/or2.ll:test1 --- Diffs

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/or2.ll

2007-04-08 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: or2.ll added (r1.1) --- Log message: new testcase, should simplify down to a xor/and/xor sequence. --- Diffs of the changes: (+11 -0) or2.ll | 11 +++ 1 files changed, 11 insertions(+) Index: llvm/test/Transforms/InstCombin

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.108 -> 1.109 --- Log message: implement a fixme: move optimizations for fwrite out of fputs into a new fwrite optimizer. --- Diffs of the changes: (+56 -26) SimplifyLibCalls.cpp | 82 +++