[llvm-commits] [llvm-commit][llvm-gcc4]There's never a good reason to use TYPE_MAIN_VARIANT.

2006-12-22 Thread Jim Laskey
Index: gcc/llvm-debug.cpp === --- gcc/llvm-debug.cpp (revision 121659) +++ gcc/llvm-debug.cpp (working copy) @@ -451,14 +451,11 @@ /// getOrCreateType - Get the type from the cache or create a new type if /// necessary. ///

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

2006-12-22 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.108 - 1.109 --- Log message: Need to walk the derived chain of typedefs to get actual size. --- Diffs of the changes: (+13 -4) DwarfWriter.cpp | 17 + 1 files changed, 13 insertions(+), 4 deletions(-)

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

2006-12-22 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.306 - 1.307 X86Subtarget.cpp updated: 1.45 - 1.46 X86Subtarget.h updated: 1.23 - 1.24 X86TargetMachine.cpp updated: 1.132 - 1.133 --- Log message: Refactored JIT codegen for mingw32. Now we're using standart relocation

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/vector-identity-shuffle.ll

2006-12-22 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/Generic: vector-identity-shuffle.ll updated: 1.2 - 1.3 --- Log message: let this pass for ppc/linux --- Diffs of the changes: (+1 -1) vector-identity-shuffle.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2006-12-22 Thread Devang Patel
Changes in directory llvm/lib/VMCore: Pass.cpp updated: 1.80 - 1.81 --- Log message: ModulePass and ImmutablePass. Force out of line virtual method. --- Diffs of the changes: (+6 -0) Pass.cpp |6 ++ 1 files changed, 6 insertions(+) Index: llvm/lib/VMCore/Pass.cpp diff -u

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

2006-12-22 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.64 - 1.65 --- Log message: ModulePass and ImmutablePass. Force out of line virtual method. --- Diffs of the changes: (+6 -0) Pass.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/Pass.h diff -u

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

2006-12-22 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.65 - 1.66 --- Log message: Enable new pass manager. 2nd attempt. --- Diffs of the changes: (+1 -1) Pass.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Pass.h diff -u

Re: [llvm-commits] SETCC InstructionCombining.cpp [#1/n]

2006-12-22 Thread Reid Spencer
Just confirming .. all changes incorporated. Reid. On Wed, 2006-12-20 at 18:22 -0800, Chris Lattner wrote: On Dec 17, 2006, at 3:35 PM, Reid Spencer wrote: Chris, Attached is the patch to InstructionCombining.cpp for SETCC conversion to ICmpInst. This passes all tests. All your

Re: [llvm-commits] SETCC InstructionCombining.cpp [#2/3]

2006-12-22 Thread Reid Spencer
On Fri, 2006-12-22 at 12:08 -0800, Chris Lattner wrote: +/// Four bits are used to represent the condition, as follows: +/// 0 A B +/// 1 A == B +/// 2 A B +/// 3 A and B are signed +/// +/// S= Definition S= Definition +/// Always false

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

2006-12-22 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.59 - 1.60 --- Log message: add a simple fast-path for dead allocas --- Diffs of the changes: (+8 -1) ScalarReplAggregates.cpp |9 - 1 files changed, 8 insertions(+), 1 deletion(-) Index:

Re: [llvm-commits] SETCC InstructionCombining.cpp [#2/3]

2006-12-22 Thread Chris Lattner
On Dec 22, 2006, at 3:08 PM, Reid Spencer wrote: On Fri, 2006-12-22 at 12:08 -0800, Chris Lattner wrote: +/// Four bits are used to represent the condition, as follows: +/// 0 A B +/// 1 A == B +/// 2 A B +/// 3 A and B are signed +/// +/// S= Definition S=

Re: [llvm-commits] SETCC InstructionCombining.cpp [3/3]

2006-12-22 Thread Reid Spencer
On Fri, 2006-12-22 at 13:31 -0800, Chris Lattner wrote: +// We're performing a signed comparison. +if (isSignedExt) { + // Signed extend and signed comparison. + if (castConstantInt(CI)-getSExtValue() 0)// X (small) -- false +Result = ConstantBool::getFalse();

Re: [llvm-commits] SETCC InstructionCombining.cpp [3/3]

2006-12-22 Thread Reid Spencer
On Fri, 2006-12-22 at 13:31 -0800, Chris Lattner wrote: + if (Res2 == CI) { +// Make sure that sign of the Cmp and the sign of the Cast are the same. +// For example, we might have: +//%A = sext short %X to uint +//%B = icmp ugt uint %A, 1330 +// It is

[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/tools/bugpoint: Miscompilation.cpp updated: 1.81 - 1.82 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced

[llvm-commits] CVS: llvm/lib/Transforms/Utils/CloneFunction.cpp Local.cpp LowerInvoke.cpp LowerSwitch.cpp SimplifyCFG.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Utils: CloneFunction.cpp updated: 1.33 - 1.34 Local.cpp updated: 1.62 - 1.63 LowerInvoke.cpp updated: 1.47 - 1.48 LowerSwitch.cpp updated: 1.30 - 1.31 SimplifyCFG.cpp updated: 1.107 - 1.108 --- Log message: For PR950: http://llvm.org/PR950 : This patch

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.333 - 1.334 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and

[llvm-commits] CVS: llvm/test/Regression/Transforms/LoopSimplify/2006-08-11-LoopSimplifyLongTime.ll.bc

2006-12-22 Thread Reid Spencer
Changes in directory llvm/test/Regression/Transforms/LoopSimplify: 2006-08-11-LoopSimplifyLongTime.ll.bc updated: 1.2 - 1.3 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/include/llvm/Transforms/Utils: Local.h updated: 1.23 - 1.24 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been

[llvm-commits] CVS: llvm/include/llvm/Constants.h InstrTypes.h Instruction.def Instruction.h Instructions.h Pass.h

2006-12-22 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.111 - 1.112 InstrTypes.h updated: 1.55 - 1.56 Instruction.def updated: 1.27 - 1.28 Instruction.h updated: 1.76 - 1.77 Instructions.h updated: 1.47 - 1.48 Pass.h updated: 1.66 - 1.67 --- Log message: For PR950: http://llvm.org/PR950

[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp LevelRaise.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms: ExprTypeConvert.cpp updated: 1.117 - 1.118 LevelRaise.cpp updated: 1.116 - 1.117 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/include/llvm/Analysis: ScalarEvolutionExpressions.h updated: 1.9 - 1.10 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed

[llvm-commits] CVS: llvm/examples/Fibonacci/fibonacci.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/examples/Fibonacci: fibonacci.cpp updated: 1.12 - 1.13 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Interpreter.h

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.153 - 1.154 Interpreter.h updated: 1.78 - 1.79 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The

[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.25 - 1.26 --- Log message: For PR950: http://llvm.org/PR950 : 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

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.53 - 1.54 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced

[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2006-12-10-ICmp-GEP-GEP.ll 2006-12-15-Range-Test.ll 2006-12-08-Phi-ICmp-Op-Fold.ll JavaCompare.ll cast.ll set.ll setcc-strength-reduce.l

2006-12-22 Thread Reid Spencer
Changes in directory llvm/test/Regression/Transforms/InstCombine: 2006-12-10-ICmp-GEP-GEP.ll added (r1.1) 2006-12-15-Range-Test.ll added (r1.1) 2006-12-08-Phi-ICmp-Op-Fold.ll updated: 1.1 - 1.2 JavaCompare.ll updated: 1.4 - 1.5 cast.ll updated: 1.35 - 1.36 set.ll updated: 1.20 - 1.21

[llvm-commits] CVS: llvm/examples/ParallelJIT/ParallelJIT.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/examples/ParallelJIT: ParallelJIT.cpp updated: 1.6 - 1.7 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been

[llvm-commits] CVS: llvm/test/Regression/CFrontend/2006-12-14-ordered_expr.c

2006-12-22 Thread Reid Spencer
Changes in directory llvm/test/Regression/CFrontend: 2006-12-14-ordered_expr.c updated: 1.1 - 1.2 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed

[llvm-commits] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/projects/Stacker/lib/compiler: StackerCompiler.cpp updated: 1.27 - 1.28 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed

[llvm-commits] CVS: llvm/lib/Target/README.txt

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Target: README.txt updated: 1.52 - 1.53 --- Log message: For PR950: http://llvm.org/PR950 : 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

[llvm-commits] [llvm-gcc] SETCC Removal Patch (Please Commit)

2006-12-22 Thread Reid Spencer
All, As the SetCondInst instruction has been replaced with the new FCmpInst and ICmpInst instrucitons in LLVM, the attached patch compensates for this in llvm-gcc. Since the Apple developers are unlikely to commit this for over a week, if you're working over the holidays you'll need to apply this

[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/RSProfiling.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Instrumentation: RSProfiling.cpp updated: 1.12 - 1.13 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and

[llvm-commits] CVS: llvm/test/Regression/Transforms/LoopStrengthReduce/exit_compare_live_range.ll

2006-12-22 Thread Reid Spencer
Changes in directory llvm/test/Regression/Transforms/LoopStrengthReduce: exit_compare_live_range.ll updated: 1.3 - 1.4 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst

[llvm-commits] CVS: llvm/lib/Analysis/BasicAliasAnalysis.cpp ConstantRange.cpp LoopInfo.cpp ScalarEvolution.cpp ValueNumbering.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Analysis: BasicAliasAnalysis.cpp updated: 1.94 - 1.95 ConstantRange.cpp updated: 1.22 - 1.23 LoopInfo.cpp updated: 1.81 - 1.82 ScalarEvolution.cpp updated: 1.76 - 1.77 ValueNumbering.cpp updated: 1.23 - 1.24 --- Log message: For PR950: http://llvm.org/PR950 : This

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: Makefile updated: 1.8 - 1.9 Writer.cpp updated: 1.300 - 1.301 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been

[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp GlobalsModRef.cpp

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Analysis/IPA: Andersens.cpp updated: 1.41 - 1.42 GlobalsModRef.cpp updated: 1.26 - 1.27 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction

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

2006-12-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: GlobalOpt.cpp updated: 1.80 - 1.81 SimplifyLibCalls.cpp updated: 1.79 - 1.80 --- Log message: For PR950: http://llvm.org/PR950 : This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst