Re: [llvm-commits] [llvm] r44687 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/LLVMTargetMachine.cpp lib/CodeGen/MachineLICM.cpp lib/Target/PowerPC/PPCInstrInfo.td

2007-12-08 Thread Duncan Sands
Hi Bill, presumably you are using alias analysis at the codegen level. I noticed some time ago that in several places code doing multiple stores to successive locations does not set the SVOffset value correctly: it used the same SVOffset for all the stores. Probably the same is true for loads. I

[llvm-commits] [llvm] r44704 - in /llvm/trunk/bindings/ocaml: analysis/analysis_ocaml.c llvm/llvm_ocaml.c

2007-12-08 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 8 10:55:43 2007 New Revision: 44704 URL: http://llvm.org/viewvc/llvm-project?rev=44704&view=rev Log: Fix bug in constructing Ocaml option types in the bindings. Modified: llvm/trunk/bindings/ocaml/analysis/analysis_ocaml.c llvm/trunk/bindings/ocaml/llvm/llvm_

[llvm-commits] [llvm] r44705 - in /llvm/trunk: include/llvm/Support/StringPool.h lib/Support/StringPool.cpp

2007-12-08 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 8 11:07:47 2007 New Revision: 44705 URL: http://llvm.org/viewvc/llvm-project?rev=44705&view=rev Log: Adding a StringPool data structure, which GC will use. Added: llvm/trunk/include/llvm/Support/StringPool.h llvm/trunk/lib/Support/StringPool.cpp Added: llvm/

[llvm-commits] [llvm] r44706 - /llvm/trunk/lib/Target/CellSPU/

2007-12-08 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 8 11:53:01 2007 New Revision: 44706 URL: http://llvm.org/viewvc/llvm-project?rev=44706&view=rev Log: Ignoring generated files. Modified: llvm/trunk/lib/Target/CellSPU/ (props changed) Propchange: llvm/trunk/lib/Target/CellSPU/

[llvm-commits] [llvm] r44707 - /llvm/trunk/lib/Support/APFloat.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 13:00:03 2007 New Revision: 44707 URL: http://llvm.org/viewvc/llvm-project?rev=44707&view=rev Log: proper #include order. Modified: llvm/trunk/lib/Support/APFloat.cpp Modified: llvm/trunk/lib/Support/APFloat.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/

[llvm-commits] [llvm] r44708 - /llvm/trunk/include/llvm/ADT/APFloat.h

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 13:00:38 2007 New Revision: 44708 URL: http://llvm.org/viewvc/llvm-project?rev=44708&view=rev Log: remove dead #include, APInt.h already has the needed forward decls. Modified: llvm/trunk/include/llvm/ADT/APFloat.h Modified: llvm/trunk/include/llvm/ADT/APFloa

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

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 13:01:44 2007 New Revision: 44709 URL: http://llvm.org/viewvc/llvm-project?rev=44709&view=rev Log: eliminate dependency on Bitcode headers. Modified: llvm/trunk/include/llvm/ADT/APInt.h Modified: llvm/trunk/include/llvm/ADT/APInt.h URL: http://llvm.org/viewv

[llvm-commits] [llvm] r44710 - /llvm/trunk/lib/AsmParser/LLLexer.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 13:03:30 2007 New Revision: 44710 URL: http://llvm.org/viewvc/llvm-project?rev=44710&view=rev Log: add #include Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/

[llvm-commits] [llvm] r44711 - /llvm/trunk/include/llvm/ADT/APFloat.h

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 13:06:21 2007 New Revision: 44711 URL: http://llvm.org/viewvc/llvm-project?rev=44711&view=rev Log: remove dead #include. Modified: llvm/trunk/include/llvm/ADT/APFloat.h Modified: llvm/trunk/include/llvm/ADT/APFloat.h URL: http://llvm.org/viewvc/llvm-project/

Re: [llvm-commits] [llvm] r44705 - in /llvm/trunk: include/llvm/Support/StringPool.h lib/Support/StringPool.cpp

2007-12-08 Thread Reid Spencer
Hi Gordon, Nice addition. Some minor feedback for you below ... On Sat, 2007-12-08 at 17:07 +, Gordon Henriksen wrote: > Author: gordon > Date: Sat Dec 8 11:07:47 2007 > New Revision: 44705 > > URL: http://llvm.org/viewvc/llvm-project?rev=44705&view=rev > Log: > Adding a StringPool data st

Re: [llvm-commits] [llvm] r44705 - in /llvm/trunk: include/llvm/Support/StringPool.h lib/Support/StringPool.cpp

2007-12-08 Thread Gordon Henriksen
Hi Reid. Nice to hear from you. On 2007-12-08, at 14:43, Reid Spencer wrote: > Hi Gordon, > > Nice addition. Thanks. > Some minor feedback for you below ... > > On Sat, 2007-12-08 at 17:07 +, Gordon Henriksen wrote: > >> +struct PooledString { >> + StringPool *Pool; ///< So the st

[llvm-commits] [llvm] r44713 - /llvm/trunk/include/llvm/Support/StringPool.h

2007-12-08 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 8 14:10:40 2007 New Revision: 44713 URL: http://llvm.org/viewvc/llvm-project?rev=44713&view=rev Log: Incorporating review feedback from Reid. Modified: llvm/trunk/include/llvm/Support/StringPool.h Modified: llvm/trunk/include/llvm/Support/StringPool.h URL: http

[llvm-commits] [llvm] r44714 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeDAGTypes.cpp LegalizeTypes.h

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 14:16:06 2007 New Revision: 44714 URL: http://llvm.org/viewvc/llvm-project?rev=44714&view=rev Log: Split the class definition of DAGTypeLegalizer out into a header. Leave it visibility hidden, but not in an anon namespace. Added: llvm/trunk/lib/CodeGen/Selecti

[llvm-commits] [llvm] r44716 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypesPromote.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 14:24:38 2007 New Revision: 44716 URL: http://llvm.org/viewvc/llvm-project?rev=44716&view=rev Log: Split promotion support out to its own file. Added: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypesPromote.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDA

[llvm-commits] [llvm] r44718 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypesScalarize.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 14:30:28 2007 New Revision: 44718 URL: http://llvm.org/viewvc/llvm-project?rev=44718&view=rev Log: split scalarization out to its own file. Added: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypesScalarize.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/

Re: [llvm-commits] [llvm] r44702 - in /llvm/trunk: include/llvm/Target/TargetInstrInfo.h lib/CodeGen/LiveIntervalAnalysis.cpp lib/CodeGen/MachineLICM.cpp lib/Target/X86/X86InstrInfo.cpp lib/Target/X86

2007-12-08 Thread Evan Cheng
Sorry, I made a mistake. The renaming is a bad idea. Please revert. We should mark instructions that produce side effects. All the others have no side effects. Then those that do not have register operands are candidates for trivial remat. Evan On Dec 7, 2007, at 11:17 PM, Bill Wendling <[

[llvm-commits] [llvm] r44719 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 15:59:32 2007 New Revision: 44719 URL: http://llvm.org/viewvc/llvm-project?rev=44719&view=rev Log: reorganize header to separate into functional blocks. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h Modified: llvm/trunk/lib/CodeGen/SelectionDA

[llvm-commits] [llvm] r44720 - /llvm/trunk/lib/System/Unix/SUS/

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 16:17:33 2007 New Revision: 44720 URL: http://llvm.org/viewvc/llvm-project?rev=44720&view=rev Log: Remove dead file and directory. Removed: llvm/trunk/lib/System/Unix/SUS/ ___ llvm-commits mailing list llvm-commits@

[llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Wojciech Matyjewicz
Hi, It seems that this problem is caused by a copy-paste bug in BasicAliasAnalysis.cpp. The first part of the diff is of a cosmetic nature. The second fixes the bug. -Wojtek Index: lib/Analysis/BasicAliasAnalysis.cpp === --- lib/Anal

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

2007-12-08 Thread Nate Begeman
Author: sampo Date: Sat Dec 8 16:29:19 2007 New Revision: 44721 URL: http://llvm.org/viewvc/llvm-project?rev=44721&view=rev Log: Project cleanups Modified: llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj Modified: llvm/trunk/Xcode/LLVM.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc

[llvm-commits] [llvm] r44722 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h LegalizeTypesSplit.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 16:37:41 2007 New Revision: 44722 URL: http://llvm.org/viewvc/llvm-project?rev=44722&view=rev Log: add scaffolding for splitting of vectors. Added: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypesSplit.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Leg

[llvm-commits] [llvm] r44723 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 16:40:18 2007 New Revision: 44723 URL: http://llvm.org/viewvc/llvm-project?rev=44723&view=rev Log: implement some methods. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h Modified: llvm/t

[llvm-commits] [llvm] r44724 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.h LegalizeTypesSplit.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 17:08:49 2007 New Revision: 44724 URL: http://llvm.org/viewvc/llvm-project?rev=44724&view=rev Log: implement vector splitting of load, undef, and binops. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h llvm/trunk/lib/CodeGen/SelectionDAG/Lega

[llvm-commits] [llvm] r44725 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.h LegalizeTypesSplit.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 17:24:26 2007 New Revision: 44725 URL: http://llvm.org/viewvc/llvm-project?rev=44725&view=rev Log: Implement splitting support for store, allowing us to compile: %f8 = type <8 x float> define void @test_f8(%f8* %P, %f8* %Q, %f8* %S) { %p = load %f

[llvm-commits] [llvm] r44726 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.h LegalizeTypesSplit.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 17:58:27 2007 New Revision: 44726 URL: http://llvm.org/viewvc/llvm-project?rev=44726&view=rev Log: add many new cases to SplitResult. SplitResult now handles all the cases that LegalizeDAG does. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h

[llvm-commits] [llvm] r44727 - in /llvm/trunk: include/llvm/Target/TargetInstrInfo.h lib/CodeGen/LiveIntervalAnalysis.cpp lib/CodeGen/MachineLICM.cpp lib/Target/X86/X86InstrInfo.cpp lib/Target/X86/X86

2007-12-08 Thread Bill Wendling
Author: void Date: Sat Dec 8 17:58:46 2007 New Revision: 44727 URL: http://llvm.org/viewvc/llvm-project?rev=44727&view=rev Log: Reverting 44702. It wasn't correct to rename them. Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

[llvm-commits] [llvm] r44728 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.h LegalizeTypesExpand.cpp LegalizeTypesSplit.cpp

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 18:06:19 2007 New Revision: 44728 URL: http://llvm.org/viewvc/llvm-project?rev=44728&view=rev Log: Add support for splitting the operand of a return instruction. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.h llvm/trunk/lib/CodeGen/Selection

Re: [llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Chris Lattner
On Dec 8, 2007, at 2:35 PM, Wojciech Matyjewicz wrote: > Hi, > > It seems that this problem is caused by a copy-paste bug in > BasicAliasAnalysis.cpp. The first part of the diff is of a cosmetic > nature. The second fixes the bug. This patch looks excellent, thanks! Unfortunately though, the pa

Re: [llvm-commits] [llvm] r44705 - in /llvm/trunk: include/llvm/Support/StringPool.h lib/Support/StringPool.cpp

2007-12-08 Thread Chris Lattner
On Dec 8, 2007, at 9:07 AM, Gordon Henriksen wrote: > Author: gordon > Date: Sat Dec 8 11:07:47 2007 > New Revision: 44705 > > URL: http://llvm.org/viewvc/llvm-project?rev=44705&view=rev > Log: > Adding a StringPool data structure, which GC will use. Looks great Gordon, one other nit-pick: > +

[llvm-commits] CVS: llvm-www/ProjectsWithLLVM/index.html

2007-12-08 Thread Chris Lattner
Changes in directory llvm-www/ProjectsWithLLVM: index.html updated: 1.39 -> 1.40 --- Log message: add puzzle solving project. --- Diffs of the changes: (+36 -0) index.html | 36 1 files changed, 36 insertions(+) Index: llvm-www/ProjectsWithLLVM/inde

[llvm-commits] [llvm] r44729 - /llvm/trunk/tools/Makefile

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sat Dec 8 18:27:38 2007 New Revision: 44729 URL: http://llvm.org/viewvc/llvm-project?rev=44729&view=rev Log: Fix accidental commit by Bill. Modified: llvm/trunk/tools/Makefile Modified: llvm/trunk/tools/Makefile URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tool

Re: [llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Wojciech Matyjewicz
Chris Lattner wrote: > > Unfortunately though, the patch > does not apply. Can you please attach it instead of including it > inline in the email? Chris, could you check my previous post one more time, please. The patch should be attached to it. At least, I have received this post with an at

[llvm-commits] [llvm] r44732 - /llvm/trunk/include/llvm/Support/StringPool.h

2007-12-08 Thread Gordon Henriksen
Author: gordon Date: Sat Dec 8 19:12:08 2007 New Revision: 44732 URL: http://llvm.org/viewvc/llvm-project?rev=44732&view=rev Log: Fix a very silly typo. Modified: llvm/trunk/include/llvm/Support/StringPool.h Modified: llvm/trunk/include/llvm/Support/StringPool.h URL: http://llvm.org/viewvc

Re: [llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Gordon Henriksen
On 2007-12-08, at 19:58, Wojciech Matyjewicz wrote: Chris Lattner wrote: Unfortunately though, the patch does not apply. Can you please attach it instead of including it inline in the email? Chris, could you check my previous post one more time, please. The patch should be attached to

Re: [llvm-commits] [llvm] r44705 - in /llvm/trunk: include/llvm/Support/StringPool.h lib/Support/StringPool.cpp

2007-12-08 Thread Gordon Henriksen
On 2007-12-08, at 19:24, Chris Lattner wrote: > On Dec 8, 2007, at 9:07 AM, Gordon Henriksen wrote: > >> +#include > > Please #include LLVM headers with ""'s when in the llvm source base, > thanks! Indubitably. Fixed. — Gordon ___ llvm-commits mail

Re: [llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Wojciech Matyjewicz
Gordon Henriksen wrote: > Wojtek, you might try /(a.)/ using ".patch" in the hopes of eliciting > Content-Type: application/octet-stream which will always appear as an > attachment, /(b.)/ compressing the attachment, or /(c.)/ looking for a > setting in Thunderbird to use Content-Disposition: atta

[llvm-commits] [llvm] r44733 - in /llvm/trunk: lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll

2007-12-08 Thread Chris Lattner
Author: lattner Date: Sun Dec 9 01:35:13 2007 New Revision: 44733 URL: http://llvm.org/viewvc/llvm-project?rev=44733&view=rev Log: Fix PR1782, patch by Wojtek Matyjewicz! Added: llvm/trunk/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll Modified: llvm/trunk/lib/Analysis/BasicAliasAn

Re: [llvm-commits] RFC: patch for PR1782 (BasicAliasAnalyis)

2007-12-08 Thread Chris Lattner
On Dec 8, 2007, at 5:52 PM, Wojciech Matyjewicz wrote: > Gordon Henriksen wrote: > >> Wojtek, you might try /(a.)/ using ".patch" in the hopes of eliciting >> Content-Type: application/octet-stream which will always appear as an >> attachment, /(b.)/ compressing the attachment, or /(c.)/ looking