Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-25 Thread Nick Lewycky
Dan Gohman wrote: >>>Would it be too intrusive to ask ScalarEvolution to use a >>>PostDominanceFrontier for this? >> >>No, that's what I implemented at first. Unfortunately, it doesn't cover >>all the possible cases (specifically, it broke 2007-01-06-TripCount.ll). >> >>In 2007-01-06-TripCount.ll t

[llvm-commits] [poolalloc] r40485 - /poolalloc/branches/SVA/lib/DSA/LeafRepl.cpp

2007-07-25 Thread Andrew Lenharth
Author: alenhar2 Date: Wed Jul 25 08:08:35 2007 New Revision: 40485 URL: http://llvm.org/viewvc/llvm-project?rev=40485&view=rev Log: a cloner to improve context sensitivity in TD results. It also happens to make the kernel smaller Added: poolalloc/branches/SVA/lib/DSA/LeafRepl.cpp Added: p

[llvm-commits] Two patches: some VStudio compiler errors and an interpreter multi-use crash

2007-07-25 Thread Chuck Rose III
The "lib.patch" is for the lib directory & the "utils.patch" for the utils directory. Lib.patch contains 1 VStudio compiler error fix and also a move into a managed static of one of the statics for the interpreter. In cases where programs are compiled in a loop, interpreted, and then discarded

[llvm-commits] [llvm] r40491 - /llvm/tags/Apple/llvm-1200-03/

2007-07-25 Thread Bill Wendling
Author: void Date: Wed Jul 25 15:10:21 2007 New Revision: 40491 URL: http://llvm.org/viewvc/llvm-project?rev=40491&view=rev Log: Creating llvm-1200-03 branch Added: llvm/tags/Apple/llvm-1200-03/ - copied from r40490, llvm/trunk/ ___ llvm-comm

[llvm-commits] [llvm] r40495 - in /llvm/trunk: lib/Analysis/MemoryDependenceAnalysis.cpp test/Transforms/GVN/2007-07-25-Loop.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 16:26:36 2007 New Revision: 40495 URL: http://llvm.org/viewvc/llvm-project?rev=40495&view=rev Log: Fix a bug in non-local memdep that was causing an infinite loop on 175.vpr. Added: llvm/trunk/test/Transforms/GVN/2007-07-25-Loop.ll Modified: llvm/trunk/li

[llvm-commits] [llvm] r40494 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/2007-07-25-SinglePredecessor.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 16:13:41 2007 New Revision: 40494 URL: http://llvm.org/viewvc/llvm-project?rev=40494&view=rev Log: Fix a bug that was causing GVN to crash on 252.eon. Added: llvm/trunk/test/Transforms/GVN/2007-07-25-SinglePredecessor.ll Modified: llvm/trunk/lib/Transform

[llvm-commits] [llvm] r40497 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/2007-07-25-InfiniteLoop.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 17:03:06 2007 New Revision: 40497 URL: http://llvm.org/viewvc/llvm-project?rev=40497&view=rev Log: Fix an infinite loop on 300.twolf. Added: llvm/trunk/test/Transforms/GVN/2007-07-25-InfiniteLoop.ll Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp Modi

[llvm-commits] [llvm] r40496 - /llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 16:30:15 2007 New Revision: 40496 URL: http://llvm.org/viewvc/llvm-project?rev=40496&view=rev Log: Forgot to include this file in my last commit. Modified: llvm/trunk/include/llvm/Analysis/MemoryDependenceAnalysis.h Modified: llvm/trunk/include/llvm/Analysis

[llvm-commits] [llvm] r40502 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

2007-07-25 Thread Evan Cheng
Author: evancheng Date: Wed Jul 25 18:41:36 2007 New Revision: 40502 URL: http://llvm.org/viewvc/llvm-project?rev=40502&view=rev Log: Mac OS X x86-64 lower 4G address is not available. Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG

[llvm-commits] [llvm] r40493 - /llvm/trunk/docs/WritingAnLLVMPass.html

2007-07-25 Thread Devang Patel
Author: dpatel Date: Wed Jul 25 16:05:39 2007 New Revision: 40493 URL: http://llvm.org/viewvc/llvm-project?rev=40493&view=rev Log: Fix example code. Modified: llvm/trunk/docs/WritingAnLLVMPass.html Modified: llvm/trunk/docs/WritingAnLLVMPass.html URL: http://llvm.org/viewvc/llvm-project/llv

[llvm-commits] [llvm] r40503 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/2007-07-25-DominatedLoop.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 18:54:42 2007 New Revision: 40503 URL: http://llvm.org/viewvc/llvm-project?rev=40503&view=rev Log: Fix what is _hopefully_ the last corner case for loops. Added: llvm/trunk/test/Transforms/GVN/2007-07-25-DominatedLoop.ll Modified: llvm/trunk/lib/Transform

[llvm-commits] [llvm] r40498 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/2007-07-25-NestedLoop.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 17:19:40 2007 New Revision: 40498 URL: http://llvm.org/viewvc/llvm-project?rev=40498&view=rev Log: My last commit was not correct for nested loops. Fix it, and add a testcase for it. Added: llvm/trunk/test/Transforms/GVN/2007-07-25-NestedLoop.ll Modified:

[llvm-commits] [llvm] r40489 - in /llvm/trunk: include/llvm/Analysis/MemoryDependenceAnalysis.h lib/Analysis/MemoryDependenceAnalysis.cpp lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/dominated.ll

2007-07-25 Thread Owen Anderson
Author: resistor Date: Wed Jul 25 14:57:03 2007 New Revision: 40489 URL: http://llvm.org/viewvc/llvm-project?rev=40489&view=rev Log: Add basic support for performing whole-function RLE. Note: This has not yet been thoroughly tested. Use at your own risk. Added: llvm/trunk/test/Transforms/GVN

[llvm-commits] [llvm] r40507 - /llvm/trunk/include/llvm/CodeGen/ValueTypes.td

2007-07-25 Thread Christopher Lamb
Author: clamb Date: Wed Jul 25 20:48:57 2007 New Revision: 40507 URL: http://llvm.org/viewvc/llvm-project?rev=40507&view=rev Log: Fix comments for new types. Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.td Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.td URL: http://llvm.org/

[llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Christopher Lamb
Author: clamb Date: Wed Jul 25 20:46:52 2007 New Revision: 40506 URL: http://llvm.org/viewvc/llvm-project?rev=40506&view=rev Log: Add support for 3 element 32-bit vector ValueTypes. Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.h llvm/trunk/include/llvm/CodeGen/ValueTypes.td ll

[llvm-commits] [llvm] r40500 - in /llvm/trunk: include/llvm/CodeGen/AsmPrinter.h lib/CodeGen/AsmPrinter.cpp

2007-07-25 Thread Evan Cheng
Author: evancheng Date: Wed Jul 25 18:35:07 2007 New Revision: 40500 URL: http://llvm.org/viewvc/llvm-project?rev=40500&view=rev Log: EmitAlignment() also emits optional fill value. Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h llvm/trunk/lib/CodeGen/AsmPrinter.cpp Modified: llv

[llvm-commits] [llvm] r40501 - /llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp

2007-07-25 Thread Evan Cheng
Author: evancheng Date: Wed Jul 25 18:36:05 2007 New Revision: 40501 URL: http://llvm.org/viewvc/llvm-project?rev=40501&view=rev Log: Mac OS X should use 0x90 to fill in gaps to satisfy function alignment requirements. Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp Modified: llvm/

Re: [llvm-commits] [llvm] r40502 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

2007-07-25 Thread Evan Cheng
I do want to support static codegen for JIT. If non-JIT mode silently change it to dynamic-no-pic, then we can't emulate with llc. An alternative is to define a code model that is somewhere between small and medium. It's only used by Mac OS / static though. Not sure if that's cleaner? Evan

Re: [llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Evan Cheng
On Jul 25, 2007, at 11:02 PM, Christopher Lamb wrote: On Jul 25, 2007, at 10:50 PM, Evan Cheng wrote: Hi Chris, Can codegen handle non-pow 2 vector types? Are you planning to add it soon? :-) On my local copy codegen appears to be able to handle non-pow 2 vector types, but still can't h

Re: [llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Christopher Lamb
On Jul 25, 2007, at 10:50 PM, Evan Cheng wrote: Hi Chris, Can codegen handle non-pow 2 vector types? Are you planning to add it soon? :-) Also, can you check if tblgen need to be taught the new types? I'm away from my Mac so I can't check. I thought I'd had it, but I'd missed the file. Than

[llvm-commits] CVS: llvm-www/pubs/2007-07-25-LLVM-2.0-and-Beyond.html 2007-07-25-LLVM-2.0-and-Beyond.pdf

2007-07-25 Thread Chris Lattner
Changes in directory llvm-www/pubs: 2007-07-25-LLVM-2.0-and-Beyond.html added (r1.1) 2007-07-25-LLVM-2.0-and-Beyond.pdf added (r1.1) --- Log message: new talk --- Diffs of the changes: (+41 -0) 2007-07-25-LLVM-2.0-and-Beyond.html | 41 2007-07-25-LLV

Re: [llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Evan Cheng
Hi Chris, Can codegen handle non-pow 2 vector types? Are you planning to add it soon? :-) Also, can you check if tblgen need to be taught the new types? I'm away from my Mac so I can't check. Thanks, Evan Sent from my iPhone On Jul 25, 2007, at 6:46 PM, Christopher Lamb <[EMAIL PROTECTED]

Re: [llvm-commits] [llvm] r40502 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

2007-07-25 Thread Chris Lattner
On Jul 25, 2007, at 4:41 PM, Evan Cheng wrote: > Author: evancheng > Date: Wed Jul 25 18:41:36 2007 > New Revision: 40502 > > URL: http://llvm.org/viewvc/llvm-project?rev=40502&view=rev > Log: > Mac OS X x86-64 lower 4G address is not available. Hi Evan, Would it be better to have the X86 backe

[llvm-commits] [llvm] r40513 - /llvm/trunk/utils/TableGen/CodeGenTarget.cpp

2007-07-25 Thread Christopher Lamb
Author: clamb Date: Thu Jul 26 01:41:18 2007 New Revision: 40513 URL: http://llvm.org/viewvc/llvm-project?rev=40513&view=rev Log: Teach TableGen about the new vector types. Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp URL: http:

Re: [llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Christopher Lamb
On Jul 25, 2007, at 11:02 PM, Christopher Lamb wrote: On Jul 25, 2007, at 10:50 PM, Evan Cheng wrote: Hi Chris, Can codegen handle non-pow 2 vector types? Are you planning to add it soon? :-) On my local copy codegen appears to be able to handle non-pow 2 vector types, but still can't h

Re: [llvm-commits] [llvm] r40506 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/VMCore/ValueTypes.cpp

2007-07-25 Thread Christopher Lamb
On Jul 25, 2007, at 10:50 PM, Evan Cheng wrote: Hi Chris, Can codegen handle non-pow 2 vector types? Are you planning to add it soon? :-) On my local copy codegen appears to be able to handle non-pow 2 vector types, but still can't handle passing non-legal vector types by value to functi

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-25 Thread Dan Gohman
> I'm not sure why, but it doesn't seem as promising as the previous test > I had. Could it be that when comparing the PDF I should ignore blocks > that are not part of the loop? If there are branches from outside the loop to blocks inside the loop other than the loop header, then the exit branch

[llvm-commits] [llvm] r40504 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h lib/Target/X86/X86InstrSSE.td test/CodeGen/X86/vec_shuffle.ll

2007-07-25 Thread Dan Gohman
Author: djg Date: Wed Jul 25 19:31:09 2007 New Revision: 40504 URL: http://llvm.org/viewvc/llvm-project?rev=40504&view=rev Log: Remove X86ISD::LOAD_PACK and X86ISD::LOAD_UA and associated code from the x86 target, replacing them with the new alignment attributes on memory references. Modified:

[llvm-commits] [poolalloc] r40505 - in /poolalloc/branches/SVA/lib/DSA: Devirt.cpp Info.cpp

2007-07-25 Thread Andrew Lenharth
Author: alenhar2 Date: Wed Jul 25 19:36:58 2007 New Revision: 40505 URL: http://llvm.org/viewvc/llvm-project?rev=40505&view=rev Log: how did I forget these files Added: poolalloc/branches/SVA/lib/DSA/Devirt.cpp poolalloc/branches/SVA/lib/DSA/Info.cpp Added: poolalloc/branches/SVA/lib/DSA

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

2007-07-25 Thread Christopher Lamb
Author: clamb Date: Wed Jul 25 22:33:13 2007 New Revision: 40510 URL: http://llvm.org/viewvc/llvm-project?rev=40510&view=rev Log: Fix infinite recursion for when extract_vector_elt is legal. Unfortunately no public targets use this code-path, so no test. Modified: llvm/trunk/lib/CodeGen/Sele

Re: [llvm-commits] [llvm] r40472 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

2007-07-25 Thread Evan Cheng
Hi Anton, Can you add an entry to README.txt about this? Please explain it a little bit because I have no idea what's going on here. :-) Evan On Jul 24, 2007, at 2:07 PM, Anton Korobeynikov wrote: > Author: asl > Date: Tue Jul 24 16:07:39 2007 > New Revision: 40472 > > URL: http://llvm.org/vi

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

2007-07-25 Thread Chris Lattner
Changes in directory llvm-www/pubs: index.html updated: 1.56 -> 1.57 --- Log message: add new talk to index --- Diffs of the changes: (+8 -2) index.html | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) Index: llvm-www/pubs/index.html diff -u llvm-www/pubs/index.html:1.

[llvm-commits] [llvm] r40488 - in /llvm/trunk/test: Bitcode/ Bytecode/

2007-07-25 Thread Chandler Carruth
Author: chandlerc Date: Wed Jul 25 14:47:31 2007 New Revision: 40488 URL: http://llvm.org/viewvc/llvm-project?rev=40488&view=rev Log: Moving regression test to reflect move in source and headers to Bitcode. Added: llvm/trunk/test/Bitcode/ - copied from r40485, llvm/trunk/test/Bytecode/

[llvm-commits] [llvm] r40487 - in /llvm/trunk/lib/Target: ARM/ARMAsmPrinter.cpp Alpha/AlphaAsmPrinter.cpp IA64/IA64AsmPrinter.cpp Mips/MipsAsmPrinter.cpp PowerPC/PPCAsmPrinter.cpp Sparc/SparcAsmPrinte

2007-07-25 Thread Dan Gohman
Author: djg Date: Wed Jul 25 14:33:14 2007 New Revision: 40487 URL: http://llvm.org/viewvc/llvm-project?rev=40487&view=rev Log: Don't ignore the return value of AsmPrinter::doInitialization and AsmPrinter::doFinalization. Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp llvm/trunk/li

Re: [llvm-commits] [llvm] r40478 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/v4f32-immediate.ll

2007-07-25 Thread Evan Cheng
How did I miss that one? Duh. Thanks! Evan On Jul 24, 2007, at 3:55 PM, Dan Gohman wrote: > Author: djg > Date: Tue Jul 24 17:55:08 2007 > New Revision: 40478 > > URL: http://llvm.org/viewvc/llvm-project?rev=40478&view=rev > Log: > Use movaps to load a v4f32 build_vector of all-constant values i

[llvm-commits] [llvm] r40486 - in /llvm/trunk: include/llvm/Transforms/Utils/BasicInliner.h include/llvm/Transforms/Utils/InlineCost.h lib/Transforms/IPO/InlineSimple.cpp lib/Transforms/Utils/BasicInl

2007-07-25 Thread Devang Patel
Author: dpatel Date: Wed Jul 25 13:00:25 2007 New Revision: 40486 URL: http://llvm.org/viewvc/llvm-project?rev=40486&view=rev Log: Add BasicInliner interface. This interface allows clients to inline bunch of functions with module level call graph information.:wq Added: llvm/trunk/include/ll

[llvm-commits] [llvm-gcc-4.0] r40490 - /llvm-gcc-4.0/tags/llvm-gcc-1200-03/

2007-07-25 Thread Bill Wendling
Author: void Date: Wed Jul 25 15:03:00 2007 New Revision: 40490 URL: http://llvm.org/viewvc/llvm-project?rev=40490&view=rev Log: Creating llvm-1200-03 branch Added: llvm-gcc-4.0/tags/llvm-gcc-1200-03/ - copied from r40489, llvm-gcc-4.0/trunk/ ___

[llvm-commits] [llvm] r40499 - /llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp

2007-07-25 Thread Evan Cheng
Author: evancheng Date: Wed Jul 25 17:28:16 2007 New Revision: 40499 URL: http://llvm.org/viewvc/llvm-project?rev=40499&view=rev Log: Functions with LinkOnce and weak linkage still need to be aligned. Doh. Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp Modified: llvm/trunk/lib/Targ