[llvm-commits] [llvm] r40856 - /llvm/trunk/include/llvm/Analysis/Dominators.h

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 01:15:43 2007 New Revision: 40856 URL: http://llvm.org/viewvc/llvm-project?rev=40856view=rev Log: Various random cleanups, add two accessors to DomTreeNode: getDFSNumIn/getDFSNumOut Modified: llvm/trunk/include/llvm/Analysis/Dominators.h Modified:

[llvm-commits] [llvm] r40857 - /llvm/trunk/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 01:17:08 2007 New Revision: 40857 URL: http://llvm.org/viewvc/llvm-project?rev=40857view=rev Log: update for new domtree dump format Modified: llvm/trunk/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll Modified:

[llvm-commits] [llvm] r40858 - /llvm/trunk/lib/VMCore/Dominators.cpp

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 01:19:47 2007 New Revision: 40858 URL: http://llvm.org/viewvc/llvm-project?rev=40858view=rev Log: 1. Random tidiness cleanups 2. Make domtree printing print dfin/dfout #'s 3. Fix the Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll failure from

[llvm-commits] [llvm] r40859 - /llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 01:21:06 2007 New Revision: 40859 URL: http://llvm.org/viewvc/llvm-project?rev=40859view=rev Log: remove some dead lines Modified: llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp Modified: llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp URL:

[llvm-commits] [poolalloc] r40860 - in /poolalloc/branches/SVA/lib/DSA: KPools.cpp LeafRepl.cpp Local.cpp

2007-08-06 Thread Andrew Lenharth
Author: alenhar2 Date: Mon Aug 6 09:54:33 2007 New Revision: 40860 URL: http://llvm.org/viewvc/llvm-project?rev=40860view=rev Log: different cloners Added: poolalloc/branches/SVA/lib/DSA/KPools.cpp Modified: poolalloc/branches/SVA/lib/DSA/LeafRepl.cpp

[llvm-commits] [llvm] r40861 - /llvm/trunk/lib/Transforms/Scalar/LowerGC.cpp

2007-08-06 Thread David Greene
Author: greened Date: Mon Aug 6 10:09:17 2007 New Revision: 40861 URL: http://llvm.org/viewvc/llvm-project?rev=40861view=rev Log: Make this code more efficient. Modified: llvm/trunk/lib/Transforms/Scalar/LowerGC.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LowerGC.cpp URL:

[llvm-commits] [llvm-gcc-4.0] r40862 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 11:28:11 2007 New Revision: 40862 URL: http://llvm.org/viewvc/llvm-project?rev=40862view=rev Log: fix a regression compiling SingleSource/UnitTests/2005-05-11-Popcount-ffs-fls, introduced by chandler's recent patches. Modified:

[llvm-commits] [llvm] r40863 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/LowerSubregs.cpp

2007-08-06 Thread Christopher Lamb
Author: clamb Date: Mon Aug 6 11:33:56 2007 New Revision: 40863 URL: http://llvm.org/viewvc/llvm-project?rev=40863view=rev Log: Implement review feedback. No functionality change. Modified: llvm/trunk/include/llvm/CodeGen/Passes.h llvm/trunk/lib/CodeGen/LowerSubregs.cpp Modified:

[llvm-commits] [llvm] r40864 - /llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 11:36:18 2007 New Revision: 40864 URL: http://llvm.org/viewvc/llvm-project?rev=40864view=rev Log: Fix a regression compiling 2005-05-11-Popcount-ffs-fls with the CBE, introduced by chandler's patch. Modified: llvm/trunk/lib/CodeGen/IntrinsicLowering.cpp

[llvm-commits] [llvm] r40865 - /llvm/trunk/include/llvm/Support/LLVMBuilder.h

2007-08-06 Thread Reid Spencer
Author: reid Date: Mon Aug 6 12:10:29 2007 New Revision: 40865 URL: http://llvm.org/viewvc/llvm-project?rev=40865view=rev Log: @verbatim needs to be on a line by itself. Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h URL:

[llvm-commits] [llvm] r40866 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-09-06-MisinterpretBranch.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 13:33:46 2007 New Revision: 40866 URL: http://llvm.org/viewvc/llvm-project?rev=40866view=rev Log: Don't assume it's safe to transform a loop just because it's dominated by any comparison. Fixes bug 1598. Added:

[llvm-commits] [llvm] r40867 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2007-09-06-Unsigned.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 14:21:00 2007 New Revision: 40867 URL: http://llvm.org/viewvc/llvm-project?rev=40867view=rev Log: Let scalar-evolution analyze loops with an unsigned comparison for the exit condition. Fixes 1597. Added:

[llvm-commits] [llvm] r40868 - /llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

2007-08-06 Thread Dale Johannesen
Author: johannes Date: Mon Aug 6 14:50:32 2007 New Revision: 40868 URL: http://llvm.org/viewvc/llvm-project?rev=40868view=rev Log: Make 80-bit store maintain simulated FP stack correctly. Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp Modified:

[llvm-commits] [llvm] r40869 - in /llvm/trunk/test/Analysis/ScalarEvolution: 2007-08-06-MisinterpretBranch.ll 2007-08-06-Unsigned.ll 2007-09-06-MisinterpretBranch.ll 2007-09-06-Unsigned.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 15:00:11 2007 New Revision: 40869 URL: http://llvm.org/viewvc/llvm-project?rev=40869view=rev Log: Fix the dates on these tests. It's not September yet. Thanks Reid! Added: llvm/trunk/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll -

[llvm-commits] [llvm] r40870 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/not-fcmp.ll

2007-08-06 Thread Nick Lewycky
Author: nicholas Date: Mon Aug 6 15:04:16 2007 New Revision: 40870 URL: http://llvm.org/viewvc/llvm-project?rev=40870view=rev Log: It's safe to fold not of fcmp. Added: llvm/trunk/test/Transforms/InstCombine/not-fcmp.ll Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

[llvm-commits] [llvm] r40871 - /llvm/trunk/include/llvm/ADT/BitVector.h

2007-08-06 Thread Chandler Carruth
Author: chandlerc Date: Mon Aug 6 15:52:17 2007 New Revision: 40871 URL: http://llvm.org/viewvc/llvm-project?rev=40871view=rev Log: This fixes resizing issues with BitVectors. It ensures that the BitWord type and type size is always used, and ensures completely correct clearing of unused high

[llvm-commits] [llvm] r40872 - in /llvm/trunk: lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll utils/TableGen/IntrinsicEmitter.cpp

2007-08-06 Thread Chandler Carruth
Author: chandlerc Date: Mon Aug 6 15:57:16 2007 New Revision: 40872 URL: http://llvm.org/viewvc/llvm-project?rev=40872view=rev Log: This resolves a regression of BasicAA which failed to find any memory information for overloaded intrinsics (PR1600). This resolves that issue, and improves the

[llvm-commits] [test-suite] r40873 - /test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp

2007-08-06 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Aug 6 15:57:46 2007 New Revision: 40873 URL: http://llvm.org/viewvc/llvm-project?rev=40873view=rev Log: SMALL_PROBLEM_SIZE: reduce the memory usage. Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp Modified:

[llvm-commits] [llvm] r40874 - in /llvm/trunk: lib/AsmParser/llvmAsmParser.y test/Assembler/2007-08-06-AliasInvalid.ll

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 16:00:37 2007 New Revision: 40874 URL: http://llvm.org/viewvc/llvm-project?rev=40874view=rev Log: Fix PR1577, a crash on invalid bug. Added: llvm/trunk/test/Assembler/2007-08-06-AliasInvalid.ll Modified: llvm/trunk/lib/AsmParser/llvmAsmParser.y Modified:

[llvm-commits] [test-suite] r40876 - /test-suite/trunk/Makefile.config.in

2007-08-06 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Aug 6 16:14:16 2007 New Revision: 40876 URL: http://llvm.org/viewvc/llvm-project?rev=40876view=rev Log: Ignore the LIBS set by the Makefile.config of llvm core. This fixes the ARM cbe failures caused by svn revision 40836. Modified:

[llvm-commits] [llvm] r40877 - in /llvm/trunk/lib/Target/X86: X86CallingConv.td X86FloatingPoint.cpp X86ISelDAGToDAG.cpp X86InstrFPStack.td

2007-08-06 Thread Dale Johannesen
Author: johannes Date: Mon Aug 6 16:31:06 2007 New Revision: 40877 URL: http://llvm.org/viewvc/llvm-project?rev=40877view=rev Log: Get X86 long double calling convention to work (on Darwin, anyway). Fix some table omissions for LD arithmetic. Modified:

[llvm-commits] [llvm] r40878 - in /llvm/trunk/lib/Target/X86: X86Subtarget.h X86TargetMachine.cpp

2007-08-06 Thread Dale Johannesen
Author: johannes Date: Mon Aug 6 16:48:35 2007 New Revision: 40878 URL: http://llvm.org/viewvc/llvm-project?rev=40878view=rev Log: Move lengthy conditional down 1 level per review comment. Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h llvm/trunk/lib/Target/X86/X86TargetMachine.cpp

Re: [llvm-commits] [llvm] r40878 - in /llvm/trunk/lib/Target/X86: X86Subtarget.h X86TargetMachine.cpp

2007-08-06 Thread Chris Lattner
Move lengthy conditional down 1 level per review comment. Thanks! + std::string getDataLayout() const { return +is64Bit() ? std::string(e-p:64:64-f64:32:64-i64:32:64- f80:128:128) : +isTargetDarwin() ? std::string(e-p:32:32-f64:32:64-i64:32:64- f80:128:128) : +

[llvm-commits] [llvm] r40879 - /llvm/trunk/include/llvm/Instructions.h

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 17:01:53 2007 New Revision: 40879 URL: http://llvm.org/viewvc/llvm-project?rev=40879view=rev Log: remove #if 0 code. Modified: llvm/trunk/include/llvm/Instructions.h Modified: llvm/trunk/include/llvm/Instructions.h URL:

Re: [llvm-commits] [llvm] r40878 - in /llvm/trunk/lib/Target/X86: X86Subtarget.h X86TargetMachine.cpp

2007-08-06 Thread Dale Johannesen
On Aug 6, 2007, at 2:57 PM, Chris Lattner wrote: Move lengthy conditional down 1 level per review comment. Thanks! + std::string getDataLayout() const { return +is64Bit() ? std::string(e-p:64:64-f64:32:64-i64:32:64- f80:128:128) : +isTargetDarwin() ?

[llvm-commits] [llvm] r40880 - /llvm/trunk/include/llvm/Support/LLVMBuilder.h

2007-08-06 Thread Chris Lattner
Author: lattner Date: Mon Aug 6 17:03:19 2007 New Revision: 40880 URL: http://llvm.org/viewvc/llvm-project?rev=40880view=rev Log: remove #if 0 code. Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h URL:

Re: [llvm-commits] [llvm] r40878 - in /llvm/trunk/lib/Target/X86: X86Subtarget.h X86TargetMachine.cpp

2007-08-06 Thread Chris Lattner
On Aug 6, 2007, at 3:05 PM, Dale Johannesen wrote: On Aug 6, 2007, at 2:57 PM, Chris Lattner wrote: Move lengthy conditional down 1 level per review comment. Thanks! + std::string getDataLayout() const { return +is64Bit() ? std::string(e-p:64:64-f64:32:64-i64:32:64- f80:128:128)

[llvm-commits] [llvm] r40881 - /llvm/trunk/lib/Target/X86/X86Subtarget.h

2007-08-06 Thread Dale Johannesen
Author: johannes Date: Mon Aug 6 17:10:35 2007 New Revision: 40881 URL: http://llvm.org/viewvc/llvm-project?rev=40881view=rev Log: Replace 4-line function with 10-line version per review comment. Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h Modified:

Re: [llvm-commits] [llvm] r40881 - /llvm/trunk/lib/Target/X86/X86Subtarget.h

2007-08-06 Thread Chris Lattner
Thanks Dale :) -Chris On Aug 6, 2007, at 3:10 PM, Dale Johannesen wrote: Author: johannes Date: Mon Aug 6 17:10:35 2007 New Revision: 40881 URL: http://llvm.org/viewvc/llvm-project?rev=40881view=rev Log: Replace 4-line function with 10-line version per review comment. Modified:

Re: [llvm-commits] [llvm] r40881 - /llvm/trunk/lib/Target/X86/X86Subtarget.h

2007-08-06 Thread Reid Spencer
On Mon, 2007-08-06 at 22:10 +, Dale Johannesen wrote: Author: johannes Date: Mon Aug 6 17:10:35 2007 New Revision: 40881 URL: http://llvm.org/viewvc/llvm-project?rev=40881view=rev Log: Replace 4-line function with 10-line version per review comment. You could make it 8 lines by not

[llvm-commits] First Memory Syncrhonization Patch

2007-08-06 Thread Chandler Carruth
Hello, This is the first of the memory synchronization and atomic operations patches. Here we provide the memory.barrier intrinsic and a conservative implementation in the CBE. -Chandler Index: include/llvm/Intrinsics.td === ---

Re: [llvm-commits] Patch: JIT support for ARM

2007-08-06 Thread Evan Cheng
Thanks. I bet a lot of code in getBinaryCodeForInstr() can be factored into data. But I think this is a good step in the right direction. I'll commit it for you. Evan On Aug 2, 2007, at 2:32 PM, Raul Fernandes Herbster wrote: Evan, thanks a lot for your comments. I've fixed the

[llvm-commits] [llvm] r40882 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp

2007-08-06 Thread Owen Anderson
Author: resistor Date: Mon Aug 6 18:26:03 2007 New Revision: 40882 URL: http://llvm.org/viewvc/llvm-project?rev=40882view=rev Log: Improve the accuracy of memdep for determining the dependencies of loads. This brings GVN to parity with GCSE+LoadVN. Modified:

[llvm-commits] [llvm] r40883 - in /llvm/trunk: include/llvm/LinkAllPasses.h include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-06 Thread Devang Patel
Author: dpatel Date: Mon Aug 6 19:25:56 2007 New Revision: 40883 URL: http://llvm.org/viewvc/llvm-project?rev=40883view=rev Log: Begin loop index split pass. Added: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified: llvm/trunk/include/llvm/LinkAllPasses.h

[llvm-commits] [llvm] r40884 - in /llvm/trunk: include/llvm/Analysis/MemoryDependenceAnalysis.h lib/Analysis/MemoryDependenceAnalysis.cpp

2007-08-06 Thread Owen Anderson
Author: resistor Date: Mon Aug 6 19:33:45 2007 New Revision: 40884 URL: http://llvm.org/viewvc/llvm-project?rev=40884view=rev Log: Clean up a bunch of caching stuff in memdep. This reduces the time to run GVN on 403.gcc from ~15s to ~10s. Modified:

[llvm-commits] [llvm] r40885 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

2007-08-06 Thread Owen Anderson
Author: resistor Date: Mon Aug 6 19:38:16 2007 New Revision: 40885 URL: http://llvm.org/viewvc/llvm-project?rev=40885view=rev Log: Get rid of unnecessary #include. Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Modified:

[llvm-commits] [llvm] r40886 - in /llvm/trunk/lib/Target/X86: X86FloatingPoint.cpp X86ISelLowering.cpp X86InstrFPStack.td

2007-08-06 Thread Dale Johannesen
Author: johannes Date: Mon Aug 6 20:17:37 2007 New Revision: 40886 URL: http://llvm.org/viewvc/llvm-project?rev=40886view=rev Log: Long double patch 7 of N, unless I lost count:). Last x87 bits for full functionality (not thoroughly tested, and long doubles do not work in SSE modes at all -

[llvm-commits] [test-suite] r40888 - /test-suite/trunk/SingleSource/Benchmarks/Misc-C++/Makefile

2007-08-06 Thread Reid Spencer
Author: reid Date: Tue Aug 7 00:19:00 2007 New Revision: 40888 URL: http://llvm.org/viewvc/llvm-project?rev=40888view=rev Log: stepanov test is extremely sensitive to interference workload and, especially in the jit, will produce values of 0.00 or 0.01 from one run to the next. Consequently a