[llvm-commits] [llvm] r46738 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp

2008-02-05 Thread Owen Anderson
Author: resistor Date: Mon Feb 4 22:34:03 2008 New Revision: 46738 URL: http://llvm.org/viewvc/llvm-project?rev=46738&view=rev Log: Fix an obscure read-after-free bug that Duncan found. Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Modified: llvm/trunk/lib/Analysis/MemoryDe

[llvm-commits] [llvm] r46739 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-02-04-GEPIdxBug.ll

2008-02-05 Thread Chris Lattner
Author: lattner Date: Mon Feb 4 22:45:32 2008 New Revision: 46739 URL: http://llvm.org/viewvc/llvm-project?rev=46739&view=rev Log: Fix a bug compiling PR1978 (perhaps not the only one though) which was incorrectly simplifying "x == (gep x, 1, i)" into false, even though i could be negative. As

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Chris Lattner
On Feb 4, 2008, at 3:27 PM, Dale Johannesen wrote: > Author: johannes > Date: Mon Feb 4 17:27:29 2008 > New Revision: 46727 > > URL: http://llvm.org/viewvc/llvm-project?rev=46727&view=rev > Log: > Do not unconditionally redefine vec_ext_v16qi and > vec_ext_v4si builtins. This is a hack; they sh

[llvm-commits] [llvm] r46746 - /llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp

2008-02-05 Thread Nate Begeman
Author: sampo Date: Tue Feb 5 02:49:09 2008 New Revision: 46746 URL: http://llvm.org/viewvc/llvm-project?rev=46746&view=rev Log: Ident mnemonics appropriately Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp URL: http://llv

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

2008-02-05 Thread Duncan Sands
Hi Devang, > Use appropriate alignment while handling packed struct member. do you have a testcase for this? Thanks, Duncan. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

[llvm-commits] [llvm] r46741 - in /llvm/trunk/docs/tutorial: LangImpl4.html LangImpl5.html LangImpl6.html LangImpl7.html

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 00:18:42 2008 New Revision: 46741 URL: http://llvm.org/viewvc/llvm-project?rev=46741&view=rev Log: dump the module *before* we delete it, not after. Modified: llvm/trunk/docs/tutorial/LangImpl4.html llvm/trunk/docs/tutorial/LangImpl5.html llvm/trunk/do

[llvm-commits] [llvm] r46748 - /llvm/tags/Apple/llvmCore-2015/

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:52:54 2008 New Revision: 46748 URL: http://llvm.org/viewvc/llvm-project?rev=46748&view=rev Log: Creating llvmCore-2015 branch Added: llvm/tags/Apple/llvmCore-2015/ - copied from r46747, llvm/trunk/ ___ llvm-co

[llvm-commits] [llvm-gcc-4.2] r46749 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2015/

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:53:01 2008 New Revision: 46749 URL: http://llvm.org/viewvc/llvm-project?rev=46749&view=rev Log: Creating llvmgcc42-2015 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2015/ - copied from r46748, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm-gcc-4.2] r46747 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.c config/rs6000/rs6000.c varasm.c

2008-02-05 Thread Bill Wendling
Author: void Date: Tue Feb 5 03:46:24 2008 New Revision: 46747 URL: http://llvm.org/viewvc/llvm-project?rev=46747&view=rev Log: maybe_assemble_visibility issues a warning if the visibility isn't supported on a particular platform. A configuration might check for visibility. A warning in this case

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Dale Johannesen
On Feb 4, 2008, at 9:07 PM, Chris Lattner wrote: > > On Feb 4, 2008, at 3:27 PM, Dale Johannesen wrote: > >> Author: johannes >> Date: Mon Feb 4 17:27:29 2008 >> New Revision: 46727 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=46727&view=rev >> Log: >> Do not unconditionally redefine vec_e

[llvm-commits] [llvm] r46753 - in /llvm/trunk/include/llvm/ADT: ImmutableMap.h ImmutableSet.h

2008-02-05 Thread Ted Kremenek
Author: kremenek Date: Tue Feb 5 11:30:43 2008 New Revision: 46753 URL: http://llvm.org/viewvc/llvm-project?rev=46753&view=rev Log: Changed profiling method for ImmutableMap to once again just use its unique ImutAVLTree* for profiling. Modified ImutAVLTree: (1) changed ComputeHash() to ComputeD

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

2008-02-05 Thread Ted Kremenek
Author: kremenek Date: Tue Feb 5 12:50:25 2008 New Revision: 46757 URL: http://llvm.org/viewvc/llvm-project?rev=46757&view=rev Log: Added FoldingSet profiling support to ImmutableSet. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h U

Re: [llvm-commits] [llvm] r46730 - /llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp

2008-02-05 Thread Anton Korobeynikov
Evan, > This should also work on x86 now. But this this worked on PPC before then? -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. ___ llvm-commits mailing list llvm-commits@cs.uiuc.ed

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Evan Cheng
On Feb 5, 2008, at 9:43 AM, Dale Johannesen wrote: > > On Feb 4, 2008, at 9:07 PM, Chris Lattner wrote: > >> >> On Feb 4, 2008, at 3:27 PM, Dale Johannesen wrote: >> >>> Author: johannes >>> Date: Mon Feb 4 17:27:29 2008 >>> New Revision: 46727 >>> >>> URL: http://llvm.org/viewvc/llvm-project?re

Re: [llvm-commits] [llvm] r46730 - /llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp

2008-02-05 Thread Evan Cheng
Yes it did. Evan On Feb 5, 2008, at 10:38 AM, Anton Korobeynikov wrote: > Evan, > >> This should also work on x86 now. > But this this worked on PPC before then? > > -- > With best regards, Anton Korobeynikov. > > Faculty of Mathematics & Mechanics, Saint Petersburg State University. > > >

[llvm-commits] [llvm] r46760 - in /llvm/trunk: Makefile.rules autoconf/configure.ac

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 13:43:40 2008 New Revision: 46760 URL: http://llvm.org/viewvc/llvm-project?rev=46760&view=rev Log: Make the check for GCC version more robust, fix shared library dependencies in makefile, and fix llvm_cv_no_link_all_option on darwin. Patch by Shantonu Sen, more in

[llvm-commits] [llvm] r46761 - /llvm/trunk/configure

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 13:43:53 2008 New Revision: 46761 URL: http://llvm.org/viewvc/llvm-project?rev=46761&view=rev Log: regenerate Modified: llvm/trunk/configure Modified: llvm/trunk/configure URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=46761&r1=46760&r2=46

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 11:37 AM, Evan Cheng wrote: >> That means you have to know whether you've got SSE4.1 in the FE. >> This is not an insuperable obstacle, but I think it's better to leave >> target >> dependencies in the BE when possible. > > Even with SSE4.1, it's a good idea to lower them to ex

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Evan Cheng
With or without... On Feb 5, 2008, at 11:39 AM, Chris Lattner wrote: > > On Feb 5, 2008, at 11:37 AM, Evan Cheng wrote: > >>> That means you have to know whether you've got SSE4.1 in the FE. >>> This is not an insuperable obstacle, but I think it's better to >>> leave >>> target >>> dependencie

[llvm-commits] [llvm] r46763 - in /llvm/trunk: lib/CodeGen/LiveVariables.cpp test/CodeGen/PowerPC/2008-02-05-LiveIntervalsAssert.ll

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 14:04:18 2008 New Revision: 46763 URL: http://llvm.org/viewvc/llvm-project?rev=46763&view=rev Log: If a vr is already marked alive in a bb, then it has PHI uses that are visited earlier, then it is not killed in the def block (i.e. not dead). Added: llvm/tr

[llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Dale Johannesen
Author: johannes Date: Tue Feb 5 14:46:33 2008 New Revision: 46764 URL: http://llvm.org/viewvc/llvm-project?rev=46764&view=rev Log: Implement sseregparm. Modified: llvm/trunk/include/llvm/CallingConv.h llvm/trunk/lib/Target/X86/X86CallingConv.td llvm/trunk/lib/Target/X86/X86ISelLowe

[llvm-commits] [llvm-gcc-4.2] r46765 - in /llvm-gcc-4.2/trunk/gcc: config/i386/llvm-i386-target.h llvm-types.cpp

2008-02-05 Thread Dale Johannesen
Author: johannes Date: Tue Feb 5 14:48:34 2008 New Revision: 46765 URL: http://llvm.org/viewvc/llvm-project?rev=46765&view=rev Log: Implement sseregparm in llvm. Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2

[llvm-commits] [llvm] r46767 - /llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 15:26:23 2008 New Revision: 46767 URL: http://llvm.org/viewvc/llvm-project?rev=46767&view=rev Log: Make RenamePass faster by making the 'is this a new phi node' check more intelligent. This speeds up mem2reg from 5.29s to 0.79s on a synthetic testcase with tons o

Re: [llvm-commits] [llvm-gcc-4.2] r46765 - in /llvm-gcc-4.2/trunk/gcc: config/i386/llvm-i386-target.h llvm-types.cpp

2008-02-05 Thread Anton Korobeynikov
Hi Dale, Looks like there is some desynchronization here now: > + } else if (TREE_CODE(Type) == INTEGER_TYPE || \ > + TREE_CODE(Type) == ENUMERAL_TYPE) {\ Shouldn't be POINTER_TYPE here also? > +if (TREE_CODE(ArgTy) == INTEGER_TYPE || TREE_CODE(Ar

Re: [llvm-commits] [llvm-gcc-4.2] r46765 - in /llvm-gcc-4.2/trunk/gcc: config/i386/llvm-i386-target.h llvm-types.cpp

2008-02-05 Thread Dale Johannesen
On Feb 5, 2008, at 1:56 PM, Anton Korobeynikov wrote: > Hi Dale, > > Looks like there is some desynchronization here now: > >> + } else if (TREE_CODE(Type) == INTEGER_TYPE || \ >> + TREE_CODE(Type) == ENUMERAL_TYPE) {\ > Shouldn't be POINTER_TYPE here

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 11:41 AM, Evan Cheng wrote: > With or without... Right, I agree. The f.e. should do this unconditionally, -Chris > > > On Feb 5, 2008, at 11:39 AM, Chris Lattner wrote: > >> >> On Feb 5, 2008, at 11:37 AM, Evan Cheng wrote: >> That means you have to know whether you've g

[llvm-commits] [llvm-gcc-4.2] r46773 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h

2008-02-05 Thread Dale Johannesen
Author: johannes Date: Tue Feb 5 16:22:23 2008 New Revision: 46773 URL: http://llvm.org/viewvc/llvm-project?rev=46773&view=rev Log: Fix per review feedback. Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h URL:

Re: [llvm-commits] [llvm-gcc-4.2] r46765 - in /llvm-gcc-4.2/trunk/gcc: config/i386/llvm-i386-target.h llvm-types.cpp

2008-02-05 Thread Dale Johannesen
On Feb 5, 2008, at 2:16 PM, Dale Johannesen wrote: > > On Feb 5, 2008, at 1:56 PM, Anton Korobeynikov wrote: > >> Hi Dale, >> >> Looks like there is some desynchronization here now: >> >>> + } else if (TREE_CODE(Type) == INTEGER_TYPE || \ >>> + TREE_CODE(Type) ==

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 12:46 PM, Dale Johannesen wrote: > URL: http://llvm.org/viewvc/llvm-project?rev=46764&view=rev > Log: > Implement sseregparm. Very nice. One thought about X86_SSECall: if it is only used to return float/ double in an xmm reg, you could get the same effect by having the CFE l

Re: [llvm-commits] [llvm] r46556 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h include/llvm/Value.h lib/CodeGen/PseudoSourceValue.cpp

2008-02-05 Thread Dan Gohman
> Some comments on the patch: > > + > + // Save loads/stores matched by a pattern. > + if (!N->isLeaf() && N->getName().empty() && > + ((N->getOperator()->getName() == "ld") || > + (N->getOperator()->getName() == "st") || > + (N->getOperator()->getName() == "ist"))) { > + LSI.push_back(Root

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Dale Johannesen
On Feb 5, 2008, at 2:25 PM, Chris Lattner wrote: > On Feb 5, 2008, at 12:46 PM, Dale Johannesen wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46764&view=rev >> Log: >> Implement sseregparm. > > Very nice. > > One thought about X86_SSECall: if it is only used to return float/ > double in

Re: [llvm-commits] [llvm-gcc-4.2] r46773 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386-target.h

2008-02-05 Thread Anton Korobeynikov
> URL: http://llvm.org/viewvc/llvm-project?rev=46773&view=rev > Log: > Fix per review feedback. Thanks! -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. ___ llvm-commits mailing list ll

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Dale Johannesen
On Feb 5, 2008, at 2:34 PM, Chris Lattner wrote: > On Feb 5, 2008, at 2:31 PM, Dale Johannesen wrote: >>> I think the calling convention stuff that Evan has been working on >>> is >>> powerful enough to model though sort of stuff, but might need minor >>> extensions. Do you think it would be r

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Dale Johannesen
On Feb 5, 2008, at 2:19 PM, Chris Lattner wrote: > On Feb 5, 2008, at 11:41 AM, Evan Cheng wrote: >> With or without... > > Right, I agree. The f.e. should do this unconditionally, > > -Chris OK, maybe so. The trouble is people use those builtins that are linked to a particular instruction,

[llvm-commits] [llvm] r46775 - /llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 16:44:06 2008 New Revision: 46775 URL: http://llvm.org/viewvc/llvm-project?rev=46775&view=rev Log: Move to getCALLSEQ_END to ensure CALLSEQ_END node produces a flag. This is consistent with the definition in td file. Modified: llvm/trunk/lib/Target/CellSPU/

[llvm-commits] [llvm] r46776 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAG.cpp test/CodeGen/X86/2008-02-05-ISelCrash.ll utils/TableGen/DAGISelEmitter.cpp

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 16:50:29 2008 New Revision: 46776 URL: http://llvm.org/viewvc/llvm-project?rev=46776&view=rev Log: Fix PR1975: dag isel emitter produces patterns that isel wrong flag result. Added: llvm/trunk/test/CodeGen/X86/2008-02-05-ISelCrash.ll Modified: llvm/trunk

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Bill Wendling
On Feb 5, 2008 2:40 PM, Dale Johannesen <[EMAIL PROTECTED]> wrote: > > On Feb 5, 2008, at 2:19 PM, Chris Lattner wrote: > > > On Feb 5, 2008, at 11:41 AM, Evan Cheng wrote: > >> With or without... > > > > Right, I agree. The f.e. should do this unconditionally, > > > > -Chris > > OK, maybe so. Th

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 2:31 PM, Dale Johannesen wrote: >> I think the calling convention stuff that Evan has been working on is >> powerful enough to model though sort of stuff, but might need minor >> extensions. Do you think it would be reasonable do use this >> approach? Doing so would eliminate a

[llvm-commits] [llvm] r46781 - /llvm/trunk/include/llvm/ADT/StringMap.h

2008-02-05 Thread Anton Korobeynikov
Author: asl Date: Tue Feb 5 17:34:40 2008 New Revision: 46781 URL: http://llvm.org/viewvc/llvm-project?rev=46781&view=rev Log: Don't dereference an invalid pointer if string is empty. Modified: llvm/trunk/include/llvm/ADT/StringMap.h Modified: llvm/trunk/include/llvm/ADT/StringMap.h URL: h

[llvm-commits] [llvm] r46790 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp

2008-02-05 Thread Tanya Lattner
Author: tbrethou Date: Tue Feb 5 18:54:55 2008 New Revision: 46790 URL: http://llvm.org/viewvc/llvm-project?rev=46790&view=rev Log: Throttle the non-local dependence analysis for basic blocks with more than 50 predecessors. Added command line option to play with this threshold. Modified: ll

Re: [llvm-commits] [llvm] r46790 - /llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp

2008-02-05 Thread Owen Anderson
Wow, that must be one hell of a CFG you're dealing with. ;-) --Owen On Feb 5, 2008, at 6:54 PM, Tanya Lattner wrote: Author: tbrethou Date: Tue Feb 5 18:54:55 2008 New Revision: 46790 URL: http://llvm.org/viewvc/llvm-project?rev=46790&view=rev Log: Throttle the non-local dependence analysis

[llvm-commits] [llvm] r46810 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-05 Thread Chris Lattner
Author: lattner Date: Wed Feb 6 00:30:34 2008 New Revision: 46810 URL: http://llvm.org/viewvc/llvm-project?rev=46810&view=rev Log: a starter shell for 2.2 release notes Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL: http://llvm.org/viewvc/llvm-