Re: [llvm-commits] [patch] add gcroot attribute, test

2007-09-21 Thread Eric Christopher
GCC carefully packs these bitfields so that there are exactly 32 of them. With this addition, you'll push over and require an extra word for every tree. Would it be possible to record the gcroot flag in the attributes list somehow? This tradeoff seems worthwhile, because almost no

[llvm-commits] [llvm] r42189 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2007-09-21 Thread Rafael Espindola
Author: rafael Date: Fri Sep 21 09:55:38 2007 New Revision: 42189 URL: http://llvm.org/viewvc/llvm-project?rev=42189view=rev Log: small cleanup: use LowerMemArgument in LowerFastCCArguments also Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified:

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

2007-09-21 Thread Duncan Sands
Author: baldrick Date: Fri Sep 21 09:30:46 2007 New Revision: 42188 URL: http://llvm.org/viewvc/llvm-project?rev=42188view=rev Log: If TYPE_SIZE is null (in which case we almost certainly never get here), then bail out conservatively rather than optimistically. Likewise if TYPE_SIZE is negative.

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

2007-09-21 Thread Duncan Sands
Author: baldrick Date: Fri Sep 21 09:30:11 2007 New Revision: 42187 URL: http://llvm.org/viewvc/llvm-project?rev=42187view=rev Log: If TYPE_SIZE is null (in which case we almost certainly never get here), then bail out conservatively rather than optimistically. Likewise if TYPE_SIZE is negative.

Re: [llvm-commits] [patch] add gcroot attribute, test

2007-09-21 Thread Gordon Henriksen
Hi Eric, On Sep 21, 2007, at 04:49, Eric Christopher wrote: Here are a pair of patches to add an attribute to automatically gcroot things based on type. It currently works for pointers to structures only because a) that's all I need, and b) I think that's all that makes sense really. I

[llvm-commits] [llvm] r42190 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2007-09-21 Thread Dan Gohman
Author: djg Date: Fri Sep 21 10:24:00 2007 New Revision: 42190 URL: http://llvm.org/viewvc/llvm-project?rev=42190view=rev Log: There is no {rsqrt,rcp}{p,s}d. Modified: llvm/trunk/include/llvm/IntrinsicsX86.td Modified: llvm/trunk/include/llvm/IntrinsicsX86.td URL:

[llvm-commits] [llvm] r42192 - in /llvm/trunk: lib/Target/TargetData.cpp lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/byval2.ll

2007-09-21 Thread Rafael Espindola
Author: rafael Date: Fri Sep 21 10:50:22 2007 New Revision: 42192 URL: http://llvm.org/viewvc/llvm-project?rev=42192view=rev Log: Don't add a default STACK_ALIGN (use the generic ABI alignment) Implement calls to functions with byval arguments on X86 Modified:

[llvm-commits] [llvm] r42186 - /llvm/trunk/docs/ReleaseNotes.html

2007-09-21 Thread Gabor Greif
My feedback: handling of 32-bit float values -??- handling of 80-bit float values typos: 3x coalles -- coales Many of the sentences do not seem to be finished, such as Owen DSE and MemDep analysis. sloppyness: remat - rematerialization Cheers, Gabor

Re: [llvm-commits] [patch] add gcroot attribute, test

2007-09-21 Thread Chris Lattner
Note that we're also zeroing out automatic variables as well so if we do a collection before they're initialized we don't end up following garbage. @@ -1581,6 +1605,17 @@ void TreeToLLVM::EmitAutomaticVariableDe // Handle annotate attributes if (DECL_ATTRIBUTES(decl))

[llvm-commits] [llvm] r42193 - /llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:06:39 2007 New Revision: 42193 URL: http://llvm.org/viewvc/llvm-project?rev=42193view=rev Log: initialize SetCCResultContents, fixing PR1693 Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Modified:

[llvm-commits] [llvm] r42194 - in /llvm/trunk/docs: GarbageCollection.html LangRef.html index.html

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:30:40 2007 New Revision: 42194 URL: http://llvm.org/viewvc/llvm-project?rev=42194view=rev Log: gcroot must take concrete types, not arbitrary types. clean up intrinsic descriptions in langref a bit. Modified: llvm/trunk/docs/GarbageCollection.html

[llvm-commits] [llvm] r42196 - /llvm/trunk/docs/ReleaseNotes.html

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:43:52 2007 New Revision: 42196 URL: http://llvm.org/viewvc/llvm-project?rev=42196view=rev Log: I cannot spell coalesce :) Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

Re: [llvm-commits] [llvm] r42186 - /llvm/trunk/docs/ReleaseNotes.html

2007-09-21 Thread Chris Lattner
On Sep 21, 2007, at 9:18 AM, Gabor Greif wrote: My feedback: handling of 32-bit float values -??- handling of 80-bit float values This is right. typos: 3x coalles -- coales Doh, fixed. Many of the sentences do not seem to be finished, such as Owen DSE and MemDep analysis. sloppyness:

Re: [llvm-commits] [llvm] r42190 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2007-09-21 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=42190view=rev Log: There is no {rsqrt,rcp}{p,s}d. Huh, crazy. nice catch :) -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

[llvm-commits] [llvm-gcc-4.0] r42197 - in /llvm-gcc-4.0/trunk/gcc: c-common.c llvm-convert.cpp llvm-internal.h

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:48:28 2007 New Revision: 42197 URL: http://llvm.org/viewvc/llvm-project?rev=42197view=rev Log: Add support for a new gcroot attribute. Patch contributed by Eric Christopher. See test/CFrontend/2007-09-20-GcrootAttribute.c for an example of use. Modified:

[llvm-commits] [llvm] r42198 - /llvm/trunk/test/CFrontend/2007-09-20-GcrootAttribute.c

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:48:39 2007 New Revision: 42198 URL: http://llvm.org/viewvc/llvm-project?rev=42198view=rev Log: gcroot testcase, patch by Eric Christopher. Added: llvm/trunk/test/CFrontend/2007-09-20-GcrootAttribute.c Added:

[llvm-commits] [llvm-gcc-4.2] r42199 - in /llvm-gcc-4.2/trunk/gcc: c-common.c llvm-convert.cpp llvm-internal.h

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 12:49:57 2007 New Revision: 42199 URL: http://llvm.org/viewvc/llvm-project?rev=42199view=rev Log: Add supprot for a new gcroot attribute, patch by Eric Christopher Modified: llvm-gcc-4.2/trunk/gcc/c-common.c llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

[llvm-commits] [llvm] r42200 - /llvm/branches/release_21/lib/Transforms/Scalar/LoopUnswitch.cpp

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 12:50:28 2007 New Revision: 42200 URL: http://llvm.org/viewvc/llvm-project?rev=42200view=rev Log: Merge into release for PR1690. Modified: llvm/branches/release_21/lib/Transforms/Scalar/LoopUnswitch.cpp Modified:

Re: [llvm-commits] [patch] add gcroot attribute, test

2007-09-21 Thread Chris Lattner
On Sep 21, 2007, at 1:49 AM, Eric Christopher wrote: GCC carefully packs these bitfields so that there are exactly 32 of them. With this addition, you'll push over and require an extra word for every tree. Would it be possible to record the gcroot flag in the attributes list

[llvm-commits] [llvm] r42201 - /llvm/branches/release_21/lib/CodeGen/SelectionDAG/TargetLowering.cpp

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 12:52:24 2007 New Revision: 42201 URL: http://llvm.org/viewvc/llvm-project?rev=42201view=rev Log: Merge from mainline for PR1693. Modified: llvm/branches/release_21/lib/CodeGen/SelectionDAG/TargetLowering.cpp Modified:

[llvm-commits] [llvm] r42195 - /llvm/branches/release_21/test/Transforms/LoopIndexSplit/

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 12:41:37 2007 New Revision: 42195 URL: http://llvm.org/viewvc/llvm-project?rev=42195view=rev Log: Remove loop index split test cases for release. Removed: llvm/branches/release_21/test/Transforms/LoopIndexSplit/

[llvm-commits] [llvm] r42202 - /llvm/trunk/docs/ReleaseNotes.html

2007-09-21 Thread Devang Patel
Author: dpatel Date: Fri Sep 21 13:02:24 2007 New Revision: 42202 URL: http://llvm.org/viewvc/llvm-project?rev=42202view=rev Log: Add missing entry. Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

[llvm-commits] [llvm] r42204 - /llvm/trunk/lib/CodeGen/DwarfWriter.cpp

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 13:25:53 2007 New Revision: 42204 URL: http://llvm.org/viewvc/llvm-project?rev=42204view=rev Log: don't read Block after it is freed. This fixes PR1684 Modified: llvm/trunk/lib/CodeGen/DwarfWriter.cpp Modified: llvm/trunk/lib/CodeGen/DwarfWriter.cpp URL:

[llvm-commits] [llvm] r42205 - /llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 13:30:39 2007 New Revision: 42205 URL: http://llvm.org/viewvc/llvm-project?rev=42205view=rev Log: #ifdef out unsafe tracing code, which fixes PR1689 Modified: llvm/trunk/lib/ExecutionEngine/Interpreter/Execution.cpp Modified:

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

2007-09-21 Thread Dale Johannesen
Author: johannes Date: Fri Sep 21 15:33:42 2007 New Revision: 42206 URL: http://llvm.org/viewvc/llvm-project?rev=42206view=rev Log: Make x87 long double work on big endian host cross build. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

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

2007-09-21 Thread Dale Johannesen
Author: johannes Date: Fri Sep 21 15:35:14 2007 New Revision: 42207 URL: http://llvm.org/viewvc/llvm-project?rev=42207view=rev Log: Make x87 long double work on big endian host cross build. Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

[llvm-commits] [llvm] r42208 - /llvm/trunk/include/llvm/ADT/DenseMap.h

2007-09-21 Thread Owen Anderson
Author: resistor Date: Fri Sep 21 15:55:54 2007 New Revision: 42208 URL: http://llvm.org/viewvc/llvm-project?rev=42208view=rev Log: Fix CopyFrom for non-POD data types. Modified: llvm/trunk/include/llvm/ADT/DenseMap.h Modified: llvm/trunk/include/llvm/ADT/DenseMap.h URL:

[llvm-commits] [llvm] r42210 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/ExecutionEngine/ExecutionEngine.cpp lib/S

2007-09-21 Thread Dale Johannesen
Author: johannes Date: Fri Sep 21 17:09:37 2007 New Revision: 42210 URL: http://llvm.org/viewvc/llvm-project?rev=42210view=rev Log: Change APFloat::convertFromInteger to take the incoming bit width instead of number of words allocated, which makes it actually work for int-APF conversions. Adjust

[llvm-commits] [llvm] r42211 - in /llvm/trunk: docs/LangRef.html include/llvm/Intrinsics.td

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 17:59:12 2007 New Revision: 42211 URL: http://llvm.org/viewvc/llvm-project?rev=42211view=rev Log: Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions. Modified:

[llvm-commits] [llvm-gcc-4.0] r42212 - in /llvm-gcc-4.0/trunk/gcc: builtin-types.def builtins.def llvm-convert.cpp

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 18:01:00 2007 New Revision: 42212 URL: http://llvm.org/viewvc/llvm-project?rev=42212view=rev Log: Adding support for __builtin_annotation with an intrinsic called llvm.annotation. This is similar to llvm.var.annotation but is applied to expressions. Modified:

[llvm-commits] [llvm-gcc-4.2] r42213 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

2007-09-21 Thread Devang Patel
Author: dpatel Date: Fri Sep 21 18:15:24 2007 New Revision: 42213 URL: http://llvm.org/viewvc/llvm-project?rev=42213view=rev Log: Now, DECL_SECTION_NAME is not appropriate for const_decl. This fixes PR1653 crash. Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Modified:

[llvm-commits] [llvm] r42214 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 18:56:27 2007 New Revision: 42214 URL: http://llvm.org/viewvc/llvm-project?rev=42214view=rev Log: Update annotation intrinsic with more details. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

[llvm-commits] [llvm] r42215 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 18:57:04 2007 New Revision: 42215 URL: http://llvm.org/viewvc/llvm-project?rev=42215view=rev Log: Fix silly typo. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

[llvm-commits] [llvm] r42216 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 18:57:59 2007 New Revision: 42216 URL: http://llvm.org/viewvc/llvm-project?rev=42216view=rev Log: One last fix to get name correct. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

[llvm-commits] [llvm] r42217 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 19:01:26 2007 New Revision: 42217 URL: http://llvm.org/viewvc/llvm-project?rev=42217view=rev Log: Fix typo. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

[llvm-commits] [llvm] r42219 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Tanya Lattner
Author: tbrethou Date: Fri Sep 21 19:03:01 2007 New Revision: 42219 URL: http://llvm.org/viewvc/llvm-project?rev=42219view=rev Log: Correct names. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

Re: [llvm-commits] [llvm] r42214 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Bill Wendling
On 9/21/07, Tanya Lattner [EMAIL PROTECTED] wrote: declare i32 @llvm.annotation(i32 lt;valgt;, i8* lt;strgt;, i8* lt;strgt;, i32 lt;intgt; ) + declare i8 llvm.annotation(i8 lt;valgt;, i8* lt;strgt;, i8* lt;strgt;, i32 lt;intgt; ) + declare i16 llvm.annotation(i16 lt;valgt;, i8*

Re: [llvm-commits] [llvm] r42215 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Bill Wendling
doh! Sorry... -bw On 9/21/07, Tanya Lattner [EMAIL PROTECTED] wrote: Author: tbrethou Date: Fri Sep 21 18:57:04 2007 New Revision: 42215 URL: http://llvm.org/viewvc/llvm-project?rev=42215view=rev Log: Fix silly typo. ___ llvm-commits mailing

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

2007-09-21 Thread Neil Booth
Author: neil Date: Fri Sep 21 21:56:19 2007 New Revision: 42220 URL: http://llvm.org/viewvc/llvm-project?rev=42220view=rev Log: Handle storage complications of float-float conversions. Modified: llvm/trunk/lib/Support/APFloat.cpp Modified: llvm/trunk/lib/Support/APFloat.cpp URL:

[llvm-commits] [llvm] r42221 - /llvm/trunk/docs/LangRef.html

2007-09-21 Thread Chris Lattner
Author: lattner Date: Fri Sep 21 22:17:52 2007 New Revision: 42221 URL: http://llvm.org/viewvc/llvm-project?rev=42221view=rev Log: fix bugs in the manual Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

Re: [llvm-commits] [llvm] r42220 - /llvm/trunk/lib/Support/APFloat.cpp

2007-09-21 Thread Chris Lattner
On Sep 21, 2007, at 7:56 PM, Neil Booth wrote: + } else if (newPartCount oldPartCount) { +/* Capture any lost fraction through truncation of parts so we get + correct rounding whilst normalizing. */ +lostFraction = lostFractionThroughTruncation +