Re: [llvm-commits] [llvm-gcc-4.2] r41171 - in /llvm-gcc-4.2/trunk/gcc: except.c except.h llvm-convert.cpp llvm-internal.h

2007-08-20 Thread Duncan Sands
Hi Chris, Exception handling rewrite - let gcc do the heavy lifting. This patch strips out the existing LLVM eh code, and replaces it with simpler code that exploits gcc's eh machinery. It requires running gcc's eh lowering pass (it was already being run in gcc-4.2). Not only is

[llvm-commits] [llvm] r41179 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/Target/X86/X86ISelLowering.cpp

2007-08-20 Thread Rafael Espindola
Author: rafael Date: Mon Aug 20 10:18:24 2007 New Revision: 41179 URL: http://llvm.org/viewvc/llvm-project?rev=41179view=rev Log: Partial implementation of calling functions with byval arguments: *) The needed information is propagated to the DAG *) The X86-64 backend detects it and aborts

[llvm-commits] [llvm-gcc-4.2] r41182 - /llvm-gcc-4.2/trunk/gcc/passes.c

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 12:02:01 2007 New Revision: 41182 URL: http://llvm.org/viewvc/llvm-project?rev=41182view=rev Log: The gcc vector lowering pass should only be turned off if LLVM is enabled. Modified: llvm-gcc-4.2/trunk/gcc/passes.c Modified: llvm-gcc-4.2/trunk/gcc/passes.c

[llvm-commits] [llvm-gcc-4.2] r41183 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 12:04:56 2007 New Revision: 41183 URL: http://llvm.org/viewvc/llvm-project?rev=41183view=rev Log: Rather than calling disband_implicit_edges (which does a bunch of things we don't need), handle fall-through edges directly. Modified:

[llvm-commits] [llvm-gcc-4.2] r41184 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 12:06:52 2007 New Revision: 41184 URL: http://llvm.org/viewvc/llvm-project?rev=41184view=rev Log: In cfg gimple, both branches of a COND_EXPR are guaranteed to be gotos. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified:

[llvm-commits] [llvm-gcc-4.2] r41186 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 12:10:50 2007 New Revision: 41186 URL: http://llvm.org/viewvc/llvm-project?rev=41186view=rev Log: FIXME: When merged with mainline, remove this code. That presumably means now. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

[llvm-commits] [llvm] r41187 - /llvm/trunk/test/C++Frontend/2007-05-23-TryFinally.cpp

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 12:14:02 2007 New Revision: 41187 URL: http://llvm.org/viewvc/llvm-project?rev=41187view=rev Log: Fix this test for gcc-4.2. Modified: llvm/trunk/test/C++Frontend/2007-05-23-TryFinally.cpp Modified: llvm/trunk/test/C++Frontend/2007-05-23-TryFinally.cpp URL:

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

2007-08-20 Thread Raul Fernandes Herbster
Evan, thanks a lot for your comments. I fixed the code (as discussed previously). Cheers. -- Raul Fernandes Herbster Embedded and Pervasive Computing Laboratory - embedded.dee.ufcg.edu.br Electrical Engineering Department - DEE - www.dee.ufcg.edu.br Electrical Engineering and Informatics

[llvm-commits] [llvm] r41189 - /llvm/trunk/lib/VMCore/Function.cpp

2007-08-20 Thread Dan Gohman
Author: djg Date: Mon Aug 20 14:23:34 2007 New Revision: 41189 URL: http://llvm.org/viewvc/llvm-project?rev=41189view=rev Log: When Intrinsic::getName is constructing names for overloaded intrinsics, use the ValueType name instead of the llvm type name, to match what the verifier expects. For

[llvm-commits] [llvm] r41191 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

2007-08-20 Thread Dan Gohman
Author: djg Date: Mon Aug 20 14:28:38 2007 New Revision: 41191 URL: http://llvm.org/viewvc/llvm-project?rev=41191view=rev Log: Minor cleanups to reduce some spurious differences between different scheduler implementations. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

[llvm-commits] [llvm] r41192 - /llvm/trunk/include/llvm/Support/PassNameParser.h

2007-08-20 Thread David Greene
Author: greened Date: Mon Aug 20 14:54:01 2007 New Revision: 41192 URL: http://llvm.org/viewvc/llvm-project?rev=41192view=rev Log: Add FilteredPassNameParser along with PassArgFilter to filter passes based on their Arg members. Modified: llvm/trunk/include/llvm/Support/PassNameParser.h

[llvm-commits] [llvm-gcc-4.2] r41193 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 15:14:33 2007 New Revision: 41193 URL: http://llvm.org/viewvc/llvm-project?rev=41193view=rev Log: Restore wrongly removed call. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL:

[llvm-commits] [llvm] r41194 - in /llvm/trunk: lib/Transforms/Scalar/LoopIndexSplit.cpp test/Transforms/LoopIndexSplit/Crash-2007-08-17.ll test/Transforms/LoopIndexSplit/Crash2-2007-08-17.ll

2007-08-20 Thread Devang Patel
Author: dpatel Date: Mon Aug 20 15:24:15 2007 New Revision: 41194 URL: http://llvm.org/viewvc/llvm-project?rev=41194view=rev Log: Do not split loops rejected by processOneIterationLoop(). Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

[llvm-commits] [llvm] r41195 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-08-20 Thread Devang Patel
Author: dpatel Date: Mon Aug 20 15:49:01 2007 New Revision: 41195 URL: http://llvm.org/viewvc/llvm-project?rev=41195view=rev Log: Replace indunction variable with split value in loop body. This fixes art miscompile. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified:

[llvm-commits] [llvm-gcc-4.2] r41196 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

2007-08-20 Thread Duncan Sands
Author: baldrick Date: Mon Aug 20 16:03:35 2007 New Revision: 41196 URL: http://llvm.org/viewvc/llvm-project?rev=41196view=rev Log: Fix 2002-08-19-RecursiveLocals.c. Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp URL:

[llvm-commits] [llvm] r41197 - in /llvm/trunk: include/llvm/Analysis/ScalarEvolutionExpander.h lib/Analysis/LoopPass.cpp lib/Analysis/ScalarEvolutionExpander.cpp

2007-08-20 Thread Anton Korobeynikov
Author: asl Date: Mon Aug 20 16:17:26 2007 New Revision: 41197 URL: http://llvm.org/viewvc/llvm-project?rev=41197view=rev Log: - Use correct header for SCEV inside LoopPass.cpp - Move SCEVExpander::expand() out-of-line workarounding possible toolchain bug Modified:

Re: [llvm-commits] [llvm] r41192 - /llvm/trunk/include/llvm/Support/PassNameParser.h

2007-08-20 Thread Tanya Lattner
These are good comments, but could you use the doxygen style comments /// so that it will show up in doxygen? Thanks, Tanya On Aug 20, 2007, at 12:54 PM, David Greene wrote: Author: greened Date: Mon Aug 20 14:54:01 2007 New Revision: 41192 URL:

[llvm-commits] [llvm] r41198 - /llvm/trunk/include/llvm/ADT/SmallVector.h

2007-08-20 Thread Chris Lattner
Author: lattner Date: Mon Aug 20 16:22:48 2007 New Revision: 41198 URL: http://llvm.org/viewvc/llvm-project?rev=41198view=rev Log: add reverse iterators to smallvector Modified: llvm/trunk/include/llvm/ADT/SmallVector.h Modified: llvm/trunk/include/llvm/ADT/SmallVector.h URL:

[llvm-commits] [llvm] r41199 - /llvm/trunk/include/llvm/Function.h

2007-08-20 Thread Chris Lattner
Author: lattner Date: Mon Aug 20 16:31:08 2007 New Revision: 41199 URL: http://llvm.org/viewvc/llvm-project?rev=41199view=rev Log: clarify precedence, no functionality change. Modified: llvm/trunk/include/llvm/Function.h Modified: llvm/trunk/include/llvm/Function.h URL:

[llvm-commits] [llvm] r41203 - in /llvm/trunk: include/llvm/ADT/APFloat.h include/llvm/ADT/APInt.h lib/Support/APFloat.cpp lib/Support/APInt.cpp

2007-08-20 Thread Chris Lattner
Author: lattner Date: Mon Aug 20 17:49:32 2007 New Revision: 41203 URL: http://llvm.org/viewvc/llvm-project?rev=41203view=rev Log: initial checkin of Neil's APFloat work. Added: llvm/trunk/include/llvm/ADT/APFloat.h llvm/trunk/lib/Support/APFloat.cpp Modified:

[llvm-commits] [llvm] r41205 - /llvm/trunk/lib/VMCore/Value.cpp

2007-08-20 Thread Chris Lattner
Author: lattner Date: Mon Aug 20 19:21:07 2007 New Revision: 41205 URL: http://llvm.org/viewvc/llvm-project?rev=41205view=rev Log: simplify code, improve a comment. Modified: llvm/trunk/lib/VMCore/Value.cpp Modified: llvm/trunk/lib/VMCore/Value.cpp URL:

[llvm-commits] [llvm] r41207 - in /llvm/trunk: include/llvm/Analysis/LoopInfo.h lib/Analysis/LoopInfo.cpp lib/Analysis/ScalarEvolution.cpp lib/Transforms/IPO/LoopExtractor.cpp lib/Transforms/Scalar/In

2007-08-20 Thread Devang Patel
Author: dpatel Date: Mon Aug 20 19:31:24 2007 New Revision: 41207 URL: http://llvm.org/viewvc/llvm-project?rev=41207view=rev Log: Use SmallVector instead of std::vector. Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h llvm/trunk/lib/Analysis/LoopInfo.cpp

[llvm-commits] [llvm] r41209 - /llvm/trunk/lib/VMCore/Constants.cpp

2007-08-20 Thread Chris Lattner
Author: lattner Date: Mon Aug 20 19:55:23 2007 New Revision: 41209 URL: http://llvm.org/viewvc/llvm-project?rev=41209view=rev Log: Fix potentially N^2 behavior handling arrays with many of the same value which get RAUW'd. This speeds up reading the .bc file in PR1616 from 852s to 0.19s on my G5

Re: [llvm-commits] [llvm] r41207 - in /llvm/trunk: include/llvm/Analysis/LoopInfo.h lib/Analysis/LoopInfo.cpp lib/Analysis/ScalarEvolution.cpp lib/Transforms/IPO/LoopExtractor.cpp lib/Transforms/Scala

2007-08-20 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=41207view=rev Log: Use SmallVector instead of std::vector. Thanks Devang, Two minor tweaks: /// outside of the loop. These are the blocks _inside of the current loop_ /// which branch out. The returned list is always unique. ///