[llvm-commits] [llvm-gcc-4.2] r46205 - /llvm-gcc-4.2/trunk/gcc/llvm-abi.h

2008-01-21 Thread Duncan Sands
Author: baldrick Date: Mon Jan 21 02:39:31 2008 New Revision: 46205 URL: http://llvm.org/viewvc/llvm-project?rev=46205&view=rev Log: Remove extra tokens at end of #ifndef directive. Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h URL: http://llvm.org/

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

2008-01-21 Thread Duncan Sands
Author: baldrick Date: Mon Jan 21 05:27:55 2008 New Revision: 46206 URL: http://llvm.org/viewvc/llvm-project?rev=46206&view=rev Log: Be consistent with other attribute methods, and check the callee also if it is known. Modified: llvm/trunk/lib/VMCore/Instructions.cpp Modified: llvm/trunk/lib

[llvm-commits] [llvm] r46207 - /llvm/trunk/lib/VMCore/ParameterAttributes.cpp

2008-01-21 Thread Duncan Sands
Author: baldrick Date: Mon Jan 21 05:28:49 2008 New Revision: 46207 URL: http://llvm.org/viewvc/llvm-project?rev=46207&view=rev Log: Check that sret is only used on pointers to types with a size, like byval. Modified: llvm/trunk/lib/VMCore/ParameterAttributes.cpp Modified: llvm/trunk/lib/VMC

[llvm-commits] [llvm-gcc-4.2] r46208 - in /llvm-gcc-4.2/branches/release_22: build_gcc gcc/version.c

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 13:24:54 2008 New Revision: 46208 URL: http://llvm.org/viewvc/llvm-project?rev=46208&view=rev Log: Fix LLVM_VERSION_INFO so we get the correct version of llvm when building with this option. Modified: llvm-gcc-4.2/branches/release_22/build_gcc llvm-gcc-4

[llvm-commits] [llvm] r46209 - /llvm/trunk/test/CFrontend/2008-01-21-PackedBitFields.c

2008-01-21 Thread Devang Patel
Author: dpatel Date: Mon Jan 21 13:28:13 2008 New Revision: 46209 URL: http://llvm.org/viewvc/llvm-project?rev=46209&view=rev Log: New test. Added: llvm/trunk/test/CFrontend/2008-01-21-PackedBitFields.c Added: llvm/trunk/test/CFrontend/2008-01-21-PackedBitFields.c URL: http://llvm.org/viewv

[llvm-commits] [llvm-gcc-4.2] r46210 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2008-01-21 Thread Devang Patel
mail/llvm-commits/Week-of-Mon-20080121/057396.html Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-types.cpp?rev=46210&r1=46209&r2=462

[llvm-commits] [llvm-gcc-4.2] r46211 - in /llvm-gcc-4.2/trunk: build_gcc gcc/version.c

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 14:07:27 2008 New Revision: 46211 URL: http://llvm.org/viewvc/llvm-project?rev=46211&view=rev Log: Fix LLVM_VERSION_INFO so we get the correct version of llvm when building with this option. Modified: llvm-gcc-4.2/trunk/build_gcc llvm-gcc-4.2/trunk/gcc/v

[llvm-commits] [llvm] r46213 - /llvm/branches/release_22/lib/Transforms/Scalar/CodeGenPrepare.cpp

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 14:43:02 2008 New Revision: 46213 URL: http://llvm.org/viewvc/llvm-project?rev=46213&view=rev Log: Merge from mainline. Make sure the caller doesn't use freed memory. Fixes PR1935. Modified: llvm/branches/release_22/lib/Transforms/Scalar/CodeGenPrepare.cpp M

[llvm-commits] [llvm] r46214 - /llvm/branches/release_22/lib/Target/X86/X86AsmPrinter.cpp

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 14:45:28 2008 New Revision: 46214 URL: http://llvm.org/viewvc/llvm-project?rev=46214&view=rev Log: Merge from mainline. Honour ByVal parameter attribute for name decoration. Modified: llvm/branches/release_22/lib/Target/X86/X86AsmPrinter.cpp Modified: llvm/b

[llvm-commits] [llvm] r46215 - /llvm/branches/release_22/lib/Target/X86/X86CallingConv.td

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 14:47:24 2008 New Revision: 46215 URL: http://llvm.org/viewvc/llvm-project?rev=46215&view=rev Log: Merge from mainline. Need to handle any 'nest' parameter before integer parameters, since otherwise it won't be passed in the right register. With this change tramp

[llvm-commits] [llvm] r46216 - /llvm/trunk/lib/VMCore/ParameterAttributes.cpp

2008-01-21 Thread Duncan Sands
Author: baldrick Date: Mon Jan 21 15:37:41 2008 New Revision: 46216 URL: http://llvm.org/viewvc/llvm-project?rev=46216&view=rev Log: It turns out that in C++ it is legal to declare functions that return an opaque type by value, as long as you don't call it or provide a body (you can take the addre

[llvm-commits] [llvm] r46217 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2008-01-21 Thread Owen Anderson
Author: resistor Date: Mon Jan 21 16:01:01 2008 New Revision: 46217 URL: http://llvm.org/viewvc/llvm-project?rev=46217&view=rev Log: Improve a few comments. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp URL: http://llvm.o

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

2008-01-21 Thread Dale Johannesen
Author: johannes Date: Mon Jan 21 16:03:58 2008 New Revision: 46219 URL: http://llvm.org/viewvc/llvm-project?rev=46219&view=rev Log: Fix 2 testsuite crashes where initializer size was != size of its type. Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.2/trunk/gcc/objc

[llvm-commits] [llvm] r46218 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2008-01-21 Thread Owen Anderson
Author: resistor Date: Mon Jan 21 16:03:00 2008 New Revision: 46218 URL: http://llvm.org/viewvc/llvm-project?rev=46218&view=rev Log: Clarify a deviation from the original algorithm. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIEliminatio

[llvm-commits] [llvm] r46220 - /llvm/trunk/test/CFrontend/2008-01-21-PackedStructField.c

2008-01-21 Thread Devang Patel
Author: dpatel Date: Mon Jan 21 16:15:58 2008 New Revision: 46220 URL: http://llvm.org/viewvc/llvm-project?rev=46220&view=rev Log: New test. Added: llvm/trunk/test/CFrontend/2008-01-21-PackedStructField.c Added: llvm/trunk/test/CFrontend/2008-01-21-PackedStructField.c URL: http://llvm.org/v

[llvm-commits] [llvm-gcc-4.2] r46221 - in /llvm-gcc-4.2/trunk/gcc: llvm-internal.h llvm-types.cpp

2008-01-21 Thread Devang Patel
ruct. This fixes http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080121/057406.html Modified: llvm-gcc-4.2/trunk/gcc/llvm-internal.h llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-internal.h URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/t

[llvm-commits] [llvm] r46222 - /llvm/trunk/include/llvm/CodeGen/MachineRelocation.h

2008-01-21 Thread Chris Lattner
Author: lattner Date: Mon Jan 21 16:27:27 2008 New Revision: 46222 URL: http://llvm.org/viewvc/llvm-project?rev=46222&view=rev Log: Fix the failures in the PPC JIT by marking relocation entries for external symbols (e.g. 'fmod') as needing a stub. This regression was introduced by Evan's jit patc

Re: [llvm-commits] [llvm] r46216 - /llvm/trunk/lib/VMCore/ParameterAttributes.cpp

2008-01-21 Thread Chris Lattner
On Jan 21, 2008, at 1:37 PM, Duncan Sands wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=46216&view=rev > Log: > It turns out that in C++ it is legal to declare functions > that return an opaque type by value, as long as you don't > call it or provide a body (you can take the address of it).

[llvm-commits] [llvm] r46223 - /llvm/trunk/utils/TableGen/Record.h

2008-01-21 Thread Anton Korobeynikov
Author: asl Date: Mon Jan 21 16:30:26 2008 New Revision: 46223 URL: http://llvm.org/viewvc/llvm-project?rev=46223&view=rev Log: Provide iterator access to ListInit contents Modified: llvm/trunk/utils/TableGen/Record.h Modified: llvm/trunk/utils/TableGen/Record.h URL: http://llvm.org/viewvc/

[llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:33:30 2008 New Revision: 46224 URL: http://llvm.org/viewvc/llvm-project?rev=46224&view=rev Log: Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based scheme. The problem was that we previously hashed based on the pointers of the left and right chi

Re: [llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Chris Lattner
On Jan 21, 2008, at 2:33 PM, Ted Kremenek wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=46224&view=rev > Log: > Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based > scheme. The > problem was that we previously hashed based on the pointers of the > left and > right child

[llvm-commits] [llvm] r46225 - /llvm/branches/release_22/include/llvm/CodeGen/MachineRelocation.h

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Mon Jan 21 16:45:15 2008 New Revision: 46225 URL: http://llvm.org/viewvc/llvm-project?rev=46225&view=rev Log: Merge from mainline. Fix the failures in the PPC JIT by marking relocation entries for external symbols (e.g. 'fmod') as needing a stub. This regression was introdu

[llvm-commits] [llvm] r46226 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:49:22 2008 New Revision: 46226 URL: http://llvm.org/viewvc/llvm-project?rev=46226&view=rev Log: Added "clear" method to FoldingSetNodeID to allow a FoldingSetNodeID object to be reused to compute multiple object profiles. Modified: llvm/trunk/include/llvm/

[llvm-commits] [llvm] r46227 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:50:37 2008 New Revision: 46227 URL: http://llvm.org/viewvc/llvm-project?rev=46227&view=rev Log: Adjusted ImutAVLTree::ComputeHash to compute a hash value that is based on a clearer sequence of hashing compositions. Modified: llvm/trunk/include/llvm/ADT/Imm

[llvm-commits] [llvm] r46228 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:51:35 2008 New Revision: 46228 URL: http://llvm.org/viewvc/llvm-project?rev=46228&view=rev Log: Moved method call within a conditional branch because its effects will be ignored on the false branch. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Mod

[llvm-commits] [llvm] r46229 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
Author: kremenek Date: Mon Jan 21 16:54:46 2008 New Revision: 46229 URL: http://llvm.org/viewvc/llvm-project?rev=46229&view=rev Log: Fixed buggy caching of the hash value of an ImutAVLTree node. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/Immuta

Re: [llvm-commits] [llvm] r46224 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2008-01-21 Thread Ted Kremenek
On Jan 21, 2008, at 2:36 PM, Chris Lattner wrote: > On Jan 21, 2008, at 2:33 PM, Ted Kremenek wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46224&view=rev >> Log: >> Replaced (FoldingSet) profiling of ImutAVLTree with a hashing based >> scheme. The >> problem was that we previously hashe

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

2008-01-21 Thread Dale Johannesen
Author: johannes Date: Mon Jan 21 19:29:51 2008 New Revision: 46236 URL: http://llvm.org/viewvc/llvm-project?rev=46236&view=rev Log: Back out one of previous changes for Obj-C++; it handles the issue differently in the C++ FE code. Fix another type/initializer mismatch in INSTANCE_VARIABLES. Mod

[llvm-commits] [llvm-gcc-4.2] r46239 - in /llvm-gcc-4.2/trunk/gcc/testsuite/objc.dg: next-runtime-1-64bit.m next-runtime-1.m objc-gc-section-1.m objc-gc-section-2.m objc2-protocol-enc-1.m symtab-1-64b

2008-01-21 Thread Dale Johannesen
Author: johannes Date: Mon Jan 21 20:15:50 2008 New Revision: 46239 URL: http://llvm.org/viewvc/llvm-project?rev=46239&view=rev Log: Upgrade some testcases that scan-assembler to accept functionally equivalent syntax produced by llvm. Modified: llvm-gcc-4.2/trunk/gcc/testsuite/objc.dg/next-r

[llvm-commits] [llvm-gcc-4.2] r46240 - in /llvm-gcc-4.2/trunk/gcc: java/lang.c stub-c.c

2008-01-21 Thread Eric Christopher
Author: echristo Date: Mon Jan 21 21:06:28 2008 New Revision: 46240 URL: http://llvm.org/viewvc/llvm-project?rev=46240&view=rev Log: Fix normal configure bootstrap. Remove unnecessary local code. Update stub-c.c for changes. Modified: llvm-gcc-4.2/trunk/gcc/java/lang.c llvm-gcc-4.2/trunk

[llvm-commits] [llvm-gcc-4.2] r46242 - /llvm-gcc-4.2/trunk/gcc/autom4te.cache/

2008-01-21 Thread Eric Christopher
Author: echristo Date: Mon Jan 21 21:08:19 2008 New Revision: 46242 URL: http://llvm.org/viewvc/llvm-project?rev=46242&view=rev Log: Actually do it this time. Removed: llvm-gcc-4.2/trunk/gcc/autom4te.cache/ ___ llvm-commits mailing list llvm-commit

[llvm-commits] [llvm] r46243 - /llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp

2008-01-21 Thread Chris Lattner
Author: lattner Date: Mon Jan 21 22:47:47 2008 New Revision: 46243 URL: http://llvm.org/viewvc/llvm-project?rev=46243&view=rev Log: Trivial patch to fix two warnings, please pull into llvm 2.2 Modified: llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp Modified: llvm/trunk/lib/Target/Mips/Mips

[llvm-commits] [llvm] r46244 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-21-MulTrunc.ll

2008-01-21 Thread Nick Lewycky
Author: nicholas Date: Mon Jan 21 23:08:48 2008 New Revision: 46244 URL: http://llvm.org/viewvc/llvm-project?rev=46244&view=rev Log: Multiply can be evaluated in a different type, so long as the target type has a smaller bitwidth. Added: llvm/trunk/test/Transforms/InstCombine/2008-01-21-MulTr

[llvm-commits] [llvm] r46245 - /llvm/trunk/Makefile.rules

2008-01-21 Thread Chris Lattner
Author: lattner Date: Mon Jan 21 23:19:26 2008 New Revision: 46245 URL: http://llvm.org/viewvc/llvm-project?rev=46245&view=rev Log: One too many )'s breaks 'make clean' with certain versions of make. This fixes PR1927 This should be pulled into llvm 2.2. Modified: llvm/trunk/Makefile.rules

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

2008-01-21 Thread Chris Lattner
Author: lattner Date: Mon Jan 21 23:31:58 2008 New Revision: 46246 URL: http://llvm.org/viewvc/llvm-project?rev=46246&view=rev Log: update this test to pass with duncan's change. Modified: llvm/trunk/test/Verifier/byval-2.ll Modified: llvm/trunk/test/Verifier/byval-2.ll URL: http://llvm.org

Re: [llvm-commits] [llvm] r46244 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-21-MulTrunc.ll

2008-01-21 Thread Nate Begeman
I don't get different output for the attached patch before and after the patch, and the test fails. On Jan 21, 2008, at 9:08 PM, Nick Lewycky wrote: > = > = > = > = > = > = > = > = > == > --- llvm/trunk/lib/Transforms/S

Re: [llvm-commits] [llvm] r46244 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-21-MulTrunc.ll

2008-01-21 Thread Nick Lewycky
Duh. Thanks Nate! Nate Begeman wrote: > I don't get different output for the attached patch before and after > the patch, and the test fails. > > On Jan 21, 2008, at 9:08 PM, Nick Lewycky wrote: > >> == >> --- llvm/trunk/lib/T

[llvm-commits] [llvm] r46247 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2008-01-21 Thread Nick Lewycky
Author: nicholas Date: Mon Jan 21 23:42:02 2008 New Revision: 46247 URL: http://llvm.org/viewvc/llvm-project?rev=46247&view=rev Log: Enable the fix I just checked in, silly me. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/Inst

[llvm-commits] [llvm] r46248 - /llvm/branches/release_22/Makefile.rules

2008-01-21 Thread Tanya Lattner
Author: tbrethou Date: Tue Jan 22 01:16:09 2008 New Revision: 46248 URL: http://llvm.org/viewvc/llvm-project?rev=46248&view=rev Log: Merge from mainline. One too many )'s breaks 'make clean' with certain versions of make. This fixes PR1927 Modified: llvm/branches/release_22/Makefile.rules M

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

2008-01-21 Thread Duncan Sands
Author: baldrick Date: Tue Jan 22 01:17:34 2008 New Revision: 46249 URL: http://llvm.org/viewvc/llvm-project?rev=46249&view=rev Log: The final piece needed for storing arbitrary precision integers. Handle truncstore of a legal type to an unusual number of bits. Most of this code is not reachable