[llvm-commits] [llvm] r41953 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h test/CodeGen/X86/byval.ll

2007-09-14 Thread Rafael Espindola
Author: rafael Date: Fri Sep 14 10:48:13 2007 New Revision: 41953 URL: http://llvm.org/viewvc/llvm-project?rev=41953view=rev Log: Add support for functions with byval arguments on x86 Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp llvm/trunk/lib/Target/X86/X86ISelLowering.h

Re: [llvm-commits] [llvm] r41775 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrSSE.td lib/Target/X86/X86InstrX86-64.td test/CodeGen/X86/zero-remat.ll

2007-09-14 Thread Evan Cheng
On Sep 10, 2007, at 1:48 PM, Dan Gohman wrote: Hi Dan, This is not safe because xor will clobber flags. It's a miscompilation if the user of the rematerialized value is a conditional move (e.g. cmovne). Thanks for spotting that! The current fix is to X86RegisterInfo::reMaterialize()

[llvm-commits] CVS: llvm-www/pubs/2007-SOSP-SVA.pdf

2007-09-14 Thread John Criswell
Changes in directory llvm-www/pubs: 2007-SOSP-SVA.pdf added (r1.1) --- Log message: SOSP 2007 paper. --- Diffs of the changes: (+0 -0) 2007-SOSP-SVA.pdf |0 1 files changed Index: llvm-www/pubs/2007-SOSP-SVA.pdf ___ llvm-commits

[llvm-commits] [llvm-gcc-4.0] r41955 - in /llvm-gcc-4.0/trunk/gcc: llvm-convert.cpp llvm-types.cpp

2007-09-14 Thread Dale Johannesen
Author: johannes Date: Fri Sep 14 13:51:50 2007 New Revision: 41955 URL: http://llvm.org/viewvc/llvm-project?rev=41955view=rev Log: Handle x86 long double in conversions. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp llvm-gcc-4.0/trunk/gcc/llvm-types.cpp Modified:

[llvm-commits] [llvm] r41775 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrSSE.td lib/Target/X86/X86InstrX86-64.td test/CodeGen/X86/zero-remat.ll

2007-09-14 Thread Dan Gohman
Are you saying such a fix exists already, or that this is how a fix should work? If the latter, I'd prefer to just revert the change to the instructions that use xor so that they are not marked rematerializable for now (though the ones that use pxor/xorps/xorpd are ok). s/current/correct

[llvm-commits] [llvm] r41956 - in /llvm/trunk: include/llvm/CodeGen/MachineInstr.h lib/CodeGen/MachineInstr.cpp lib/Support/APFloat.cpp lib/System/Unix/Program.inc utils/TableGen/CodeGenRegisters.h

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 15:08:19 2007 New Revision: 41956 URL: http://llvm.org/viewvc/llvm-project?rev=41956view=rev Log: Remove spurious consts. This fixes warnings with compilers that are strict about such things. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h

[llvm-commits] [llvm] r41957 - /llvm/trunk/lib/Analysis/ScalarEvolutionExpander.cpp

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 15:11:40 2007 New Revision: 41957 URL: http://llvm.org/viewvc/llvm-project?rev=41957view=rev Log: Change tmp. to tmp for temporaries created by ScalarEvolutionExpander for consistency with many other transforms. Modified:

[llvm-commits] [llvm] r41958 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/Target/ lib/Target/ARM/ lib/Target/PowerPC/ lib/Target/X86/

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 15:33:02 2007 New Revision: 41958 URL: http://llvm.org/viewvc/llvm-project?rev=41958view=rev Log: Remove isReg, isImm, and isMBB, and change all their users to use isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. Modified:

[llvm-commits] [llvm] r41960 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 15:48:42 2007 New Revision: 41960 URL: http://llvm.org/viewvc/llvm-project?rev=41960view=rev Log: And an FoldingSetImpl::NodeID::AddInteger overload for int64_t, to avoid ambiguity. Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h

[llvm-commits] [llvm] r41959 - /llvm/trunk/test/CodeGen/PowerPC/fabs.ll

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 15:37:18 2007 New Revision: 41959 URL: http://llvm.org/viewvc/llvm-project?rev=41959view=rev Log: Add explicit triples to avoid default behavior that varies by host. Modified: llvm/trunk/test/CodeGen/PowerPC/fabs.ll Modified:

[llvm-commits] [llvm] r41962 - in /llvm/trunk/lib/Target/X86: X86InstrFPStack.td X86InstrInfo.cpp X86InstrInfo.td X86InstrSSE.td X86InstrX86-64.td

2007-09-14 Thread Evan Cheng
Author: evancheng Date: Fri Sep 14 16:48:26 2007 New Revision: 41962 URL: http://llvm.org/viewvc/llvm-project?rev=41962view=rev Log: Add implicit def of EFLAGS on those instructions that may modify flags. Modified: llvm/trunk/lib/Target/X86/X86InstrFPStack.td

[llvm-commits] [llvm-gcc-4.2] r41963 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-types.cpp

2007-09-14 Thread Dale Johannesen
Author: johannes Date: Fri Sep 14 16:53:34 2007 New Revision: 41963 URL: http://llvm.org/viewvc/llvm-project?rev=41963view=rev Log: Support x86 long double in conversions. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified:

[llvm-commits] remove libstdc++ from llvm-gcc configure targets

2007-09-14 Thread Eric Christopher
As it says. Tested on x86-darwin. -eric 2007-09-14 Eric Christopher [EMAIL PROTECTED] * configure.in (powerpc*-*-darwin*): Add target-libstdc++-v3 to noconfidirs. (*-*-darwin*): Ditto. * configure: Regenerate. Index: configure.in

[llvm-commits] [llvm-gcc-4.0] r41965 - /llvm-gcc-4.0/trunk/configure.in

2007-09-14 Thread Chris Lattner
Author: lattner Date: Fri Sep 14 17:25:06 2007 New Revision: 41965 URL: http://llvm.org/viewvc/llvm-project?rev=41965view=rev Log: When building on darwin, automatically disable building libstdc++. Patch by Eric Christopher! Modified: llvm-gcc-4.0/trunk/configure.in Modified:

[llvm-commits] [llvm-gcc-4.0] r41966 - /llvm-gcc-4.0/trunk/configure

2007-09-14 Thread Chris Lattner
Author: lattner Date: Fri Sep 14 17:25:19 2007 New Revision: 41966 URL: http://llvm.org/viewvc/llvm-project?rev=41966view=rev Log: regenerate. Modified: llvm-gcc-4.0/trunk/configure Modified: llvm-gcc-4.0/trunk/configure URL:

[llvm-commits] [llvm] r41967 - in /llvm/trunk: include/llvm/ADT/APInt.h include/llvm/ADT/FoldingSet.h include/llvm/Constants.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/Selecti

2007-09-14 Thread Dale Johannesen
Author: johannes Date: Fri Sep 14 17:26:36 2007 New Revision: 41967 URL: http://llvm.org/viewvc/llvm-project?rev=41967view=rev Log: Remove the assumption that FP's are either float or double from some of the many places in the optimizers it appears, and do something reasonable with x86 long

Re: [llvm-commits] remove libstdc++ from llvm-gcc configure targets

2007-09-14 Thread Chris Lattner
On Sep 14, 2007, at 3:16 PM, Eric Christopher wrote: As it says. Tested on x86-darwin. -eric 2007-09-14 Eric Christopher [EMAIL PROTECTED] * configure.in (powerpc*-*-darwin*): Add target-libstdc++-v3 to noconfidirs. (*-*-darwin*): Ditto. * configure: Regenerate.

Re: [llvm-commits] [llvm-gcc-4.0] r41966 - /llvm-gcc-4.0/trunk/configure

2007-09-14 Thread Chris Lattner
@@ -1269,10 +1269,6 @@ arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* ) noconfigdirs=$noconfigdirs target-libffi target-qthreads ;; - arm*-*-linux-gnueabi) -noconfigdirs=$noconfigdirs target-libffi target-qthreads -noconfigdirs=$noconfigdirs

[llvm-commits] [llvm] r41968 - /llvm/trunk/lib/Transforms/Scalar/RedundantLoadElimination.cpp

2007-09-14 Thread Owen Anderson
Author: resistor Date: Fri Sep 14 17:33:52 2007 New Revision: 41968 URL: http://llvm.org/viewvc/llvm-project?rev=41968view=rev Log: Remove RLE. It is subsumed by GVN. Removed: llvm/trunk/lib/Transforms/Scalar/RedundantLoadElimination.cpp Removed:

[llvm-commits] [llvm-gcc-4.2] r41969 - in /llvm-gcc-4.2/trunk: configure configure.in

2007-09-14 Thread Anton Korobeynikov
Author: asl Date: Fri Sep 14 17:35:36 2007 New Revision: 41969 URL: http://llvm.org/viewvc/llvm-project?rev=41969view=rev Log: Forward of r41965: When building on darwin, automatically disable building libstdc++. Patch by Eric Christopher! Modified: llvm-gcc-4.2/trunk/configure

[llvm-commits] [llvm] r41971 - in /llvm/trunk/include/llvm: LinkAllPasses.h Transforms/Scalar.h

2007-09-14 Thread Owen Anderson
Author: resistor Date: Fri Sep 14 17:54:46 2007 New Revision: 41971 URL: http://llvm.org/viewvc/llvm-project?rev=41971view=rev Log: Remove RLE from the headers, since the pass itself is gone now. Modified: llvm/trunk/include/llvm/LinkAllPasses.h

[llvm-commits] [llvm] r41972 - /llvm/trunk/lib/Support/FoldingSet.cpp

2007-09-14 Thread Chris Lattner
Author: lattner Date: Fri Sep 14 17:57:00 2007 New Revision: 41972 URL: http://llvm.org/viewvc/llvm-project?rev=41972view=rev Log: fix a gcc warning: comparison between signed and unsigned integer expressions Modified: llvm/trunk/lib/Support/FoldingSet.cpp Modified:

[llvm-commits] [llvm] r41975 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.cpp X86InstrX86-64.td

2007-09-14 Thread Dan Gohman
Author: djg Date: Fri Sep 14 18:17:45 2007 New Revision: 41975 URL: http://llvm.org/viewvc/llvm-project?rev=41975view=rev Log: Add patterns for SHLD64* and SHRD64*. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp llvm/trunk/lib/Target/X86/X86InstrX86-64.td Modified:

[llvm-commits] [llvm-gcc-4.0] r41976 - /llvm-gcc-4.0/trunk/README.LLVM

2007-09-14 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 14 18:22:06 2007 New Revision: 41976 URL: http://llvm.org/viewvc/llvm-project?rev=41976view=rev Log: Suggest program prefix. Modified: llvm-gcc-4.0/trunk/README.LLVM Modified: llvm-gcc-4.0/trunk/README.LLVM URL:

[llvm-commits] [test-suite] r41977 - in /test-suite/trunk/SingleSource/UnitTests/Vector/Altivec: Makefile alti.isamax.c

2007-09-14 Thread Chris Lattner
Author: lattner Date: Fri Sep 14 23:43:12 2007 New Revision: 41977 URL: http://llvm.org/viewvc/llvm-project?rev=41977view=rev Log: some portability fixes Modified: test-suite/trunk/SingleSource/UnitTests/Vector/Altivec/Makefile

[llvm-commits] [llvm] r41978 - /llvm/branches/release_21/test/CodeGen/PowerPC/fabs.ll

2007-09-14 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 14 23:47:06 2007 New Revision: 41978 URL: http://llvm.org/viewvc/llvm-project?rev=41978view=rev Log: Merge from mainline to fix make check error on x86. Modified: llvm/branches/release_21/test/CodeGen/PowerPC/fabs.ll Modified:

[llvm-commits] [llvm] r41979 - /llvm/trunk/test/CFrontend/2007-09-14-NegatePointer.c

2007-09-14 Thread Chris Lattner
Author: lattner Date: Sat Sep 15 00:46:41 2007 New Revision: 41979 URL: http://llvm.org/viewvc/llvm-project?rev=41979view=rev Log: New testcase for PR1662. GCC trees are horrible :( Added: llvm/trunk/test/CFrontend/2007-09-14-NegatePointer.c Added:

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

2007-09-14 Thread Chris Lattner
Author: lattner Date: Sat Sep 15 00:47:04 2007 New Revision: 41980 URL: http://llvm.org/viewvc/llvm-project?rev=41980view=rev Log: Fix PR1662 by handling pointer NEGATE_EXPR. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp URL:

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

2007-09-14 Thread Chris Lattner
Author: lattner Date: Sat Sep 15 00:47:38 2007 New Revision: 41981 URL: http://llvm.org/viewvc/llvm-project?rev=41981view=rev Log: Fix PR1662 by handling pointer negate_expr. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: