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

2007-10-26 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 26 04:13:24 2007 New Revision: 43381 URL: http://llvm.org/viewvc/llvm-project?rev=43381view=rev Log: Fix off-by-one stack offset computations (dwarf information) for callee-saved registers in case, when FP pointer was eliminated. This should fixes misc. random

[llvm-commits] [llvm] r43384 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

2007-10-26 Thread Evan Cheng
Author: evancheng Date: Fri Oct 26 12:24:46 2007 New Revision: 43384 URL: http://llvm.org/viewvc/llvm-project?rev=43384view=rev Log: Fix a crash. Make sure TLI is not null. Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Modified:

[llvm-commits] [poolalloc] r43388 - /poolalloc/trunk/configure

2007-10-26 Thread John Criswell
Author: criswell Date: Fri Oct 26 13:31:24 2007 New Revision: 43388 URL: http://llvm.org/viewvc/llvm-project?rev=43388view=rev Log: Updated configure script for Andrew's latest changes. Modified: poolalloc/trunk/configure Modified: poolalloc/trunk/configure URL:

[llvm-commits] [poolalloc] r43389 - in /poolalloc/trunk/lib: Makefile PoolAllocate/AccessTrace.cpp PoolAllocate/PointerCompress.cpp PoolAllocate/PoolAllocate.cpp PoolAllocate/PoolOptimize.cpp PoolAllo

2007-10-26 Thread Andrew Lenharth
Author: alenhar2 Date: Fri Oct 26 13:31:29 2007 New Revision: 43389 URL: http://llvm.org/viewvc/llvm-project?rev=43389view=rev Log: Poolalloc, now with less bitrot, thanks Torvald Riegel Modified: poolalloc/trunk/lib/Makefile poolalloc/trunk/lib/PoolAllocate/AccessTrace.cpp

[llvm-commits] [llvm-gcc-4.0] r43393 - /llvm-gcc-4.0/trunk/gcc/c-common.c

2007-10-26 Thread Dale Johannesen
Author: johannes Date: Fri Oct 26 15:15:55 2007 New Revision: 43393 URL: http://llvm.org/viewvc/llvm-project?rev=43393view=rev Log: Fix warning and LOCAL comment location. Cosmetic. Modified: llvm-gcc-4.0/trunk/gcc/c-common.c Modified: llvm-gcc-4.0/trunk/gcc/c-common.c URL:

[llvm-commits] [llvm-gcc-4.0] r43392 - in /llvm-gcc-4.0/trunk/gcc: c-common.c config/i386/i386.c

2007-10-26 Thread Dale Johannesen
Author: johannes Date: Fri Oct 26 14:59:04 2007 New Revision: 43392 URL: http://llvm.org/viewvc/llvm-project?rev=43392view=rev Log: LLVM does not compute DECL_RTL; remove checks for it in a couple places in inline asm handling. Modified: llvm-gcc-4.0/trunk/gcc/c-common.c

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

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 15:20:29 2007 New Revision: 43394 URL: http://llvm.org/viewvc/llvm-project?rev=43394view=rev Log: There are situations where the source and destination alignments differ. This can cause havoc with memcpy. In this case, memcpy is using the alignment of the source

[llvm-commits] [llvm-gcc-4.2] r43395 - in /llvm-gcc-4.2/trunk/gcc: c-common.c config/i386/i386.c

2007-10-26 Thread Dale Johannesen
Author: johannes Date: Fri Oct 26 15:22:52 2007 New Revision: 43395 URL: http://llvm.org/viewvc/llvm-project?rev=43395view=rev Log: Remove checks for DECL_RTL a couple places in inline asm handling; llvm doesn't set that. Modified: llvm-gcc-4.2/trunk/gcc/c-common.c

[llvm-commits] [llvm] r43396 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialization.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:23:27 2007 New Revision: 43396 URL: http://llvm.org/viewvc/llvm-project?rev=43396view=rev Log: Added default implementation of SerializeTrait that dispatches to calling member functions of the target type to perform type-specific serialization.

Re: [llvm-commits] [llvm] r43398 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-26 Thread Bill Wendling
On 10/26/07, Bill Wendling [EMAIL PROTECTED] wrote: Author: void Date: Fri Oct 26 15:24:42 2007 New Revision: 43398 URL: http://llvm.org/viewvc/llvm-project?rev=43398view=rev Log: - XFAIL 2007-10-23-UnalignedMemcpy.ll because llc has a bug that crashes on unaligned pointers.

[llvm-commits] [llvm] r43400 - /llvm/trunk/test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 15:34:37 2007 New Revision: 43400 URL: http://llvm.org/viewvc/llvm-project?rev=43400view=rev Log: On second thought. Remove this as it should never be generated in the first place. Removed: llvm/trunk/test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll Removed:

[llvm-commits] [llvm] r43402 - /llvm/trunk/include/llvm/ADT/APSInt.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:44:02 2007 New Revision: 43402 URL: http://llvm.org/viewvc/llvm-project?rev=43402view=rev Log: Fixed incorrect path name in preamble (comment) of header file. Modified: llvm/trunk/include/llvm/ADT/APSInt.h Modified: llvm/trunk/include/llvm/ADT/APSInt.h

[llvm-commits] [llvm] r43398 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 15:24:42 2007 New Revision: 43398 URL: http://llvm.org/viewvc/llvm-project?rev=43398view=rev Log: - Remove the hacky code that forces a memcpy. Alignment is taken care of in the FE. - Explicitly pass in the alignment of the load store. - XFAIL

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

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 15:27:28 2007 New Revision: 43399 URL: http://llvm.org/viewvc/llvm-project?rev=43399view=rev Log: Port of r43394: There are situations where the source and destination alignments differ. This can cause havoc with memcpy. In this case, memcpy is using the alignment of

[llvm-commits] [llvm] r43401 - /llvm/trunk/include/llvm/ADT/APInt.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 15:42:45 2007 New Revision: 43401 URL: http://llvm.org/viewvc/llvm-project?rev=43401view=rev Log: Fixed incorrect path name in preamble (comment) of header file. Modified: llvm/trunk/include/llvm/ADT/APInt.h Modified: llvm/trunk/include/llvm/ADT/APInt.h

Re: [llvm-commits] [llvm-gcc-4.2] r43399 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-10-26 Thread Duncan Sands
Hi Bill, I must say that I don't like this patch at all. Is there no better way? I started to work on something better myself, but unfortunately on my machine (x86-32) the testcase doesn't lead to a memcpy with llvm-gcc-4.2 at all, only a memset. Can you please suggest a testcase that shows the

Re: [llvm-commits] [llvm-gcc-4.2] r43399 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-10-26 Thread Bill Wendling
Hi Duncan, Hi Bill, I must say that I don't like this patch at all. Is there no better way? I'm open to suggestions. :-) What part do you object to? I reasoned that we needed to make the memcpy intrinsic have the correct alignment. It is getting its alignment information from the source

Re: [llvm-commits] [llvm-gcc-4.2] r43399 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-10-26 Thread Duncan Sands
Hi Bill, I must say that I don't like this patch at all. Is there no better way? I'm open to suggestions. :-) What part do you object to? All of it! But let's not go there :) I've only seen this problem on PPC64. In particular, it's writing this information into the redzone because

[llvm-commits] [llvm] r43405 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Bitcode/Reader/DeserializeAPInt.cpp lib/Bitcode/Writer/SerializeAPInt.cpp

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 16:50:10 2007 New Revision: 43405 URL: http://llvm.org/viewvc/llvm-project?rev=43405view=rev Log: Added serialization support for APInt. Added: llvm/trunk/lib/Bitcode/Reader/DeserializeAPInt.cpp llvm/trunk/lib/Bitcode/Writer/SerializeAPInt.cpp Modified:

[llvm-commits] [llvm] r43406 - /llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 16:53:37 2007 New Revision: 43406 URL: http://llvm.org/viewvc/llvm-project?rev=43406view=rev Log: Added SerializeAPInt.cpp and DeserializeAPInt.cpp to the XCode project. Modified: llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj Modified:

[llvm-commits] [llvm] r43408 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

2007-10-26 Thread Evan Cheng
Author: evancheng Date: Fri Oct 26 18:08:19 2007 New Revision: 43408 URL: http://llvm.org/viewvc/llvm-project?rev=43408view=rev Log: A number of LSR fixes: - ChangeCompareStride only reuse stride that is larger than current stride. It will let the general reuse mechanism to try to reuse a

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

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 18:30:22 2007 New Revision: 43410 URL: http://llvm.org/viewvc/llvm-project?rev=43410view=rev Log: Reverting patch as it doesn't appear that this happens with TOT Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

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

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 18:31:40 2007 New Revision: 43411 URL: http://llvm.org/viewvc/llvm-project?rev=43411view=rev Log: Reverting r43399 because it doesn't appear to happen with TOT anymore Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified:

Re: [llvm-commits] [llvm-gcc-4.2] r43399 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-10-26 Thread Bill Wendling
On 10/26/07, Duncan Sands [EMAIL PROTECTED] wrote: Hi Bill, I must say that I don't like this patch at all. Is there no better way? I'm open to suggestions. :-) What part do you object to? All of it! But let's not go there :) I've only seen this problem on PPC64. In particular,

[llvm-commits] [llvm] r43412 - /llvm/trunk/test/CFrontend/unaligned-memcpy.c

2007-10-26 Thread Bill Wendling
Author: void Date: Fri Oct 26 18:43:35 2007 New Revision: 43412 URL: http://llvm.org/viewvc/llvm-project?rev=43412view=rev Log: Test to make sure that if we have an unaligned memcpy, it will still compile. Added: llvm/trunk/test/CFrontend/unaligned-memcpy.c Added:

[llvm-commits] [llvm] r43413 - /llvm/trunk/include/llvm/Bitcode/Serialization.h

2007-10-26 Thread Ted Kremenek
Author: kremenek Date: Fri Oct 26 18:44:59 2007 New Revision: 43413 URL: http://llvm.org/viewvc/llvm-project?rev=43413view=rev Log: Fixed bug where default SerializeTrait::Materialize would not return the materialized object pointer. Modified: llvm/trunk/include/llvm/Bitcode/Serialization.h

[llvm-commits] [llvm-gcc-4.0] r43415 - /llvm-gcc-4.0/trunk/gcc/config/i386/i386.c

2007-10-26 Thread Dale Johannesen
Author: johannes Date: Fri Oct 26 19:26:49 2007 New Revision: 43415 URL: http://llvm.org/viewvc/llvm-project?rev=43415view=rev Log: (inline asm) comment out one more place DECL_RTL is referenced Modified: llvm-gcc-4.0/trunk/gcc/config/i386/i386.c Modified:

[llvm-commits] [llvm-gcc-4.2] r43416 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c

2007-10-26 Thread Dale Johannesen
Author: johannes Date: Fri Oct 26 19:38:33 2007 New Revision: 43416 URL: http://llvm.org/viewvc/llvm-project?rev=43416view=rev Log: (inline asm) one more place DECL_RTL is used Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c URL: