[llvm-commits] [llvm] r43176 - in /llvm/trunk/lib/Target/ARM: ARMISelLowering.cpp ARMISelLowering.h

2007-10-19 Thread Rafael Espindola
Author: rafael Date: Fri Oct 19 09:35:17 2007 New Revision: 43176 URL: http://llvm.org/viewvc/llvm-project?rev=43176view=rev Log: split LowerMEMCPY into LowerMEMCPYCall and LowerMEMCPYInline in the ARM backend. Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Re: [llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-10-19 Thread Bill Wendling
On 10/19/07, Chris Lattner [EMAIL PROTECTED] wrote: On Oct 19, 2007, at 3:21 AM, Duncan Sands wrote: Hi Bill, I think the objc front-end is emitting the setjmp/longjmp calls itself directly, not relying on the rest of the GCC EH mechanisms... Yes. That's my understanding. If you

[llvm-commits] [llvm] r43192 - in /llvm/trunk: include/llvm/Target/MRegisterInfo.h lib/CodeGen/VirtRegMap.cpp lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrX86-64.td lib/Target/X86/X86Register

2007-10-19 Thread Evan Cheng
Author: evancheng Date: Fri Oct 19 16:23:22 2007 New Revision: 43192 URL: http://llvm.org/viewvc/llvm-project?rev=43192view=rev Log: Local spiller optimization: Turn a store folding instruction into a load folding instruction. e.g. xorl %edi, %eax movl %eax, -32(%ebp) movl

[llvm-commits] [llvm] r43191 - in /llvm/trunk: lib/CodeGen/BranchFolding.cpp test/CFrontend/2007-10-15-VoidPtr.c test/Transforms/BranchFolding/ test/Transforms/BranchFolding/2007-10-19-InlineAsmDirect

2007-10-19 Thread Bill Wendling
Author: void Date: Fri Oct 19 16:09:55 2007 New Revision: 43191 URL: http://llvm.org/viewvc/llvm-project?rev=43191view=rev Log: Don't branch fold inline asm statements. Added: llvm/trunk/test/Transforms/BranchFolding/

[llvm-commits] [llvm] r43194 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

2007-10-19 Thread Evan Cheng
Author: evancheng Date: Fri Oct 19 18:50:58 2007 New Revision: 43194 URL: http://llvm.org/viewvc/llvm-project?rev=43194view=rev Log: Resolve unfold tables ambiguity. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp URL:

[llvm-commits] [llvm] r43195 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-19 Thread Dale Johannesen
Author: johannes Date: Fri Oct 19 19:07:52 2007 New Revision: 43195 URL: http://llvm.org/viewvc/llvm-project?rev=43195view=rev Log: Fix a few places vector operations were not getting the operand's type from the right place. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

[llvm-commits] [llvm] r43198 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 23:09:48 2007 New Revision: 43198 URL: http://llvm.org/viewvc/llvm-project?rev=43198view=rev Log: simplify some code. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp URL:

[llvm-commits] [llvm] r43197 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 23:07:07 2007 New Revision: 43197 URL: http://llvm.org/viewvc/llvm-project?rev=43197view=rev Log: Implement promote and expand for operands of memcpy and friends. This fixes CodeGen/X86/mem*.ll. Modified:

[llvm-commits] [llvm] r43189 - in /llvm/trunk/lib/CodeGen/SelectionDAG: DAGCombiner.cpp LegalizeDAG.cpp

2007-10-19 Thread Dale Johannesen
Author: johannes Date: Fri Oct 19 15:29:00 2007 New Revision: 43189 URL: http://llvm.org/viewvc/llvm-project?rev=43189view=rev Log: Redo last ppc long double fix as Chris wants. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

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

2007-10-19 Thread Duncan Sands
Author: baldrick Date: Fri Oct 19 15:03:02 2007 New Revision: 43187 URL: http://llvm.org/viewvc/llvm-project?rev=43187view=rev Log: Only declare the exception handling personality and unwind resume functions if they are actually used. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

[llvm-commits] [llvm] r43193 - /llvm/trunk/test/CodeGen/X86/2007-10-19-SpillerUnfold.ll

2007-10-19 Thread Evan Cheng
Author: evancheng Date: Fri Oct 19 17:05:00 2007 New Revision: 43193 URL: http://llvm.org/viewvc/llvm-project?rev=43193view=rev Log: New test case. Added: llvm/trunk/test/CodeGen/X86/2007-10-19-SpillerUnfold.ll Added: llvm/trunk/test/CodeGen/X86/2007-10-19-SpillerUnfold.ll URL:

[llvm-commits] [llvm] r43190 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Duncan Sands
Author: baldrick Date: Fri Oct 19 15:29:48 2007 New Revision: 43190 URL: http://llvm.org/viewvc/llvm-project?rev=43190view=rev Log: Add support for a few more nodes. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

Re: [llvm-commits] ranlib problems

2007-10-19 Thread Bill Wendling
On 10/19/07, Chris Lattner [EMAIL PROTECTED] wrote: This sounds like your cc tools are messed up somehow. Alternatively, perhaps a .o or .a file is corrupt? This is my home machine, which I haven't changed or updated the cc tools for. I tried blowing the build tree away. It was late last

Re: [llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-10-19 Thread Bill Wendling
On 10/19/07, Devang Patel [EMAIL PROTECTED] wrote: On Oct 19, 2007, at 11:17 AM, Bill Wendling wrote: -arch i386 is an apple-ism, and Foundation.h is part of the mac system libraries. Bill, can you please adjust the test to not include a foundation header? I'll give it a shot. I'm

Re: [llvm-commits] [llvm] r43181 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-19 Thread Bill Wendling
On 10/19/07, Chris Lattner [EMAIL PROTECTED] wrote: Author: lattner Date: Fri Oct 19 11:47:35 2007 New Revision: 43181 URL: http://llvm.org/viewvc/llvm-project?rev=43181view=rev Log: Fix a really nasty vector miscompilation bill recently introduced. :-( -bw

Re: [llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-10-19 Thread Devang Patel
On Oct 19, 2007, at 11:17 AM, Bill Wendling wrote: -arch i386 is an apple-ism, and Foundation.h is part of the mac system libraries. Bill, can you please adjust the test to not include a foundation header? I'll give it a shot. I'm not an Objective C expert by any stretch. :-) Is there a

[llvm-commits] [llvm] r43183 - /llvm/trunk/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll

2007-10-19 Thread Devang Patel
Author: dpatel Date: Fri Oct 19 12:11:01 2007 New Revision: 43183 URL: http://llvm.org/viewvc/llvm-project?rev=43183view=rev Log: This test now passes. Modified: llvm/trunk/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll Modified:

Re: [llvm-commits] Updated llvm-mode.el

2007-10-19 Thread Anton Korobeynikov
Hello, Jan I noticed that the llvm-mode.el in utils/emacs was pretty outdated so I updated it. Thanks, new file works like a charm. I commited it as r43182 -- With best regards, Anton Korobeynikov. Faculty of Mathematics Mechanics, Saint Petersburg State University.

[llvm-commits] [llvm] r43182 - /llvm/trunk/utils/emacs/llvm-mode.el

2007-10-19 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 19 11:54:13 2007 New Revision: 43182 URL: http://llvm.org/viewvc/llvm-project?rev=43182view=rev Log: Update this file for 2.0 syntax. Contributed by Jan Rehders Modified: llvm/trunk/utils/emacs/llvm-mode.el Modified: llvm/trunk/utils/emacs/llvm-mode.el URL:

[llvm-commits] [llvm] r43180 - /llvm/trunk/win32/Support/Support.vcproj

2007-10-19 Thread Hartmut Kaiser
Author: hkaiser Date: Fri Oct 19 10:51:20 2007 New Revision: 43180 URL: http://llvm.org/viewvc/llvm-project?rev=43180view=rev Log: Updated VC++ build system Modified: llvm/trunk/win32/Support/Support.vcproj Modified: llvm/trunk/win32/Support/Support.vcproj URL:

Re: [llvm-commits] [llvm] r43083 - in /llvm/trunk: lib/Transforms/IPO/RaiseAllocations.cpp test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:36 AM, Duncan Sands wrote: Hi Devang, Do not raise free() call that is called through invoke instruction. why not? As far as I know free cannot raise an exception, If this is guaranteed then raiseallocs needs to do cleanup and break link between bb with inovke

[llvm-commits] [llvm] r43175 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Duncan Sands
Author: baldrick Date: Fri Oct 19 08:06:17 2007 New Revision: 43175 URL: http://llvm.org/viewvc/llvm-project?rev=43175view=rev Log: Support for expanding ADDE and SUBE. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

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

2007-10-19 Thread Duncan Sands
Author: baldrick Date: Fri Oct 19 08:05:40 2007 New Revision: 43174 URL: http://llvm.org/viewvc/llvm-project?rev=43174view=rev Log: If the value types are equal then this routine asserts in later checks rather than producing the ordinary load it is supposed to. Avoid all such hassles by directly

[llvm-commits] [llvm] r43173 - /llvm/trunk/test/CodeGen/X86/byval5.ll

2007-10-19 Thread Rafael Espindola
Author: rafael Date: Fri Oct 19 06:29:21 2007 New Revision: 43173 URL: http://llvm.org/viewvc/llvm-project?rev=43173view=rev Log: Test byval with a 8 bit aligned struct Added: llvm/trunk/test/CodeGen/X86/byval5.ll Added: llvm/trunk/test/CodeGen/X86/byval5.ll URL:

[llvm-commits] [llvm] r43172 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionD

2007-10-19 Thread Rafael Espindola
Author: rafael Date: Fri Oct 19 05:41:11 2007 New Revision: 43172 URL: http://llvm.org/viewvc/llvm-project?rev=43172view=rev Log: Add support for byval function whose argument is not 32 bit aligned. To do this it is necessary to add a always inline argument to the memcpy node. For completeness I

[llvm-commits] ranlib problems

2007-10-19 Thread Bill Wendling
Hi all, Is anyone seeing this? ar cru /Users/wendling/llvm/llvm.obj/Debug/lib/libLLVMSystem.a /Users/ wendling/llvm/llvm.obj/lib/System/Debug/Alarm.o /Users/wendling/llvm/ llvm.obj/lib/System/Debug/Disassembler.o /Users/wendling/llvm/ llvm.obj/lib/System/Debug/DynamicLibrary.o

Re: [llvm-commits] [llvm] r43169 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Duncan Sands
implement support for custom expansion of any node type, in one place. Yay! ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Re: [llvm-commits] [llvm] r43171 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Duncan Sands
Hi Chris, +void DAGTypeLegalizer:: +ExpandResult_SIGN_EXTEND_INREG(SDNode *N, SDOperand Lo, SDOperand Hi) { + GetExpandedOp(N-getOperand(0), Lo, Hi); + + // sext_inreg the low part if needed. + Lo = DAG.getNode(ISD::SIGN_EXTEND_INREG, Lo.getValueType(), Lo, +

Re: [llvm-commits] [llvm] r43165 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-10-19 Thread Duncan Sands
Hi Chris, + /// ExpandOperation - This callback is invoked for operations that are + /// unsupported by the target, which are registered to use 'custom' lowering, + /// and whose result type needs to be expanded. how about calling this ExpandOperationResult or CustomExpandResult or

[llvm-commits] [llvm] r43186 - /llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m

2007-10-19 Thread Bill Wendling
Author: void Date: Fri Oct 19 13:49:16 2007 New Revision: 43186 URL: http://llvm.org/viewvc/llvm-project?rev=43186view=rev Log: Removed -arch i386 by popular demand... Modified: llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m Modified:

[llvm-commits] [llvm] r43181 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 11:47:35 2007 New Revision: 43181 URL: http://llvm.org/viewvc/llvm-project?rev=43181view=rev Log: Fix a really nasty vector miscompilation bill recently introduced. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified:

Re: [llvm-commits] [llvm] r43171 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:31 AM, Duncan Sands wrote: Hi Chris, +void DAGTypeLegalizer:: +ExpandResult_SIGN_EXTEND_INREG(SDNode *N, SDOperand Lo, SDOperand Hi) { + GetExpandedOp(N-getOperand(0), Lo, Hi); + + // sext_inreg the low part if needed. + Lo =

Re: [llvm-commits] ranlib problems

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:37 AM, Bill Wendling wrote: Hi all, Is anyone seeing this? ar cru /Users/wendling/llvm/llvm.obj/Debug/lib/libLLVMSystem.a /Users/ wendling/llvm/llvm.obj/lib/System/Debug/Alarm.o /Users/wendling/llvm/ llvm.obj/lib/System/Debug/Disassembler.o /Users/wendling/llvm/

Re: [llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-10-19 Thread Duncan Sands
Hi Bill, I think the objc front-end is emitting the setjmp/longjmp calls itself directly, not relying on the rest of the GCC EH mechanisms... Yes. That's my understanding. If you look at obj-act.c:next_sjlj_build_try_catch_finally(), it has a big comment showing what it converts

Re: [llvm-commits] [llvm] r43083 - in /llvm/trunk: lib/Transforms/IPO/RaiseAllocations.cpp test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll

2007-10-19 Thread Duncan Sands
Hi Devang, Do not raise free() call that is called through invoke instruction. why not? As far as I know free cannot raise an exception, If this is guaranteed then raiseallocs needs to do cleanup and break link between bb with inovke [EMAIL PROTECTED](..) and corresponding unwind

[llvm-commits] [llvm] r43177 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 10:28:47 2007 New Revision: 43177 URL: http://llvm.org/viewvc/llvm-project?rev=43177view=rev Log: rename ExpandOperation to ExpandOperationResult, as suggested by Duncan Modified: llvm/trunk/include/llvm/Target/TargetLowering.h

[llvm-commits] [llvm] r43200 - in /llvm/trunk/docs/tutorial: ./ Tutorial1.html index.html

2007-10-19 Thread Owen Anderson
Author: resistor Date: Sat Oct 20 00:23:06 2007 New Revision: 43200 URL: http://llvm.org/viewvc/llvm-project?rev=43200view=rev Log: Add the beginnings of an LLVM tutorial. If anyone has suggestions, comments, or would like to contribute, let me know! Added: llvm/trunk/docs/tutorial/

[llvm-commits] [llvm] r43202 - /llvm/trunk/docs/tutorial/Tutorial1.html

2007-10-19 Thread Owen Anderson
Author: resistor Date: Sat Oct 20 00:41:39 2007 New Revision: 43202 URL: http://llvm.org/viewvc/llvm-project?rev=43202view=rev Log: Fix some weird indenting in code. Modified: llvm/trunk/docs/tutorial/Tutorial1.html Modified: llvm/trunk/docs/tutorial/Tutorial1.html URL:

[llvm-commits] [llvm] r43201 - /llvm/trunk/docs/tutorial/Tutorial1.html

2007-10-19 Thread Owen Anderson
Author: resistor Date: Sat Oct 20 00:40:47 2007 New Revision: 43201 URL: http://llvm.org/viewvc/llvm-project?rev=43201view=rev Log: Use getOrInsertFunction() in tutorial 1. This makes for shorter, simpler, and better example code. Modified: llvm/trunk/docs/tutorial/Tutorial1.html

[llvm-commits] Updated llvm-mode.el

2007-10-19 Thread Jan Rehders
Hi, I noticed that the llvm-mode.el in utils/emacs was pretty outdated so I updated it. Changes: - removed int, short types etc. and added i[0-0]+ - added some new keywords like define/declare - added ; as comment delimeter so you can use comment-region etc. in .ll files - changed all

[llvm-commits] [llvm] r43184 - /llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m

2007-10-19 Thread Bill Wendling
Author: void Date: Fri Oct 19 13:36:04 2007 New Revision: 43184 URL: http://llvm.org/viewvc/llvm-project?rev=43184view=rev Log: Remove the Foundation.h file because not everyone has that. Modified: llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m Modified:

[llvm-commits] [llvm] r43185 - /llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m

2007-10-19 Thread Bill Wendling
Author: void Date: Fri Oct 19 13:40:53 2007 New Revision: 43185 URL: http://llvm.org/viewvc/llvm-project?rev=43185view=rev Log: Now with RUN line! Modified: llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m Modified: llvm/trunk/test/FrontendObjC/2007-10-17-SJLJExceptions.m URL: