[llvm-commits] [llvm-top] r40425 - /llvm-top/trunk/library.sh

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 02:49:26 2007 New Revision: 40425 URL: http://llvm.org/viewvc/llvm-project?rev=40425&view=rev Log: Support arithmetic expansion in older shells. Modified: llvm-top/trunk/library.sh Modified: llvm-top/trunk/library.sh URL: http://llvm.org/viewvc/llvm-project/llv

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

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 03:09:15 2007 New Revision: 40426 URL: http://llvm.org/viewvc/llvm-project?rev=40426&view=rev Log: Remove bizarre use of /dev/null in a makefile include line that produces warning from make about bad timestamp on /dev/null Patch by Holger Schurig. Modified: llv

[llvm-commits] [llvm-gcc-4.0] r40427 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 03:16:35 2007 New Revision: 40427 URL: http://llvm.org/viewvc/llvm-project?rev=40427&view=rev Log: Cleanup fallout from the elimination of signed and unsigned types in LLVM. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/l

[llvm-commits] [llvm-gcc-4.2] r40428 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 03:18:47 2007 New Revision: 40428 URL: http://llvm.org/viewvc/llvm-project?rev=40428&view=rev Log: Forward port of r40427. Cleanup fallout from the elimination of signed and unsigned types in LLVM. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified:

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

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 03:20:46 2007 New Revision: 40429 URL: http://llvm.org/viewvc/llvm-project?rev=40429&view=rev Log: Restore ability to build archives (oops) Fix -include line so it doesn't reference /dev/null Modified: llvm/trunk/Makefile.rules Modified: llvm/trunk/Makefile.rule

[llvm-commits] [llvm-top] r40430 - /llvm-top/trunk/library.sh

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 03:23:19 2007 New Revision: 40430 URL: http://llvm.org/viewvc/llvm-project?rev=40430&view=rev Log: One more try at getting arithmetic expansion to work with Bourne shell. Modified: llvm-top/trunk/library.sh Modified: llvm-top/trunk/library.sh URL: http://llvm.o

[llvm-commits] [llvm-gcc-4.2] r40431 - /llvm-gcc-4.2/trunk/gcc/passes.c

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 04:26:28 2007 New Revision: 40431 URL: http://llvm.org/viewvc/llvm-project?rev=40431&view=rev Log: We don't want gcc to lower vectors. Also, the vector lowering seems to create invalid BIT_FIELD_REFs. This fixes 2006-03-16-VectorCtor.c. Modified: llvm-gcc-4.

[llvm-commits] [llvm-gcc-4.0] r40432 - in /llvm-gcc-4.0/trunk/gcc: common.opt llvm-backend.cpp

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 04:47:03 2007 New Revision: 40432 URL: http://llvm.org/viewvc/llvm-project?rev=40432&view=rev Log: Recover [129769], lost in the repository move. Provide command line switches to print pass manager info useful for debugging. Patch by Devang. Modified: llvm-

[llvm-commits] [llvm-gcc-4.2] r40433 - in /llvm-gcc-4.2/trunk/gcc: common.opt llvm-backend.cpp

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 05:48:10 2007 New Revision: 40433 URL: http://llvm.org/viewvc/llvm-project?rev=40433&view=rev Log: Forward port of r40432. Recover [129769], lost in the repository move. Provide command line switches to print pass manager info useful for debugging. Patch by Dev

[llvm-commits] [test-suite] r40434 - in /test-suite/trunk/SingleSource/UnitTests/Vector/SSE: sse.expandfft.c sse.isamax.c sse.stepfft.c

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 06:41:10 2007 New Revision: 40434 URL: http://llvm.org/viewvc/llvm-project?rev=40434&view=rev Log: Fix these in a more interesting way. Modified: test-suite/trunk/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c test-suite/trunk/SingleSource/UnitTests/Ve

[llvm-commits] [llvm-gcc-4.2] r40435 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 08:10:20 2007 New Revision: 40435 URL: http://llvm.org/viewvc/llvm-project?rev=40435&view=rev Log: Forward port of [129669]. Add support for this builtin: __builtin_ia32_vec_ext_v2di Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Modified: llvm-

[llvm-commits] [llvm] r40436 - in /llvm/trunk/test/FrontendAda: Support/ Support/fat_fields.ads Support/global_constant.ads Support/non_lvalue.ads Support/unc_constructor.ads Support/var_size.ads arra

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 08:41:53 2007 New Revision: 40436 URL: http://llvm.org/viewvc/llvm-project?rev=40436&view=rev Log: For multipart tests, place the parts with no RUN line in Support. Give up on sending output to /dev/null - this cannot always be arranged. Added: llvm/trunk/te

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

2007-07-23 Thread Reid Spencer
Changes in directory llvm-www/releases: index.html updated: 1.36 -> 1.37 --- Log message: Add the 2.0 documentation link. --- Diffs of the changes: (+1 -0) index.html |1 + 1 files changed, 1 insertion(+) Index: llvm-www/releases/index.html diff -u llvm-www/releases/index.html:1.36 l

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-23 Thread Dan Gohman
> +// If we can show that there is no inner cycle in the loop then we know > +// that the execution count must equal the branch count. Would it be too intrusive to ask ScalarEvolution to use a PostDominanceFrontier for this? Dan -- Dan Gohman, Cray Inc. _

[llvm-commits] [llvm] r40437 - in /llvm/trunk/test: C++Frontend/2006-11-30-NoCompileUnit.cpp CodeGen/CBackend/2003-06-23-PromotedExprs.llx Feature/float.ll Feature/inlineasm.ll Feature/llvm2cpp.ll lib

2007-07-23 Thread Duncan Sands
Author: baldrick Date: Mon Jul 23 10:23:35 2007 New Revision: 40437 URL: http://llvm.org/viewvc/llvm-project?rev=40437&view=rev Log: The Ada f-e produces various auxiliary output files that cannot be suppressed and cannot be redirected: they are dumped in the current working directory. When runnin

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-23 Thread Nick Lewycky
On Mon, 2007-07-23 at 09:58 -0500, Dan Gohman wrote: > > +// If we can show that there is no inner cycle in the loop then we know > > +// that the execution count must equal the branch count. > > Would it be too intrusive to ask ScalarEvolution to use a > PostDominanceFrontier for this? N

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

2007-07-23 Thread Chris Lattner
Author: lattner Date: Mon Jul 23 12:10:17 2007 New Revision: 40439 URL: http://llvm.org/viewvc/llvm-project?rev=40439&view=rev Log: completely remove a transformation that is unsafe in the face of undefs. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trun

[llvm-commits] [llvm] r40440 - /llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 13:30:37 2007 New Revision: 40440 URL: http://llvm.org/viewvc/llvm-project?rev=40440&view=rev Log: Fix file header. Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp URL: http://llvm.org/viewvc/llv

Re: [llvm-commits] ScalarEvolution fix for treeadd

2007-07-23 Thread Dan Gohman
> > 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 there's two "loop

[llvm-commits] [llvm] r40441 - in /llvm/trunk: lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86ATTAsmPrinter.h lib/Target/X86/X86AsmPrinter.h lib/Target/X86/X86IntelAsmPrinter.cpp lib/Target/X86

2007-07-23 Thread Dan Gohman
Author: djg Date: Mon Jul 23 14:26:08 2007 New Revision: 40441 URL: http://llvm.org/viewvc/llvm-project?rev=40441&view=rev Log: Delete the svn:executable property on these files, which aren't executable. Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp (props changed) llvm/trunk

[llvm-commits] [llvm-gcc-4.0] r40442 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-07-23 Thread Lauro Ramos Venancio
Author: laurov Date: Mon Jul 23 15:13:01 2007 New Revision: 40442 URL: http://llvm.org/viewvc/llvm-project?rev=40442&view=rev Log: Fix the build for ARM. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r40443 - in /llvm/trunk/lib: CodeGen/DwarfWriter.cpp CodeGen/SelectionDAG/SelectionDAG.cpp Target/X86/X86ISelLowering.cpp

2007-07-23 Thread Dan Gohman
Author: djg Date: Mon Jul 23 15:24:29 2007 New Revision: 40443 URL: http://llvm.org/viewvc/llvm-project?rev=40443&view=rev Log: Fix some uses of dyn_cast to be uses of cast. Modified: llvm/trunk/lib/CodeGen/DwarfWriter.cpp llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp llvm/trun

[llvm-commits] [llvm] r40444 - in /llvm/trunk/test/Transforms/DeadStoreElimination: 2004-11-28-LiveStoreDeleted.ll 2004-12-28-PartialStore.ll 2005-11-30-vaarg.ll 2006-06-27-AST-Remove.ll PartialStore.

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 15:49:13 2007 New Revision: 40444 URL: http://llvm.org/viewvc/llvm-project?rev=40444&view=rev Log: Move these tests to use FastDSE instead of old DSE. Modified: llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll llvm/trunk/tes

Re: [llvm-commits] [llvm] r40444 - in /llvm/trunk/test/Transforms/DeadStoreElimination: 2004-11-28-LiveStoreDeleted.ll 2004-12-28-PartialStore.ll 2005-11-30-vaarg.ll 2006-06-27-AST-Remove.ll PartialSt

2007-07-23 Thread Chris Lattner
Silly thought, but when you remove the -dse pass, why not rename - fdse to -dse ? -Chris On Jul 23, 2007, at 1:49 PM, Owen Anderson wrote: > Author: resistor > Date: Mon Jul 23 15:49:13 2007 > New Revision: 40444 > > URL: http://llvm.org/viewvc/llvm-project?rev=40444&view=rev > Log: > Move the

[llvm-commits] [llvm] r40445 - in /llvm/trunk: include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/FastDLE.cpp

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 16:48:08 2007 New Revision: 40445 URL: http://llvm.org/viewvc/llvm-project?rev=40445&view=rev Log: Add FastDLE, the load-elimination counterpart of FastDSE. Added: llvm/trunk/lib/Transforms/Scalar/FastDLE.cpp Modified: llvm/trunk/include/llvm/Transforms/S

[llvm-commits] [llvm] r40446 - /llvm/trunk/include/llvm/Transforms/Scalar.h

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 16:51:37 2007 New Revision: 40446 URL: http://llvm.org/viewvc/llvm-project?rev=40446&view=rev Log: Fix a comment. Modified: llvm/trunk/include/llvm/Transforms/Scalar.h Modified: llvm/trunk/include/llvm/Transforms/Scalar.h URL: http://llvm.org/viewvc/llvm-pr

[llvm-commits] [llvm] r40447 - /llvm/trunk/include/llvm/LinkAllPasses.h

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 17:00:03 2007 New Revision: 40447 URL: http://llvm.org/viewvc/llvm-project?rev=40447&view=rev Log: Forgot to commit this file. Modified: llvm/trunk/include/llvm/LinkAllPasses.h Modified: llvm/trunk/include/llvm/LinkAllPasses.h URL: http://llvm.org/viewvc/ll

[llvm-commits] [llvm] r40448 - /llvm/trunk/lib/Transforms/Scalar/FastDLE.cpp

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 17:05:54 2007 New Revision: 40448 URL: http://llvm.org/viewvc/llvm-project?rev=40448&view=rev Log: Don't delete volatile loads. Doing so is not safe. Modified: llvm/trunk/lib/Transforms/Scalar/FastDLE.cpp Modified: llvm/trunk/lib/Transforms/Scalar/FastDLE.c

[llvm-commits] [llvm] r40449 - in /llvm/trunk/test/Transforms/DeadLoadElimination: ./ dg.exp simple.ll volatile.ll

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 17:18:05 2007 New Revision: 40449 URL: http://llvm.org/viewvc/llvm-project?rev=40449&view=rev Log: Add testcases for FastDLE. Added: llvm/trunk/test/Transforms/DeadLoadElimination/ llvm/trunk/test/Transforms/DeadLoadElimination/dg.exp llvm/trunk/test/

[llvm-commits] [llvm] r40451 - /llvm/trunk/test/CFrontend/exact-div-expr.c

2007-07-23 Thread Chandler Carruth
Author: chandlerc Date: Mon Jul 23 17:42:15 2007 New Revision: 40451 URL: http://llvm.org/viewvc/llvm-project?rev=40451&view=rev Log: Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes. Modified: llvm/trunk/test/CFrontend/exact-div-expr.c Modified:

[llvm-commits] [llvm] r40453 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 18:09:55 2007 New Revision: 40453 URL: http://llvm.org/viewvc/llvm-project?rev=40453&view=rev Log: Add better verification of attributes on function types. It is not permitted to use sret or inreg on the function. It is equally illegal to use noreturn or nounwind on a

Re: [llvm-commits] [llvm] r40453 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-07-23 Thread Chris Lattner
> + if (Attrs->paramHasAttr(Idx, ParamAttr::NoReturn)) > +Assert1(0, "Attribute NoReturn should only be applied to > function", &F); Why not: Assert1(!Attrs->paramHasAttr(Idx, ParamAttr::NoReturn), "Attribute NoReturn should only be applied to function", &F); ? > +

Re: [llvm-commits] [llvm] r40453 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-07-23 Thread Reid Spencer
On Mon, 2007-07-23 at 16:29 -0700, Chris Lattner wrote: > > + if (Attrs->paramHasAttr(Idx, ParamAttr::NoReturn)) > > +Assert1(0, "Attribute NoReturn should only be applied to > > function", &F); > > Why not: > Assert1(!Attrs->paramHasAttr(Idx, ParamAttr::NoReturn), > "Attri

[llvm-commits] [llvm] r40455 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-07-23 Thread Reid Spencer
Author: reid Date: Mon Jul 23 18:46:43 2007 New Revision: 40455 URL: http://llvm.org/viewvc/llvm-project?rev=40455&view=rev Log: 1. Make sure we print the Function Value for parameter attribute errors 2. Fold an if statement into the Assert1 macro call. Modified: llvm/trunk/lib/VMCore/Verifie

[llvm-commits] [llvm] r40456 - in /llvm/trunk/lib/Transforms/Scalar: FastDLE.cpp RedundantLoadElimination.cpp

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 19:08:38 2007 New Revision: 40456 URL: http://llvm.org/viewvc/llvm-project?rev=40456&view=rev Log: Rename FastDLE as RedundantLoadElimination. Added: llvm/trunk/lib/Transforms/Scalar/RedundantLoadElimination.cpp - copied unchanged from r40448, llvm/tru

[llvm-commits] [llvm] r40457 - in /llvm/trunk: include/llvm/LinkAllPasses.h include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/RedundantLoadElimination.cpp test/Transforms/DeadLoadElimination/ tes

2007-07-23 Thread Owen Anderson
Author: resistor Date: Mon Jul 23 19:17:04 2007 New Revision: 40457 URL: http://llvm.org/viewvc/llvm-project?rev=40457&view=rev Log: Rename a lot of things to change FastDLE to RedundantLoadElimination. Added: llvm/trunk/test/Transforms/RedundantLoadElimination/ - copied from r40449, ll

[llvm-commits] [llvm] r40458 - in /llvm/trunk: lib/Analysis/PostDominators.cpp test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll

2007-07-23 Thread Devang Patel
Author: dpatel Date: Mon Jul 23 20:02:25 2007 New Revision: 40458 URL: http://llvm.org/viewvc/llvm-project?rev=40458&view=rev Log: Unreachable block is not a root node in post dominator tree. Added: llvm/trunk/test/Transforms/ADCE/2007-07-23-InfiniteLoop.ll Modified: llvm/trunk/lib/Analys