[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=46738view=rev Log: Fix an obscure read-after-free bug that Duncan found. Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Modified:

[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=46739view=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 it

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=46727view=rev Log: Do not unconditionally redefine vec_ext_v16qi and vec_ext_v4si builtins. This is a hack; they should be

[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=46746view=rev Log: Ident mnemonics appropriately Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp URL:

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=46741view=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-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=46748view=rev Log: Creating llvmCore-2015 branch Added: llvm/tags/Apple/llvmCore-2015/ - copied from r46747, llvm/trunk/ ___

[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=46749view=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=46747view=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=46727view=rev Log: Do not unconditionally redefine vec_ext_v16qi and

[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=46753view=rev Log: Changed profiling method for ImmutableMap to once again just use its unique ImutAVLTree* for profiling. Modified ImutAVLTree: (1) changed ComputeHash() to

[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=46757view=rev Log: Added FoldingSet profiling support to ImmutableSet. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h

[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=46760view=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

[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=46761view=rev Log: regenerate Modified: llvm/trunk/configure Modified: llvm/trunk/configure URL:

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 extract

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 dependencies in the BE when

[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=46763view=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-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=46764view=rev Log: Implement sseregparm. Modified: llvm/trunk/include/llvm/CallingConv.h llvm/trunk/lib/Target/X86/X86CallingConv.td

[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=46765view=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-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=46767view=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

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 ||

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 also?

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 got SSE4.1 in

[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=46773view=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) == ENUMERAL_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=46764view=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

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(RootName); + } + I am

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=46764view=rev Log: Implement sseregparm. Very nice. One thought about X86_SSECall: if it is only used to return float/ double in an xmm reg,

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=46773view=rev Log: Fix per review feedback. Thanks! -- With best regards, Anton Korobeynikov. Faculty of Mathematics Mechanics, Saint Petersburg State University. ___ llvm-commits mailing list

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 reasonable do

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, and

[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=46775view=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-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=46776view=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:

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. The trouble is people

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 magic

[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=46781view=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:

[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=46790view=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:

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=46790view=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=46810view=rev Log: a starter shell for 2.2 release notes Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL: