[llvm-commits] [llvm] r42081 - in /llvm/branches/release_21: include/llvm/Instructions.h lib/Target/CBackend/CBackend.cpp

2007-09-18 Thread Tanya Lattner
Author: tbrethou Date: Tue Sep 18 01:05:51 2007 New Revision: 42081 URL: http://llvm.org/viewvc/llvm-project?rev=42081view=rev Log: Merge from mainline: Fix PR1666, SPASS with the CBE and 254.gap with the CBE. Modified: llvm/branches/release_21/include/llvm/Instructions.h

[llvm-commits] [llvm] r42082 - /llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp

2007-09-18 Thread Tanya Lattner
Author: tbrethou Date: Tue Sep 18 01:08:56 2007 New Revision: 42082 URL: http://llvm.org/viewvc/llvm-project?rev=42082view=rev Log: Merge from mainline. Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp

[llvm-commits] [llvm] r42083 - /llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp

2007-09-18 Thread Tanya Lattner
Author: tbrethou Date: Tue Sep 18 01:11:27 2007 New Revision: 42083 URL: http://llvm.org/viewvc/llvm-project?rev=42083view=rev Log: Merge from mainline. Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp Modified: llvm/branches/release_21/lib/Target/X86/X86AsmPrinter.cpp

[llvm-commits] [llvm-gcc-4.0] r42084 - /llvm-gcc-4.0/branches/release_21/gcc/config/i386/llvm-i386.cpp

2007-09-18 Thread Tanya Lattner
Author: tbrethou Date: Tue Sep 18 01:15:05 2007 New Revision: 42084 URL: http://llvm.org/viewvc/llvm-project?rev=42084view=rev Log: Merge from mainline. Modified: llvm-gcc-4.0/branches/release_21/gcc/config/i386/llvm-i386.cpp Modified:

Re: [llvm-commits] [llvm] r42051 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/CodeGen/Generic/GC/lower_gcroot.ll test/Verifier/gcread-ptrptr.ll test/Verifier/gcroot-alloca.ll test/Verifier/gcroot-me

2007-09-18 Thread Duncan Sands
Hi Gordon, +static bool HasPtrPtrType(Value *Val) { I think hasPtrPtrType would be more in keeping with the LLVM naming rules (whatever they are). +static Value *StripBitCasts(Value *Val) { how about using IntrinsicInst::StripPointerCasts instead? +llvm.gcroot parameter #1 must

Re: [llvm-commits] [llvm] r42076 - in /llvm/trunk: Xcode/ Xcode/LLVM.xcodeproj/ examples/BrainF/ include/llvm/Module.h lib/Target/Mips/ test/Transforms/GVN/

2007-09-18 Thread Duncan Sands
Hi Gordon, I don't know what xcode is, but I was surprised to see these: +*.perspective +*.pbxuser are they right? Thanks, Duncan. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Re: [llvm-commits] [llvm] r42076 - in /llvm/trunk: Xcode/ Xcode/LLVM.xcodeproj/ examples/BrainF/ include/llvm/Module.h lib/Target/Mips/ test/Transforms/GVN/

2007-09-18 Thread Gordon Henriksen
On Sep 18, 2007, at 04:52, Duncan Sands wrote: Hi Gordon, I don't know what xcode is, but I was surprised to see these: +*.perspective +*.pbxuser are they right? These are user-specific files created by Apple's IDE (http:// www.apple.com/macosx/features/xcode/). They contain critical

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

2007-09-18 Thread Bill Wendling
Author: void Date: Tue Sep 18 04:10:16 2007 New Revision: 42086 URL: http://llvm.org/viewvc/llvm-project?rev=42086view=rev Log: Don't pass back a reference to a temporary. Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h llvm/trunk/lib/CodeGen/AsmPrinter.cpp Modified:

Re: [llvm-commits] [llvm] r42051 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/CodeGen/Generic/GC/lower_gcroot.ll test/Verifier/gcread-ptrptr.ll test/Verifier/gcroot-alloca.ll test/Verifier/gcroot-me

2007-09-18 Thread Gordon Henriksen
On Sep 18, 2007, at 04:49, Duncan Sands wrote: Hi Gordon, +static bool HasPtrPtrType(Value *Val) { I think hasPtrPtrType would be more in keeping with the LLVM naming rules (whatever they are). Do you think so? The convention I had gleaned is that local, private, or static (in the C

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

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 05:14:30 2007 New Revision: 42087 URL: http://llvm.org/viewvc/llvm-project?rev=42087view=rev Log: Incorporating review feedback for GC verifier patch. Modified: llvm/trunk/lib/VMCore/Verifier.cpp Modified: llvm/trunk/lib/VMCore/Verifier.cpp URL:

Re: [llvm-commits] [llvm] r42051 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/CodeGen/Generic/GC/lower_gcroot.ll test/Verifier/gcread-ptrptr.ll test/Verifier/gcroot-alloca.ll test/Verifier/gcroot-me

2007-09-18 Thread Duncan Sands
Hi, +static Value *StripBitCasts(Value *Val) { how about using IntrinsicInst::StripPointerCasts instead? Done. Note that, although there's tantalizing GEP-0 handling in StripPointerCasts, it's still not really possible to use gcroot without bitcasts: the reason for the GEP

[llvm-commits] [llvm] r42090 - in /llvm/trunk: Makefile.config.in bindings/ bindings/ocaml/ bindings/ocaml/Makefile.ocaml test/Makefile

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 07:26:17 2007 New Revision: 42090 URL: http://llvm.org/viewvc/llvm-project?rev=42090view=rev Log: (empty) Added: llvm/trunk/bindings/ llvm/trunk/bindings/ocaml/ llvm/trunk/bindings/ocaml/Makefile.ocaml Modified: llvm/trunk/Makefile.config.in

[llvm-commits] [llvm] r42091 - /llvm/trunk/autoconf/configure.ac

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 07:26:59 2007 New Revision: 42091 URL: http://llvm.org/viewvc/llvm-project?rev=42091view=rev Log: (empty) Modified: llvm/trunk/autoconf/configure.ac Modified: llvm/trunk/autoconf/configure.ac URL:

[llvm-commits] [llvm] r42092 - /llvm/trunk/configure

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 07:27:13 2007 New Revision: 42092 URL: http://llvm.org/viewvc/llvm-project?rev=42092view=rev Log: Regenerate. Modified: llvm/trunk/configure Modified: llvm/trunk/configure URL:

[llvm-commits] [llvm] r42093 - in /llvm/trunk: ./ bindings/ bindings/ocaml/ bindings/ocaml/bitwriter/ bindings/ocaml/llvm/ test/Bindings/ test/Bindings/Ocaml/ test/lib/

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 07:49:39 2007 New Revision: 42093 URL: http://llvm.org/viewvc/llvm-project?rev=42093view=rev Log: Adding ocaml language bindings for the vmcore and bitwriter libraries. These are built atop the C language bindings, and user programs can link with them as such:

Re: [llvm-commits] [llvm] r42075 - in /llvm/trunk: lib/Transforms/Scalar/LICM.cpp test/Transforms/LICM/2007-09-17-PrompteValue.ll

2007-09-18 Thread Dan Gohman
+ // If GEP base is NULL then the calculated address used by Store or + // Load instruction is invalid. Do not promote this value because + // it may expose load and store instruction that are covered by + // condition which may not yet folded. + if

[llvm-commits] [llvm] r42094 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

2007-09-18 Thread Dan Gohman
Author: djg Date: Tue Sep 18 09:59:14 2007 New Revision: 42094 URL: http://llvm.org/viewvc/llvm-project?rev=42094view=rev Log: Move the entries for 64-bit CMP, IMUL, and a few others into the correct tables so that they are eligible for reload/remat folding. And add entries for JMP and CALL.

Re: [llvm-commits] [llvm] r42051 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/CodeGen/Generic/GC/lower_gcroot.ll test/Verifier/gcread-ptrptr.ll test/Verifier/gcroot-alloca.ll test/Verifier/gcroot-me

2007-09-18 Thread Gordon Henriksen
On Sep 18, 2007, at 07:44, Duncan Sands wrote: Hi, +static Value *StripBitCasts(Value *Val) { how about using IntrinsicInst::StripPointerCasts instead? Done. Note that, although there's tantalizing GEP-0 handling in StripPointerCasts, it's still not really possible to use gcroot without

[llvm-commits] [llvm-gcc-4.0] r42097 - /llvm-gcc-4.0/trunk/gcc/config/i386/i386.h

2007-09-18 Thread Dale Johannesen
Author: johannes Date: Tue Sep 18 12:50:34 2007 New Revision: 42097 URL: http://llvm.org/viewvc/llvm-project?rev=42097view=rev Log: Make long doubles 80 bits on x86. This changes the ABI. Modified: llvm-gcc-4.0/trunk/gcc/config/i386/i386.h Modified:

[llvm-commits] [llvm-gcc-4.2] r42096 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2007-09-18 Thread Dale Johannesen
Author: johannes Date: Tue Sep 18 12:34:30 2007 New Revision: 42096 URL: http://llvm.org/viewvc/llvm-project?rev=42096view=rev Log: Enhance assertion to permit x86 long double. Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp URL:

[llvm-commits] [llvm-gcc-4.0] r42095 - /llvm-gcc-4.0/trunk/gcc/llvm-types.cpp

2007-09-18 Thread Dale Johannesen
Author: johannes Date: Tue Sep 18 12:33:56 2007 New Revision: 42095 URL: http://llvm.org/viewvc/llvm-project?rev=42095view=rev Log: Enhance assertion to allow x86 long double. Modified: llvm-gcc-4.0/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-types.cpp URL:

[llvm-commits] [llvm-gcc-4.2] r42100 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.h

2007-09-18 Thread Dale Johannesen
Author: johannes Date: Tue Sep 18 13:07:38 2007 New Revision: 42100 URL: http://llvm.org/viewvc/llvm-project?rev=42100view=rev Log: Make long double 80 bits on x86. This changes the ABI. Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.h Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.h

[llvm-commits] [llvm] r42101 - in /llvm/trunk: bindings/ocaml/llvm/llvm.ml bindings/ocaml/llvm/llvm.mli bindings/ocaml/llvm/llvm_ocaml.c include/llvm-c/Core.h lib/VMCore/Core.cpp test/Bindings/Ocaml/v

2007-09-18 Thread Gordon Henriksen
Author: gordon Date: Tue Sep 18 13:07:51 2007 New Revision: 42101 URL: http://llvm.org/viewvc/llvm-project?rev=42101view=rev Log: Tests of the ocaml (and thus C) bindings for constants. Modified: llvm/trunk/bindings/ocaml/llvm/llvm.ml llvm/trunk/bindings/ocaml/llvm/llvm.mli

[llvm-commits] [llvm] r42103 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-09-18 Thread Dale Johannesen
Author: johannes Date: Tue Sep 18 13:36:59 2007 New Revision: 42103 URL: http://llvm.org/viewvc/llvm-project?rev=42103view=rev Log: Prevent crash on long double. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp URL:

Re: [llvm-commits] [llvm] r42075 - in /llvm/trunk: lib/Transforms/Scalar/LICM.cpp test/Transforms/LICM/2007-09-17-PrompteValue.ll

2007-09-18 Thread Dan Gohman
We intend to split LICM into three passes - sink, hoist and promote- values. Irrespective of sinking and hoisting, promote-values should not promote values that are unsafe. Avoiding hoisting GEP here will solve this test case, but promote-values bug will be exposed when it is supplied

Re: [llvm-commits] [llvm-gcc-4.0] r42097 - /llvm-gcc-4.0/trunk/gcc/config/i386/i386.h

2007-09-18 Thread Chris Lattner
On Sep 18, 2007, at 10:50 AM, Dale Johannesen wrote: URL: http://llvm.org/viewvc/llvm-project?rev=42097view=rev Log: Make long doubles 80 bits on x86. This changes the ABI. Yay! -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu

[llvm-commits] [llvm] r42108 - in /llvm/trunk/test/Transforms/LICM: 2007-09-17-PromoteValue.ll 2007-09-17-PrompteValue.ll

2007-09-18 Thread Gabor Greif
Author: ggreif Date: Tue Sep 18 16:42:39 2007 New Revision: 42108 URL: http://llvm.org/viewvc/llvm-project?rev=42108view=rev Log: rename test, it is obviously misspelled Added: llvm/trunk/test/Transforms/LICM/2007-09-17-PromoteValue.ll - copied unchanged from r42107,

[llvm-commits] [llvm] r42111 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll

2007-09-18 Thread Evan Cheng
Author: evancheng Date: Tue Sep 18 16:54:37 2007 New Revision: 42111 URL: http://llvm.org/viewvc/llvm-project?rev=42111view=rev Log: Fix a bogus splat xform: shuffle undef, undef, x, undef, undef, undef, undef, undef, 2, 2, 2, 2 != undef, undef, x, undef Added:

Re: [llvm-commits] [llvm] r42075 - in /llvm/trunk: lib/Transforms/Scalar/LICM.cpp test/Transforms/LICM/2007-09-17-PrompteValue.ll

2007-09-18 Thread Devang Patel
On Sep 18, 2007, at 1:51 PM, Dan Gohman wrote: I don't quite follow. For example of what I'm saying, take this testcase, which is only slightly different than the earlier one: define i32 @foo(%struct.decision* %p) { entry: br label %blah.i blah.i:; preds =

Re: [llvm-commits] [llvm] r42075 - in /llvm/trunk: lib/Transforms/Scalar/LICM.cpp test/Transforms/LICM/2007-09-17-PrompteValue.ll

2007-09-18 Thread Dan Gohman
It is not safe, because cond_true.i is a dead basic-block. The question is -- Is it LICM's responsibility to evaluate conditions and identify dead code or let other passes handle this earlier?. For example here, instruction combiner will fold comparison and cfg simplifier will take

[llvm-commits] [llvm] r42112 - /llvm/trunk/test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll

2007-09-18 Thread Evan Cheng
Author: evancheng Date: Tue Sep 18 17:56:31 2007 New Revision: 42112 URL: http://llvm.org/viewvc/llvm-project?rev=42112view=rev Log: Clean up. Modified: llvm/trunk/test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll Modified: llvm/trunk/test/CodeGen/X86/2007-09-18-ShuffleXformBug.ll URL:

Re: [llvm-commits] [llvm] r42075 - in /llvm/trunk: lib/Transforms/Scalar/LICM.cpp test/Transforms/LICM/2007-09-17-PrompteValue.ll

2007-09-18 Thread Devang Patel
On Sep 18, 2007, at 3:38 PM, Dan Gohman wrote: Ok, so let's tweak the testcase again: define i32 @foo(%struct.decision* %p, %struct.decision* %q) { entry: br label %blah.i blah.i:; preds = %cond_true.i, %entry %tmp3.i = icmp eq %struct.decision* null, %q

[llvm-commits] [llvm] r42118 - /llvm/trunk/lib/Analysis/LoopPass.cpp

2007-09-18 Thread Devang Patel
Author: dpatel Date: Tue Sep 18 18:58:14 2007 New Revision: 42118 URL: http://llvm.org/viewvc/llvm-project?rev=42118view=rev Log: ooops... Modified: llvm/trunk/lib/Analysis/LoopPass.cpp Modified: llvm/trunk/lib/Analysis/LoopPass.cpp URL:

[llvm-commits] [llvm] r42121 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-09-18 Thread Devang Patel
Author: dpatel Date: Tue Sep 18 19:15:16 2007 New Revision: 42121 URL: http://llvm.org/viewvc/llvm-project?rev=42121view=rev Log: Filter loops where split condition's false branch is not empty. For example for (int i = 0; i N; ++i) { if (i == somevalue) dosomething(); else

[llvm-commits] [llvm] r42119 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-09-18 Thread Devang Patel
Author: dpatel Date: Tue Sep 18 19:08:13 2007 New Revision: 42119 URL: http://llvm.org/viewvc/llvm-project?rev=42119view=rev Log: Work is incomplete. Loop is not modified at all right now. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified:

[llvm-commits] [llvm] r42120 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-09-18 Thread Devang Patel
Author: dpatel Date: Tue Sep 18 19:11:01 2007 New Revision: 42120 URL: http://llvm.org/viewvc/llvm-project?rev=42120view=rev Log: Bail out early, before modifying anything. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified:

[llvm-commits] [llvm] r42122 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

2007-09-18 Thread Devang Patel
Author: dpatel Date: Tue Sep 18 19:28:47 2007 New Revision: 42122 URL: http://llvm.org/viewvc/llvm-project?rev=42122view=rev Log: Relax loop ExitCondition predicate restriction. Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Modified:

[llvm-commits] [llvm] r42123 - in /llvm/trunk: include/llvm/Target/MRegisterInfo.h lib/Target/Target.td utils/TableGen/CodeGenRegisters.h utils/TableGen/CodeGenTarget.cpp utils/TableGen/RegisterInfoEm

2007-09-18 Thread Evan Cheng
Author: evancheng Date: Tue Sep 18 20:35:01 2007 New Revision: 42123 URL: http://llvm.org/viewvc/llvm-project?rev=42123view=rev Log: Add CopyCost to TargetRegisterClass. This specifies the cost of copying a value between two registers in the specific class. Modified:

[llvm-commits] [llvm] r42124 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.td

2007-09-18 Thread Evan Cheng
Author: evancheng Date: Tue Sep 18 20:36:39 2007 New Revision: 42124 URL: http://llvm.org/viewvc/llvm-project?rev=42124view=rev Log: Set CCR (EFLAGS) copy cost to -1, i.e. extremely expensive to copy. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td Modified:

[llvm-commits] [llvm] r42125 - in /llvm/trunk: include/llvm/CodeGen/ScheduleDAG.h lib/CodeGen/SelectionDAG/ScheduleDAG.cpp lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp lib/CodeGen/SelectionDAG/Schedul

2007-09-18 Thread Evan Cheng
Author: evancheng Date: Tue Sep 18 20:38:40 2007 New Revision: 42125 URL: http://llvm.org/viewvc/llvm-project?rev=42125view=rev Log: Use struct SDep instead of std::pair for SUnit pred and succ lists. First step in tracking physical register output dependencies. Modified:

[llvm-commits] [llvm-gcc-4.0] r42127 - /llvm-gcc-4.0/branches/release_21/README.LLVM

2007-09-18 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 19 00:29:26 2007 New Revision: 42127 URL: http://llvm.org/viewvc/llvm-project?rev=42127view=rev Log: Merge from mainline (suggest program prefix) Modified: llvm-gcc-4.0/branches/release_21/README.LLVM Modified: llvm-gcc-4.0/branches/release_21/README.LLVM URL: