[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/store_op_load_fold2.ll

2006-10-22 Thread Evan Cheng
Changes in directory llvm/test/Regression/CodeGen/X86: store_op_load_fold2.ll updated: 1.4 -> 1.5 --- Log message: Fix test case. --- Diffs of the changes: (+3 -6) store_op_load_fold2.ll |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) Index: llvm/test/Regression/CodeGen

[llvm-commits] [llvm-gcc4] DIV -> U/S/FDIV Patch For Review

2006-10-22 Thread Reid Spencer
Attached is a patch to llvm-gcc4, svn rev 187, that causes llvm-gcc4 to emit UDiv, SDiv, and FDiv instructions per the change in llvm. Reid. Index: gcc/llvm-convert.cpp === --- gcc/llvm-convert.cpp (revision 187) +++ gcc/llvm-convert

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

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.24 -> 1.25 --- Log message: Remove the Backwards operation. Resolving now works at the time when a property is added by running through the list of uses of the value and adding resolved properties to the proper

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.266.2.6 -> 1.266.2.7 --- Log message: Improve documentation for the opcode conversion function. --- Diffs of the changes: (+7 -1) llvmAsmParser.y |8 +++- 1 files changed, 7 insertions(+), 1 deletion(-) Index: ll

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

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.292 -> 1.293 --- Log message: disable this code for now, it's not yet safely updating phi nodes --- Diffs of the changes: (+3 -3) SelectionDAGISel.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 dele

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.520.2.7 -> 1.520.2.8 --- Log message: Don't try to replicate integer transforms/folding for floating point values. Its not valid! --- Diffs of the changes: (+4 -36) InstructionCombining.cpp | 40

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

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.22 -> 1.23 --- Log message: Whoops! Add missing NULL check. --- Diffs of the changes: (+1 -0) PredicateSimplifier.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Transforms/Scalar/PredicateS

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

2006-10-22 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.203 -> 1.204 --- Log message: Do section switching right way for Mingw\Cygwin and Linux. This will allow (after llvm-gcc linkage fix) more dummy tests using libstdc++ to pass on mingw :) --- Diffs of the changes: (+10 -4

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

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.142 -> 1.143 --- Log message: this part implemented. --- Diffs of the changes: (+0 -29) README.txt | 29 - 1 files changed, 29 deletions(-) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib

[llvm-commits] CVS: llvm/test/Regression/Transforms/PredicateSimplifier/2006-10-22-IntOr.ll

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/test/Regression/Transforms/PredicateSimplifier: 2006-10-22-IntOr.ll added (r1.1) --- Log message: Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missed optimization opportunity pointed out by Chris Lattner. --- Diffs of the changes: (+21 -0) 2006-10

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: ConstantFolding.cpp updated: 1.93.2.6 -> 1.93.2.7 --- Log message: Don't try to replicate integer transforms/folding for floating point values. Its not valid! --- Diffs of the changes: (+0 -5) ConstantFolding.cpp |5 - 1 files changed, 5 deleti

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

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.293 -> 1.294 --- Log message: Fix phi node updating for switches lowered to linear sequences of branches. --- Diffs of the changes: (+13 -1) SelectionDAGISel.cpp | 14 +- 1 files changed, 13 i

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

2006-10-22 Thread Reid Spencer
Nick, ... On Sun, 2006-10-22 at 16:38 -0500, Nick Lewycky wrote: > > Changes in directory llvm/lib/Transforms/Scalar: > > PredicateSimplifier.cpp updated: 1.22 -> 1.23 > --- > Log message: > > Whoops! Add missing NULL check. > > > --- > Diffs of the changes: (+1 -0) > > PredicateSimplifier

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.198.2.5 -> 1.198.2.6 Reader.h updated: 1.34.2.1 -> 1.34.2.2 --- Log message: Improve documentation on opcode upgrade from obsolete versions. Fully document all opcodes. Don't try to jump the gun on REM conversions. --- Diffs

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/ldecod/Makefile

2006-10-22 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: Makefile updated: 1.3 -> 1.4 --- Log message: Oops. FP_TOLERANCE should be 0.02 not 0.2. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Ap

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

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.23 -> 1.24 --- Log message: Fix similar missing optimization opportunity in XOR. --- Diffs of the changes: (+22 -13) PredicateSimplifier.cpp | 35 ++- 1 files changed, 22 i

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

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.291 -> 1.292 --- Log message: Implement PR964: http://llvm.org/PR964 and Regression/CodeGen/Generic/SwitchLowering.ll --- Diffs of the changes: (+44 -5) SelectionDAGISel.cpp | 49 +++

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

2006-10-22 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: TailRecursionElimination.cpp updated: 1.23 -> 1.24 --- Log message: Add a workaround for PR962: http://llvm.org/PR962 , disabling the more aggressive form of this transformation. This speeds up a C++ app 2.25x. --- Diffs of the changes: (+8

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

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.21 -> 1.22 --- Log message: Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missed optimization opportunity pointed out by Chris Lattner. --- Diffs of the changes: (+13 -10) PredicateSimplifie

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/SwitchLowering.ll

2006-10-22 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/Generic: SwitchLowering.ll added (r1.1) --- Log message: new testcase for PR964: http://llvm.org/PR964 --- Diffs of the changes: (+27 -0) SwitchLowering.ll | 27 +++ 1 files changed, 27 insertions(+) Index: llvm

[llvm-commits] CVS: llvm/test/Regression/Transforms/PredicateSimplifier/predsimplify.ll

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/test/Regression/Transforms/PredicateSimplifier: predsimplify.ll updated: 1.2 -> 1.3 --- Log message: AllocaInst can't return a null pointer. Fixes missed optimization opportunity pointed out by Andrew Lewycky. --- Diffs of the changes: (+16 -1) predsimplify.ll |

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

2006-10-22 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.20 -> 1.21 --- Log message: AllocaInst can't return a null pointer. Fixes missed optimization opportunity pointed out by Andrew Lewycky. --- Diffs of the changes: (+6 -0) PredicateSimplifier.cpp |6

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/ldecod/Makefile

2006-10-22 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: Makefile updated: 1.2 -> 1.3 --- Log message: Set the FP TOLERANCE to 0.02 so the llc and cbe can pass. This is a horrid tolerance and still doesn't cause the JIT to pass. --- Diffs of the changes: (+1 -0) Makefile |1 +

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.273 -> 1.274 --- Log message: Don't generate a prototype for _setjmp. At least on Linux, this function has a different prototype than the one #included from . This patch fixes siod and a number of other test cases on Linux tha

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.272.2.4 -> 1.272.2.5 --- Log message: Don't generate a prototype for _setjmp. At least on Linux, this function has a different prototype than the one #included from . This patch fixes siod and a number of other test cases on

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.139.6.2 -> 1.139.6.3 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+4 -2) Execution.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.289.2.4 -> 1.289.2.5 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+42 -16) SelectionDAGISel.cpp | 58 --

[llvm-commits] [SignlessTypes] CVS: llvm/test/Feature/signedinst.ll

2006-10-22 Thread Reid Spencer
Changes in directory llvm/test/Feature: signedinst.ll updated: 1.1.2.2 -> 1.1.2.3 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+1 -0) signedinst.ll |1 + 1 files changed, 1 insertion(+) Index: llvm/test/Feature/signedinst.ll di

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.16.2.2 -> 1.16.2.3 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+3 -0) CppWriter.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/tools/llvm2cpp/CppWrit

[llvm-commits] [SignlessTypes] CVS: llvm/include/llvm/Support/PatternMatch.h

2006-10-22 Thread Reid Spencer
Changes in directory llvm/include/llvm/Support: PatternMatch.h updated: 1.9.2.1 -> 1.9.2.2 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+6 -0) PatternMatch.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/

[llvm-commits] [SignlessTypes] CVS: llvm/include/llvm/Constants.h Instruction.def

2006-10-22 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.88.2.6 -> 1.88.2.7 Instruction.def updated: 1.19.6.4 -> 1.19.6.5 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+35 -33) Constants.h |1 Instruction.def | 67 +++

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.520.2.6 -> 1.520.2.7 PredicateSimplifier.cpp updated: 1.20.2.1 -> 1.20.2.2 Reassociate.cpp updated: 1.62.2.2 -> 1.62.2.3 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of

[llvm-commits] [SignlessTypes] CVS: llvm/lib/VMCore/ConstantFolding.cpp Constants.cpp Instruction.cpp Instructions.cpp

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: ConstantFolding.cpp updated: 1.93.2.5 -> 1.93.2.6 Constants.cpp updated: 1.163.2.7 -> 1.163.2.8 Instruction.cpp updated: 1.53.2.3 -> 1.53.2.4 Instructions.cpp updated: 1.42.2.4 -> 1.42.2.5 --- Log message: Implement the FDIV instruction for floating point d

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.272.2.3 -> 1.272.2.4 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+5 -2) Writer.cpp |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm/l

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.198.2.4 -> 1.198.2.5 --- Log message: Implement the FDIV instruction for floating point divide. --- Diffs of the changes: (+12 -6) Reader.cpp | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-)

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

2006-10-22 Thread Reid Spencer
On Sat, 2006-10-21 at 23:09 -0700, Chris Lattner wrote: > >> @@ -1873,6 +1874,11 @@ > >> free($3); > >> CHECK_FOR_ERROR > >>}; > >> + | DATA '=' STRINGCONSTANT { > >> +CurModule.CurrentModule->setDataLayout($3); > >> +free($3); > >> +CHECK_FOR_ERROR > > > > I don't think

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

2006-10-22 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.268 -> 1.269 --- Log message: Remove unneeded CHECK_FOR_ERROR invocations. --- Diffs of the changes: (+0 -2) llvmAsmParser.y |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/AsmParser/llvmAsmParser.y diff -u ll