Re: [llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-14 Thread Alain Frisch
Hello, Sorry for not replying before. I was not subscribed to llvm-commits and did not see your email. A couple of comments: You really need to add some comments in Makefile.config.in over the stuff that sets SYSPATH to indicate what it is used for, and probably over the TableGen = ... li

[llvm-commits] [test-suite] r45958 - /test-suite/trunk/Makefile.programs

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 02:30:36 2008 New Revision: 45958 URL: http://llvm.org/viewvc/llvm-project?rev=45958&view=rev Log: No need to pass CFLAGS to compile llc created assembly files. Modified: test-suite/trunk/Makefile.programs Modified: test-suite/trunk/Makefile.programs URL:

Re: [llvm-commits] [llvm-gcc-4.2] r45907 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-convert.c pp llvm-types.cpp

2008-01-14 Thread Duncan Sands
On Monday 14 January 2008 05:15:58 Duncan Sands wrote: > > Thanks. I see you have fixed the crash in SelectionDAGISel.cpp? > > Yes, and this fixes the Ada build. Even better, there were no new failures in the ACATS testsuite. Ciao, Duncan. ___ llvm-co

[llvm-commits] [llvm] r45959 - /llvm/trunk/test/Verifier/byval-2.ll

2008-01-14 Thread Duncan Sands
Author: baldrick Date: Mon Jan 14 08:55:05 2008 New Revision: 45959 URL: http://llvm.org/viewvc/llvm-project?rev=45959&view=rev Log: Test that byval cannot be used with pointers to types with no size. Modified: llvm/trunk/test/Verifier/byval-2.ll Modified: llvm/trunk/test/Verifier/byval-2.ll

[llvm-commits] [llvm] r45960 - /llvm/trunk/test/Verifier/byval-3.ll

2008-01-14 Thread Duncan Sands
Author: baldrick Date: Mon Jan 14 08:57:30 2008 New Revision: 45960 URL: http://llvm.org/viewvc/llvm-project?rev=45960&view=rev Log: This test is now the same as byval-1.ll, so remove it. Removed: llvm/trunk/test/Verifier/byval-3.ll Removed: llvm/trunk/test/Verifier/byval-3.ll URL: http://l

[llvm-commits] [llvm-gcc-4.2] r45963 - in /llvm-gcc-4.2/trunk/libstdc++-v3/config/cpu: i486/atomicity.h powerpc/atomic_word.h

2008-01-14 Thread Duncan Sands
Author: baldrick Date: Mon Jan 14 11:41:16 2008 New Revision: 45963 URL: http://llvm.org/viewvc/llvm-project?rev=45963&view=rev Log: LLVM supports the i486 asm expression, and hopefully it supports the ppc one too. So remove this evil workaround. Modified: llvm-gcc-4.2/trunk/libstdc++-v3/con

[llvm-commits] [llvm] r45964 - /llvm/trunk/utils/NewNightlyTest.pl

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 11:58:03 2008 New Revision: 45964 URL: http://llvm.org/viewvc/llvm-project?rev=45964&view=rev Log: Need a space to separate Make options. Modified: llvm/trunk/utils/NewNightlyTest.pl Modified: llvm/trunk/utils/NewNightlyTest.pl URL: http://llvm.org/viewvc/

[llvm-commits] [llvm-gcc-4.2] r45968 - /llvm-gcc-4.2/trunk/build_gcc

2008-01-14 Thread Devang Patel
Author: dpatel Date: Mon Jan 14 12:36:30 2008 New Revision: 45968 URL: http://llvm.org/viewvc/llvm-project?rev=45968&view=rev Log: Fix unnecessarily deep symlink. Modified: llvm-gcc-4.2/trunk/build_gcc Modified: llvm-gcc-4.2/trunk/build_gcc URL: http://llvm.org/viewvc/llvm-project/llvm-gcc

[llvm-commits] [llvm] r45972 - in /llvm/trunk/lib/CodeGen: LLVMTargetMachine.cpp PostRASchedulerList.cpp

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 13:00:06 2008 New Revision: 45972 URL: http://llvm.org/viewvc/llvm-project?rev=45972&view=rev Log: don't create the post-ra scheduler unless it is enabled. Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp llvm/trunk/lib/CodeGen/PostRASchedulerList.cp

[llvm-commits] [llvm] r45971 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 12:45:28 2008 New Revision: 45971 URL: http://llvm.org/viewvc/llvm-project?rev=45971&view=rev Log: remove dead #include Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp URL: http://llvm.org/viewvc/llvm-proje

[llvm-commits] [llvm] r45974 - /llvm/trunk/lib/VMCore/Instructions.cpp

2008-01-14 Thread Duncan Sands
Author: baldrick Date: Mon Jan 14 13:57:00 2008 New Revision: 45974 URL: http://llvm.org/viewvc/llvm-project?rev=45974&view=rev Log: Simplify CallInst::hasByValArgument using a new method. Modified: llvm/trunk/lib/VMCore/Instructions.cpp Modified: llvm/trunk/lib/VMCore/Instructions.cpp URL:

[llvm-commits] [llvm] r45973 - in /llvm/trunk: include/llvm/ParameterAttributes.h lib/Transforms/Scalar/InstructionCombining.cpp lib/VMCore/ParameterAttributes.cpp test/Transforms/InstCombine/2008-01-

2008-01-14 Thread Duncan Sands
Author: baldrick Date: Mon Jan 14 13:52:09 2008 New Revision: 45973 URL: http://llvm.org/viewvc/llvm-project?rev=45973&view=rev Log: I noticed that the trampoline straightening transformation could drop attributes on varargs call arguments. Also, it could generate invalid IR if the transformed ca

Re: [llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-14 Thread Chris Lattner
On Jan 14, 2008, at 12:56 AM, Alain Frisch wrote: > Hello, > > Sorry for not replying before. I was not subscribed to llvm-commits > and did not see your email. > >> A couple of comments: You really need to add some comments in >> Makefile.config.in over the stuff that sets SYSPATH to indic

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

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 16:27:52 2008 New Revision: 45979 URL: http://llvm.org/viewvc/llvm-project?rev=45979&view=rev Log: Fix test/C++Frontend/2007-03-27-FunctionVarRename.cpp with llvm-g++ 4.2, which is PR1869. This bug actually occurs in 4.0 as well, but 4.2 gets unlucky and processes

[llvm-commits] [llvm-gcc-4.2] r45978 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
Author: void Date: Mon Jan 14 16:18:42 2008 New Revision: 45978 URL: http://llvm.org/viewvc/llvm-project?rev=45978&view=rev Log: GCC emits .reference and .lazy_reference directives directly to the .s file. We rather create the reference as data and then point that to what we then hope is an extern

[llvm-commits] [test-suite] r45980 - in /test-suite/trunk: External/SPEC/CINT2000/252.eon/Makefile Makefile.programs Makefile.rules Makefile.tests MultiSource/Applications/spiff/Makefile MultiSource/M

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 16:33:19 2008 New Revision: 45980 URL: http://llvm.org/viewvc/llvm-project?rev=45980&view=rev Log: More makefile changes to make it easier to override default optimization level. This also fixes errenous 252.eon CBE performance regression. Modified: test-su

[llvm-commits] [llvm-gcc-4.0] r45981 - /llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 16:34:07 2008 New Revision: 45981 URL: http://llvm.org/viewvc/llvm-project?rev=45981&view=rev Log: Support a global that turns into a function. This is the llvm-gcc 4.0 version of the 4.2 fix for PR1869 Modified: llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp Modi

Re: [llvm-commits] [llvm-gcc-4.2] r45978 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Chris Lattner
On Jan 14, 2008, at 2:18 PM, Bill Wendling wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=45978&view=rev > Log: > GCC emits .reference and .lazy_reference directives directly to > the .s file. We > rather create the reference as data and then point that to what we > then hope > is an ext

[llvm-commits] [llvm-gcc-4.0] r45982 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 17:00:10 2008 New Revision: 45982 URL: http://llvm.org/viewvc/llvm-project?rev=45982&view=rev Log: improve compatibility with the leopard dyld and xcode 3 linker. Modified: llvm-gcc-4.0/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.0/trunk/gcc/objc/objc-act.

[llvm-commits] [llvm-gcc-4.0] r45983 - /llvm-gcc-4.0/trunk/gcc/fold-const.c

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 17:12:30 2008 New Revision: 45983 URL: http://llvm.org/viewvc/llvm-project?rev=45983&view=rev Log: Fix PR1904, which involves merging the (GPL2) patch for PR28045 into llvm-gcc 4.0. llvm-gcc 4.2 already has this fix. Modified: llvm-gcc-4.0/trunk/gcc/fold-con

[llvm-commits] [llvm-gcc-4.2] r45985 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
Author: void Date: Mon Jan 14 17:20:29 2008 New Revision: 45985 URL: http://llvm.org/viewvc/llvm-project?rev=45985&view=rev Log: Forgot LLVM LOCAL tags. Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c URL: http://llvm.org/viewvc/llvm-project

Re: [llvm-commits] [llvm-gcc-4.2] r45978 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-01-14 Thread Bill Wendling
On Jan 14, 2008 2:59 PM, Chris Lattner <[EMAIL PROTECTED]> wrote: > On Jan 14, 2008, at 2:18 PM, Bill Wendling wrote: > > URL: http://llvm.org/viewvc/llvm-project?rev=45978&view=rev > > Log: > > GCC emits .reference and .lazy_reference directives directly to > > the .s file. We > > rather create th

[llvm-commits] [llvm-gcc-4.0] r45987 - in /llvm-gcc-4.0/trunk/gcc: config/i386/llvm-i386-target.h llvm-abi.h llvm-convert.cpp llvm-types.cpp

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 17:28:30 2008 New Revision: 45987 URL: http://llvm.org/viewvc/llvm-project?rev=45987&view=rev Log: Merge -r45906:45908 llvm-gcc-4.2/trunk Modified: llvm-gcc-4.0/trunk/gcc/config/i386/llvm-i386-target.h llvm-gcc-4.0/trunk/gcc/llvm-abi.h llvm-gcc-4.0/t

[llvm-commits] [llvm-gcc-4.2] r45988 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 17:30:29 2008 New Revision: 45988 URL: http://llvm.org/viewvc/llvm-project?rev=45988&view=rev Log: Add missing LLVM LOCAL marker. Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp URL: htt

[llvm-commits] [llvm] r45996 - /llvm/trunk/lib/Target/X86/X86CallingConv.td

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 21:15:41 2008 New Revision: 45996 URL: http://llvm.org/viewvc/llvm-project?rev=45996&view=rev Log: Both x86-32 and x86-64 handle byval parameter attributes. Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td Modified: llvm/trunk/lib/Target/X86/X86Calling

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

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 21:14:05 2008 New Revision: 45995 URL: http://llvm.org/viewvc/llvm-project?rev=45995&view=rev Log: ByVal stack slot alignment should be at least as large as pointer ABI alignment. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/CallingConvLower.cpp Modified:

[llvm-commits] [llvm] r45994 - /llvm/trunk/utils/TableGen/CallingConvEmitter.cpp

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 21:10:35 2008 New Revision: 45994 URL: http://llvm.org/viewvc/llvm-project?rev=45994&view=rev Log: Revert my last commit. Not needed. Modified: llvm/trunk/utils/TableGen/CallingConvEmitter.cpp Modified: llvm/trunk/utils/TableGen/CallingConvEmitter.cpp URL:

[llvm-commits] [llvm] r45997 - in /llvm/trunk: lib/Target/TargetCallingConv.td lib/Target/X86/X86CallingConv.td utils/TableGen/CallingConvEmitter.cpp

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Mon Jan 14 21:34:58 2008 New Revision: 45997 URL: http://llvm.org/viewvc/llvm-project?rev=45997&view=rev Log: Rename CCIfStruct to CCIfByVal and CCStructAssign to CCPassByVal. Remove unused parameters of CCStructAssign and add size and alignment requirement info. Modified

[llvm-commits] [llvm] r45998 - /llvm/trunk/docs/LangRef.html

2008-01-14 Thread Chris Lattner
Author: lattner Date: Mon Jan 14 22:34:22 2008 New Revision: 45998 URL: http://llvm.org/viewvc/llvm-project?rev=45998&view=rev Log: clarify that byval is valid for any pointer argument. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL: http://llvm.org/viewvc

Re: [llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-14 Thread Alain Frisch
Chris Lattner wrote: > Okay, this looks really good. One final question before I commit: why > does tblgen want a windows path instead of a unix path? Can that be > fixed in tblgen? Doesn't this affect llvm-as and all other tools? When we compile with Mingw/Cygwin, we want to produce plain Wi

[llvm-commits] [llvm] r46001 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h include/llvm/Intrinsics.td lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp li

2008-01-14 Thread Anton Korobeynikov
Author: asl Date: Tue Jan 15 01:02:33 2008 New Revision: 46001 URL: http://llvm.org/viewvc/llvm-project?rev=46001&view=rev Log: For PR1839: add initial support for __builtin_trap. llvm-gcc part is missed as well as PPC codegen Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

[llvm-commits] [llvm] r46003 - /llvm/trunk/include/llvm/CodeGen/CallingConvLower.h

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Tue Jan 15 01:49:54 2008 New Revision: 46003 URL: http://llvm.org/viewvc/llvm-project?rev=46003&view=rev Log: Oops. Forgot to commit this. Modified: llvm/trunk/include/llvm/CodeGen/CallingConvLower.h Modified: llvm/trunk/include/llvm/CodeGen/CallingConvLower.h URL: h

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

2008-01-14 Thread Evan Cheng
Author: evancheng Date: Tue Jan 15 01:49:36 2008 New Revision: 46002 URL: http://llvm.org/viewvc/llvm-project?rev=46002&view=rev Log: Oops. Forgot to commit this. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/CallingConvLower.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/CallingConvLower