[llvm-commits] [129634] llvm-gcc: call terminate if an exception handling cleanup throws an exception

2007-07-17 Thread clattner
Revision: 129634 Author: clattner Date: 2007-07-17 08:37:30 -0700 (Tue, 17 Jul 2007) Log Message: --- llvm-gcc: call terminate if an exception handling cleanup throws an exception In gcc, if a language defines lang_protect_cleanup_actions then any exceptions thrown by an exception

[llvm-commits] [129630] cvs - svn

2007-07-16 Thread clattner
Revision: 129630 Author: clattner Date: 2007-07-16 22:44:05 -0700 (Mon, 16 Jul 2007) Log Message: --- cvs - svn Modified Paths: -- apple-local/branches/llvm/README.LLVM Modified: apple-local/branches/llvm/README.LLVM

[llvm-commits] [129557] implement test/CFrontend/exact-div-expr.c by compiling

2007-07-15 Thread clattner
Revision: 129557 Author: clattner Date: 2007-07-15 15:30:12 -0700 (Sun, 15 Jul 2007) Log Message: --- implement test/CFrontend/exact-div-expr.c by compiling a pointer difference into a shift, instead of a divide. This was actually a feature of llvm-gcc3 that was never reimplemented

[llvm-commits] [129555] Implement missing dwarf builtins, used by the libstdc++ unwinder.

2007-07-14 Thread clattner
Revision: 129555 Author: clattner Date: 2007-07-14 11:39:13 -0700 (Sat, 14 Jul 2007) Log Message: --- Implement missing dwarf builtins, used by the libstdc++ unwinder. This is more or less workable on x86-32/linux only Patch by Anton Korobeynikov Modified Paths

[llvm-commits] [129262] A function that only has cleanups (destructors) to run when an exception is raised

2007-07-11 Thread clattner
Revision: 129262 Author: clattner Date: 2007-07-11 10:27:26 -0700 (Wed, 11 Jul 2007) Log Message: --- A function that only has cleanups (destructors) to run when an exception is raised currently is not assigned a personality function because we don't bother creating a call

[llvm-commits] [129261] remove redundant -D option.

2007-07-10 Thread clattner
Revision: 129261 Author: clattner Date: 2007-07-10 10:46:46 -0700 (Tue, 10 Jul 2007) Log Message: --- remove redundant -D option. Modified Paths: -- apple-local/branches/llvm/gcc/Makefile.in Modified: apple-local/branches/llvm/gcc/Makefile.in

[llvm-commits] [129252] Enable llvm-gcc to build when LLVM is configured with --enable-expensive-checks .

2007-07-09 Thread clattner
Revision: 129252 Author: clattner Date: 2007-07-09 10:56:42 -0700 (Mon, 09 Jul 2007) Log Message: --- Enable llvm-gcc to build when LLVM is configured with --enable-expensive-checks. Patch by David Greene! Modified Paths: -- apple-local/branches/llvm/gcc

[llvm-commits] [129251] Duncan and Anton have found this to be safe, enable it now!

2007-07-08 Thread clattner
Revision: 129251 Author: clattner Date: 2007-07-08 19:28:29 -0700 (Sun, 08 Jul 2007) Log Message: --- Duncan and Anton have found this to be safe, enable it now! at some point, we should remove the #define and the #ifdef's entirely, woo! Modified Paths: -- apple

[llvm-commits] [129234] exception handling tweaks from Duncan:

2007-07-05 Thread clattner
Revision: 129234 Author: clattner Date: 2007-07-05 09:15:46 -0700 (Thu, 05 Jul 2007) Log Message: --- exception handling tweaks from Duncan: (1) Fix some comments. (2) Correct off-by-one in test for branching within the same scope (currently it never triggers, but comes out

[llvm-commits] [129185] Handle nested try-catch statements: From Duncan

2007-07-04 Thread clattner
Revision: 129185 Author: clattner Date: 2007-07-04 13:50:11 -0700 (Wed, 04 Jul 2007) Log Message: --- Handle nested try-catch statements: From Duncan These patches, to LLVM and llvm-gcc, add support for nested try-catch statements. Previously, only the inner most catch or filter

[llvm-commits] [129004] Fix an assertion failure on __builtin_ia32_vec_set_v8hi with a literal integer .

2007-06-30 Thread clattner
Revision: 129004 Author: clattner Date: 2007-06-30 11:35:54 -0700 (Sat, 30 Jun 2007) Log Message: --- Fix an assertion failure on __builtin_ia32_vec_set_v8hi with a literal integer. GCC produces this as 32-bit integer, not a 16-bit integer. Modified Paths: -- apple

[llvm-commits] [128805] remove a bogus change.

2007-06-25 Thread clattner
Revision: 128805 Author: clattner Date: 2007-06-25 10:36:34 -0700 (Mon, 25 Jun 2007) Log Message: --- remove a bogus change. Modified Paths: -- apple-local/branches/llvm/gcc/c-lex.c Modified: apple-local/branches/llvm/gcc/c-lex.c

[llvm-commits] [128707] Check in Rafael's hack that works around PR1521, allowing bootstrap on x86-64.

2007-06-21 Thread clattner
Revision: 128707 Author: clattner Date: 2007-06-21 16:49:16 -0700 (Thu, 21 Jun 2007) Log Message: --- Check in Rafael's hack that works around PR1521, allowing bootstrap on x86-64. This should be reverted when PR1521 is fixed. Modified Paths: -- apple-local/branches

[llvm-commits] [128613] add a new -mllvm -disable-llvm-optzns option, which can be used

2007-06-19 Thread clattner
Revision: 128613 Author: clattner Date: 2007-06-19 10:49:09 -0700 (Tue, 19 Jun 2007) Log Message: --- add a new -mllvm -disable-llvm-optzns option, which can be used to isolate changes in the code made by llvm optimizers from changes make by GCC FE optimizations. Modified Paths

[llvm-commits] [128564] Use new attribute helper, no functionality change.

2007-06-18 Thread clattner
Revision: 128564 Author: clattner Date: 2007-06-18 14:51:50 -0700 (Mon, 18 Jun 2007) Log Message: --- Use new attribute helper, no functionality change. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm

[llvm-commits] [128583] Merge parameter attribute handling into the same loop that

2007-06-18 Thread clattner
Revision: 128583 Author: clattner Date: 2007-06-18 17:15:05 -0700 (Mon, 18 Jun 2007) Log Message: --- Merge parameter attribute handling into the same loop that translates the types for the arguments. This fixes PR1513 and CFrontend/2007-06-18-SextAttrAggregate.c Modified Paths

[llvm-commits] [128592] Fix bugs handling the ldmxcsr and stmxcsr builtins

2007-06-18 Thread clattner
Revision: 128592 Author: clattner Date: 2007-06-18 22:10:41 -0700 (Mon, 18 Jun 2007) Log Message: --- Fix bugs handling the ldmxcsr and stmxcsr builtins Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp Modified: apple-local/branches/llvm

[llvm-commits] [128028] Fix a bug in debug info emission that causes an ICE on a really horrible C++

2007-06-05 Thread clattner
Revision: 128028 Author: clattner Date: 2007-06-05 17:56:14 -0700 (Tue, 05 Jun 2007) Log Message: --- Fix a bug in debug info emission that causes an ICE on a really horrible C++ testcase (54KLOC) that Wolfgang Bangerth provided. Modified Paths: -- apple-local

[llvm-commits] [127931] Fix union comparison code when handling hard ada cases :)

2007-06-01 Thread clattner
Revision: 127931 Author: clattner Date: 2007-06-01 13:42:56 -0700 (Fri, 01 Jun 2007) Log Message: --- Fix union comparison code when handling hard ada cases :) Patch by Duncan Sands. Thanks for beating this into me Duncan. Modified Paths: -- apple-local/branches

[llvm-commits] [127802] Fix thinko, fixing PR1421.

2007-05-30 Thread clattner
Revision: 127802 Author: clattner Date: 2007-05-29 23:23:41 -0700 (Tue, 29 May 2007) Log Message: --- Fix thinko, fixing PR1421. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [127793] Improve EH generation, patch by Duncan!

2007-05-29 Thread clattner
Revision: 127793 Author: clattner Date: 2007-05-29 09:02:55 -0700 (Tue, 29 May 2007) Log Message: --- Improve EH generation, patch by Duncan! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [127800] redisable i128 codegen from llvm-gcc to work around PR1462

2007-05-29 Thread clattner
Revision: 127800 Author: clattner Date: 2007-05-29 21:14:52 -0700 (Tue, 29 May 2007) Log Message: --- redisable i128 codegen from llvm-gcc to work around PR1462 Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [127801] When an LLVM type has struct padding that overlaps with important fields of

2007-05-29 Thread clattner
Revision: 127801 Author: clattner Date: 2007-05-29 22:38:39 -0700 (Tue, 29 May 2007) Log Message: --- When an LLVM type has struct padding that overlaps with important fields of GCC types, use memcpy to copy them instead of copying the llvm fields. This helps address PR1421

[llvm-commits] [127759] Fix an llvm-gcc build problem when configuring for x86_64-unknown-linux-gnu .

2007-05-28 Thread clattner
Revision: 127759 Author: clattner Date: 2007-05-28 22:30:03 -0700 (Mon, 28 May 2007) Log Message: --- Fix an llvm-gcc build problem when configuring for x86_64-unknown-linux-gnu. Apparently, on this config, config/i386/linux64.h is used, but not config/i386/linux.h

[llvm-commits] [127734] simplify code by factoring it a bit better.

2007-05-27 Thread clattner
Revision: 127734 Author: clattner Date: 2007-05-27 08:33:17 -0700 (Sun, 27 May 2007) Log Message: --- simplify code by factoring it a bit better. Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [127735] simplify this code through the use of Intrinsic::getDeclaration

2007-05-27 Thread clattner
Revision: 127735 Author: clattner Date: 2007-05-27 08:51:11 -0700 (Sun, 27 May 2007) Log Message: --- simplify this code through the use of Intrinsic::getDeclaration Modified Paths: -- apple-local/branches/llvm/gcc/config/rs6000/llvm-rs6000.cpp Modified: apple

[llvm-commits] [127736] Minor cleanups, get this compiling again

2007-05-27 Thread clattner
Revision: 127736 Author: clattner Date: 2007-05-27 09:01:01 -0700 (Sun, 27 May 2007) Log Message: --- Minor cleanups, get this compiling again Modified Paths: -- apple-local/branches/llvm/gcc/config/rs6000/llvm-rs6000.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [127542] add a note

2007-05-23 Thread clattner
Revision: 127542 Author: clattner Date: 2007-05-23 00:02:15 -0700 (Wed, 23 May 2007) Log Message: --- add a note Modified Paths: -- apple-local/branches/llvm/README.LLVM Modified: apple-local/branches/llvm/README.LLVM

[llvm-commits] [127541] commit reid's intrinsics patch

2007-05-22 Thread clattner
Revision: 127541 Author: clattner Date: 2007-05-22 22:10:53 -0700 (Tue, 22 May 2007) Log Message: --- commit reid's intrinsics patch Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [127337] Enable 128-bit integer types in the front-end, accessible with

2007-05-17 Thread clattner
Revision: 127337 Author: clattner Date: 2007-05-16 23:27:45 -0700 (Wed, 16 May 2007) Log Message: --- Enable 128-bit integer types in the front-end, accessible with things like: typedef int TI __attribute__((mode(TI))); on 64-bit targets. Modified Paths: -- apple

[llvm-commits] [127324] fix a crash on invalid code.

2007-05-16 Thread clattner
Revision: 127324 Author: clattner Date: 2007-05-16 15:40:23 -0700 (Wed, 16 May 2007) Log Message: --- fix a crash on invalid code. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [127290] Fix a bug handling nested functions, due to LLVM' s handled_component_p working

2007-05-15 Thread clattner
Revision: 127290 Author: clattner Date: 2007-05-15 13:30:21 -0700 (Tue, 15 May 2007) Log Message: --- Fix a bug handling nested functions, due to LLVM's handled_component_p working a bit differently. This fixes an infinite recursion on test/CFrontend/nested-functions.c Modified

[llvm-commits] [126952] Switch llvm-gcc to bitcode instead of bytecode

2007-05-06 Thread clattner
Revision: 126952 Author: clattner Date: 2007-05-06 02:34:56 -0700 (Sun, 06 May 2007) Log Message: --- Switch llvm-gcc to bitcode instead of bytecode Modified Paths: -- apple-local/branches/llvm/gcc/Makefile.in apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [126948] Revert part of the positron merge patch.

2007-05-05 Thread clattner
Revision: 126948 Author: clattner Date: 2007-05-05 10:57:58 -0700 (Sat, 05 May 2007) Log Message: --- Revert part of the positron merge patch. This is needed to unbreak linux. This should be revisited. Modified Paths: -- apple-local/branches/llvm/gcc/gsyslimits.h

[llvm-commits] [126949] From Anton: this patch modifies the alias support in llvm-gcc

2007-05-05 Thread clattner
Revision: 126949 Author: clattner Date: 2007-05-05 11:11:46 -0700 (Sat, 05 May 2007) Log Message: --- From Anton: this patch modifies the alias support in llvm-gcc to not use c-front-end specific functions. Modified Paths: -- apple-local/branches/llvm/gcc/cgraph.c

[llvm-commits] [126950] add support for protected visibility (PR1363)

2007-05-05 Thread clattner
Revision: 126950 Author: clattner Date: 2007-05-05 11:15:40 -0700 (Sat, 05 May 2007) Log Message: --- add support for protected visibility (PR1363) Patch by Lauro Venancio Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches

[llvm-commits] [126951] Fix PR1252, patch by Anton K.

2007-05-05 Thread clattner
Revision: 126951 Author: clattner Date: 2007-05-05 14:40:50 -0700 (Sat, 05 May 2007) Log Message: --- Fix PR1252, patch by Anton K. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [126860] Fix C++Frontend/2007-05-03-VectorInit.cpp and PR1378.

2007-05-03 Thread clattner
Revision: 126860 Author: clattner Date: 2007-05-03 17:52:00 -0700 (Thu, 03 May 2007) Log Message: --- Fix C++Frontend/2007-05-03-VectorInit.cpp and PR1378. It isn't clear whether a VECTOR_CST with no elements is supposed to be undef or zero. Default to zero for now. Modified

[llvm-commits] [126768] improve support for __builtin_extract_return_address and

2007-05-01 Thread clattner
Revision: 126768 Author: clattner Date: 2007-05-01 10:59:57 -0700 (Tue, 01 May 2007) Log Message: --- improve support for __builtin_extract_return_address and __builtin_frob_return_address (?) for most targets. This is one step towards solving PR1375, though it is not correct

[llvm-commits] [126769] From Duncan Sands:

2007-05-01 Thread clattner
Revision: 126769 Author: clattner Date: 2007-05-01 11:46:41 -0700 (Tue, 01 May 2007) Log Message: --- From Duncan Sands: According to the documentation, the handler for a TRY_CATCH_EXPR can be: - A sequence of statements to execute. When an exception occurs, these statements

[llvm-commits] [126685] Add alias support to llvm-gcc

2007-04-28 Thread clattner
Revision: 126685 Author: clattner Date: 2007-04-28 21:24:20 -0700 (Sat, 28 Apr 2007) Log Message: --- Add alias support to llvm-gcc Patch by Anton K! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm.h

[llvm-commits] [126686] two minor fixes

2007-04-28 Thread clattner
Revision: 126686 Author: clattner Date: 2007-04-28 21:26:55 -0700 (Sat, 28 Apr 2007) Log Message: --- two minor fixes Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [126664] Represent indirect inline asm operands explicitly with a '*' prefix.

2007-04-27 Thread clattner
Revision: 126664 Author: clattner Date: 2007-04-27 18:03:48 -0700 (Fri, 27 Apr 2007) Log Message: --- Represent indirect inline asm operands explicitly with a '*' prefix. This is the first of several patches to follow to get this working properly, working towards a fix for PR1356

[llvm-commits] [126543] Clean up this macro to only eval each argument once.

2007-04-25 Thread clattner
Revision: 126543 Author: clattner Date: 2007-04-25 09:52:59 -0700 (Wed, 25 Apr 2007) Log Message: --- Clean up this macro to only eval each argument once. Modified Paths: -- apple-local/branches/llvm/gcc/expr.c Modified: apple-local/branches/llvm/gcc/expr.c

[llvm-commits] [126488] Fix PR1352 and CFrontend/2007-04-24-VolatileStructCopy.c

2007-04-24 Thread clattner
Revision: 126488 Author: clattner Date: 2007-04-24 17:26:05 -0700 (Tue, 24 Apr 2007) Log Message: --- Fix PR1352 and CFrontend/2007-04-24-VolatileStructCopy.c Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [126489] add it turns out, using (((SIZE)/(ALIGN)) (MOVE_RATIO)) as a decision of

2007-04-24 Thread clattner
Revision: 126489 Author: clattner Date: 2007-04-24 18:53:42 -0700 (Tue, 24 Apr 2007) Log Message: --- add it turns out, using (((SIZE)/(ALIGN)) (MOVE_RATIO)) as a decision of whether or not to do a copy with scalar stores is an extremely bad idea. For example, it turns

[llvm-commits] [126432] clarify the relation of this file with README.LLVM.

2007-04-23 Thread clattner
Revision: 126432 Author: clattner Date: 2007-04-23 14:52:56 -0700 (Mon, 23 Apr 2007) Log Message: --- clarify the relation of this file with README.LLVM. Modified Paths: -- apple-local/branches/llvm/README.Apple Modified: apple-local/branches/llvm/README.Apple

[llvm-commits] [126379] apply reid's patch for PR1146

2007-04-21 Thread clattner
Revision: 126379 Author: clattner Date: 2007-04-21 22:52:13 -0700 (Sat, 21 Apr 2007) Log Message: --- apply reid's patch for PR1146 Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [126244] Use ConstantInt:: getAllOnesValue to get hold of -1 in CEIL_DIV_EXPR.

2007-04-17 Thread clattner
Revision: 126244 Author: clattner Date: 2007-04-17 09:28:45 -0700 (Tue, 17 Apr 2007) Log Message: --- Use ConstantInt::getAllOnesValue to get hold of -1 in CEIL_DIV_EXPR. Patch by Duncan Sands Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [126211] Fix the -Werror build.

2007-04-16 Thread clattner
Revision: 126211 Author: clattner Date: 2007-04-16 13:07:18 -0700 (Mon, 16 Apr 2007) Log Message: --- Fix the -Werror build. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [126124] CEIL_DIV_EXPR performs integer division with rounding

2007-04-14 Thread clattner
Revision: 126124 Author: clattner Date: 2007-04-14 12:42:51 -0700 (Sat, 14 Apr 2007) Log Message: --- CEIL_DIV_EXPR performs integer division with rounding towards positive infinity, thus 3 cdiv 2 = 2 while -3 cdiv 2 = -1. Testing is tricky, because CEIL_DIV_EXPR is only generated

[llvm-commits] [126020] Add TLS support, patch by Lauro, thanks!

2007-04-12 Thread clattner
Revision: 126020 Author: clattner Date: 2007-04-12 11:50:47 -0700 (Thu, 12 Apr 2007) Log Message: --- Add TLS support, patch by Lauro, thanks! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [125989] Fix a front-end crash on CFrontend/2007-04-11-InlineAsmUnion.c, in which

2007-04-11 Thread clattner
Revision: 125989 Author: clattner Date: 2007-04-11 15:35:32 -0700 (Wed, 11 Apr 2007) Log Message: --- Fix a front-end crash on CFrontend/2007-04-11-InlineAsmUnion.c, in which an inline asm is emitting a store into a union (!?). There is still a backend crash as well. Modified

[llvm-commits] [125990] Switch approaches used to handle union destinations.

2007-04-11 Thread clattner
Revision: 125990 Author: clattner Date: 2007-04-11 16:44:56 -0700 (Wed, 11 Apr 2007) Log Message: --- Switch approaches used to handle union destinations. This approach correctly handles multi-element struct destinations as well, and doesn't require a codegen change. Modified

[llvm-commits] [125963] Apply Reid's parameter attr patch.

2007-04-10 Thread clattner
Revision: 125963 Author: clattner Date: 2007-04-10 20:18:43 -0700 (Tue, 10 Apr 2007) Log Message: --- Apply Reid's parameter attr patch. Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386-target.h apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [125902] Apply reid's patch for PR1146

2007-04-09 Thread clattner
Revision: 125902 Author: clattner Date: 2007-04-08 23:25:22 -0700 (Sun, 08 Apr 2007) Log Message: --- Apply reid's patch for PR1146 Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/llvm-i386-target.h apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [125900] Apply a patch from Lauro:

2007-04-08 Thread clattner
Revision: 125900 Author: clattner Date: 2007-04-08 11:39:16 -0700 (Sun, 08 Apr 2007) Log Message: --- Apply a patch from Lauro: This patch makes llvm-gcc use arrays to lower function arguments. For example a 30 bytes parameter is lowered to { [3 x i64], i32, i16} instead of { i64

[llvm-commits] [125901] Improve support for exception handling, patch by Duncan Sands.

2007-04-08 Thread clattner
Revision: 125901 Author: clattner Date: 2007-04-08 18:28:18 -0700 (Sun, 08 Apr 2007) Log Message: --- Improve support for exception handling, patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc

[llvm-commits] [125692] Fix compilation of:

2007-04-03 Thread clattner
Revision: 125692 Author: clattner Date: 2007-04-03 13:52:42 -0700 (Tue, 03 Apr 2007) Log Message: --- Fix compilation of: @interface B -(int)bar; @end @interface A -(void) Foo:(int) state; @end @implementation A - (void) Foo:(int) state { int wasResponded = 0

[llvm-commits] [125595] Apply reid's patch for PR1297

2007-04-01 Thread clattner
Revision: 125595 Author: clattner Date: 2007-04-01 13:30:32 -0700 (Sun, 01 Apr 2007) Log Message: --- Apply reid's patch for PR1297 Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp apple-local/branches/llvm/gcc/llvm-internal.h Modified: apple

[llvm-commits] [125596] remove dead #undef

2007-04-01 Thread clattner
Revision: 125596 Author: clattner Date: 2007-04-01 13:33:33 -0700 (Sun, 01 Apr 2007) Log Message: --- remove dead #undef Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [125597] Apply Anton's patch to improve sret handling.

2007-04-01 Thread clattner
Revision: 125597 Author: clattner Date: 2007-04-01 14:57:56 -0700 (Sun, 01 Apr 2007) Log Message: --- Apply Anton's patch to improve sret handling. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm

[llvm-commits] [125531] Apply Anton's patch to work-around PR879 on linux.

2007-03-29 Thread clattner
Revision: 125531 Author: clattner Date: 2007-03-29 23:08:44 -0700 (Thu, 29 Mar 2007) Log Message: --- Apply Anton's patch to work-around PR879 on linux. Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/i386.h Modified: apple-local/branches/llvm/gcc

[llvm-commits] [125424] Fix C++Frontend/2007-03-27-FunctionVarRename.cpp

2007-03-27 Thread clattner
Revision: 125424 Author: clattner Date: 2007-03-27 17:04:40 -0700 (Tue, 27 Mar 2007) Log Message: --- Fix C++Frontend/2007-03-27-FunctionVarRename.cpp Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm

[llvm-commits] [125325] work around a latent bug, until it can be fixed properly.

2007-03-24 Thread clattner
Revision: 125325 Author: clattner Date: 2007-03-24 18:30:48 -0700 (Sat, 24 Mar 2007) Log Message: --- work around a latent bug, until it can be fixed properly. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [125326] fix in 80 cols

2007-03-24 Thread clattner
Revision: 125326 Author: clattner Date: 2007-03-24 18:47:34 -0700 (Sat, 24 Mar 2007) Log Message: --- fix in 80 cols Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [125327] use a correct substitute for the 'g' constraint, now that it is safe.

2007-03-24 Thread clattner
Revision: 125327 Author: clattner Date: 2007-03-24 20:39:48 -0700 (Sat, 24 Mar 2007) Log Message: --- use a correct substitute for the 'g' constraint, now that it is safe. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local

[llvm-commits] [125328] Improve CanonicalizeConstraint to support canonicalization of multiple-alternative inline asm constraints , e.g., turn:

2007-03-24 Thread clattner
Revision: 125328 Author: clattner Date: 2007-03-24 21:02:59 -0700 (Sat, 24 Mar 2007) Log Message: --- Improve CanonicalizeConstraint to support canonicalization of multiple-alternative inline asm constraints, e.g., turn: __asm__ volatile(inw %w1, %w0 : =a (datum) : Nd (port

[llvm-commits] [124573] Fix http://llvm.org/bugs/show_bug.cgi?id=1242, by emitting a more-complete

2007-03-05 Thread clattner
Revision: 124573 Author: clattner Date: 2007-03-05 17:07:09 -0800 (Mon, 05 Mar 2007) Log Message: --- Fix http://llvm.org/bugs/show_bug.cgi?id=1242, by emitting a more-complete target data string. On darwin, we now emit: target datalayout = E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32

[llvm-commits] [124488] Fix another VLA array indexing bug.

2007-03-02 Thread clattner
Revision: 124488 Author: clattner Date: 2007-03-02 15:36:33 -0800 (Fri, 02 Mar 2007) Log Message: --- Fix another VLA array indexing bug. PR1233. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm

[llvm-commits] [124491] Add support for NON_LVALUE_EXPR, patch by Duncan Sands.

2007-03-02 Thread clattner
Revision: 124491 Author: clattner Date: 2007-03-02 18:11:25 -0800 (Fri, 02 Mar 2007) Log Message: --- Add support for NON_LVALUE_EXPR, patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [124492] Add an assert, patch by Duncan Sands.

2007-03-02 Thread clattner
Revision: 124492 Author: clattner Date: 2007-03-02 18:13:46 -0800 (Fri, 02 Mar 2007) Log Message: --- Add an assert, patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [124493] Fix a bug that triggers with Ada, patch by Duncan Sands!

2007-03-02 Thread clattner
Revision: 124493 Author: clattner Date: 2007-03-02 18:15:45 -0800 (Fri, 02 Mar 2007) Log Message: --- Fix a bug that triggers with Ada, patch by Duncan Sands! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc

[llvm-commits] [124494] Fix compilation of Benchmarks/Prolangs-C++/garage.

2007-03-02 Thread clattner
Revision: 124494 Author: clattner Date: 2007-03-02 21:17:25 -0800 (Fri, 02 Mar 2007) Log Message: --- Fix compilation of Benchmarks/Prolangs-C++/garage. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm

[llvm-commits] [124495] disable EH support until someone has a chance to finish it.

2007-03-02 Thread clattner
Revision: 124495 Author: clattner Date: 2007-03-02 21:32:18 -0800 (Fri, 02 Mar 2007) Log Message: --- disable EH support until someone has a chance to finish it. This fixes Benchmarks/Prolangs-C++/deriv1 Modified Paths: -- apple-local/branches/llvm/gcc/llvm

[llvm-commits] [124439] Fix PR1235, an ICE on invalid code.

2007-03-01 Thread clattner
Revision: 124439 Author: clattner Date: 2007-03-01 22:49:42 -0800 (Thu, 01 Mar 2007) Log Message: --- Fix PR1235, an ICE on invalid code. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm-convert.cpp Modified

[llvm-commits] [124440] cleanup comments and spacing

2007-03-01 Thread clattner
Revision: 124440 Author: clattner Date: 2007-03-01 23:25:59 -0800 (Thu, 01 Mar 2007) Log Message: --- cleanup comments and spacing Modified Paths: -- apple-local/branches/llvm/gcc/llvm-internal.h Modified: apple-local/branches/llvm/gcc/llvm-internal.h

[llvm-commits] [124441] Fix PR1233 and test/CFrontend/2007-03-01-VarSizeArrayIdx.c.

2007-03-01 Thread clattner
Revision: 124441 Author: clattner Date: 2007-03-01 23:30:11 -0800 (Thu, 01 Mar 2007) Log Message: --- Fix PR1233 and test/CFrontend/2007-03-01-VarSizeArrayIdx.c. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm

[llvm-commits] [124234] Change LLVM_TARGET_INTRINSIC_LOWER to not implicitly return.

2007-02-26 Thread clattner
Revision: 124234 Author: clattner Date: 2007-02-23 20:15:35 -0800 (Fri, 23 Feb 2007) Log Message: --- Change LLVM_TARGET_INTRINSIC_LOWER to not implicitly return. Change LLVM_TARGET_INTRINSIC_LOWER to pass in the exp of the call. Change llvm-i386.c to emit an error on a bogus

[llvm-commits] [124302] work around PR1224 for now

2007-02-25 Thread clattner
Revision: 124302 Author: clattner Date: 2007-02-25 10:44:39 -0800 (Sun, 25 Feb 2007) Log Message: --- work around PR1224 for now Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [124303] Lower calls to implicit ... functions more carefully.

2007-02-25 Thread clattner
Revision: 124303 Author: clattner Date: 2007-02-25 14:01:13 -0800 (Sun, 25 Feb 2007) Log Message: --- Lower calls to implicit ... functions more carefully. This implements test/CFrontend/2007-02-25-C-DotDotDot.c Modified Paths: -- apple-local/branches/llvm/gcc/llvm

[llvm-commits] [124304] Make debug_tree(type) print the LLVM type if it exists.

2007-02-25 Thread clattner
Revision: 124304 Author: clattner Date: 2007-02-25 14:58:44 -0800 (Sun, 25 Feb 2007) Log Message: --- Make debug_tree(type) print the LLVM type if it exists. Patch contributed by Duncan Sands! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [124287] Fix PR1221, which is subtle fallout from the symtab change.

2007-02-24 Thread clattner
Revision: 124287 Author: clattner Date: 2007-02-24 17:23:21 -0800 (Sat, 24 Feb 2007) Log Message: --- Fix PR1221, which is subtle fallout from the symtab change. getName().c_str() now cannot be used, because the string returned by getName() is temporary and is destroyed when

[llvm-commits] [124235] emit useful error messages if bad immediates are used

2007-02-23 Thread clattner
Revision: 124235 Author: clattner Date: 2007-02-23 20:31:35 -0800 (Fri, 23 Feb 2007) Log Message: --- emit useful error messages if bad immediates are used Modified Paths: -- apple-local/branches/llvm/gcc/config/rs6000/llvm-rs6000.cpp Modified: apple-local/branches

[llvm-commits] [124236] add missing #include

2007-02-23 Thread clattner
Revision: 124236 Author: clattner Date: 2007-02-23 20:35:59 -0800 (Fri, 23 Feb 2007) Log Message: --- add missing #include Modified Paths: -- apple-local/branches/llvm/gcc/config/rs6000/llvm-rs6000.cpp Modified: apple-local/branches/llvm/gcc/config/rs6000/llvm

[llvm-commits] [124166] writable strings shouldn't be cached.

2007-02-21 Thread clattner
Revision: 124166 Author: clattner Date: 2007-02-21 19:28:53 -0800 (Wed, 21 Feb 2007) Log Message: --- writable strings shouldn't be cached. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [124167] refactor

2007-02-21 Thread clattner
Revision: 124167 Author: clattner Date: 2007-02-21 20:26:05 -0800 (Wed, 21 Feb 2007) Log Message: --- refactor Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [124085] adjust to new ConstantExpr API.

2007-02-19 Thread clattner
Revision: 124085 Author: clattner Date: 2007-02-19 11:51:56 -0800 (Mon, 19 Feb 2007) Log Message: --- adjust to new ConstantExpr API. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [124086] don't dereference a null type-size field.

2007-02-19 Thread clattner
Revision: 124086 Author: clattner Date: 2007-02-19 12:15:12 -0800 (Mon, 19 Feb 2007) Log Message: --- don't dereference a null type-size field. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp

[llvm-commits] [123991] Fix test/CFrontend/2007-02-16-VoidPtrDiff.c, a case where

2007-02-16 Thread clattner
Revision: 123991 Author: clattner Date: 2007-02-16 17:43:38 -0800 (Fri, 16 Feb 2007) Log Message: --- Fix test/CFrontend/2007-02-16-VoidPtrDiff.c, a case where llvm-gcc incorrectly rejected a GCC extension. Modified Paths: -- apple-local/branches/llvm/gcc/c-common.c

[llvm-commits] [123994] Implement support for -fwritable-strings.

2007-02-16 Thread clattner
Revision: 123994 Author: clattner Date: 2007-02-16 21:05:31 -0800 (Fri, 16 Feb 2007) Log Message: --- Implement support for -fwritable-strings. This implements test/CFrontend/2007-02-16-WritableStrings.c Modified Paths: -- apple-local/branches/llvm/gcc/llvm

[llvm-commits] [123995] Fix PR1170 and test/CFrontend/2007-02-16-VariableSizeStructArg.c

2007-02-16 Thread clattner
Revision: 123995 Author: clattner Date: 2007-02-16 21:42:55 -0800 (Fri, 16 Feb 2007) Log Message: --- Fix PR1170 and test/CFrontend/2007-02-16-VariableSizeStructArg.c Modified Paths: -- apple-local/branches/llvm/gcc/llvm-abi.h apple-local/branches/llvm/gcc/llvm

[llvm-commits] [123805] Patches to support generalize TargetData strings, to support

2007-02-13 Thread clattner
Revision: 123805 Author: clattner Date: 2007-02-13 21:53:55 -0800 (Tue, 13 Feb 2007) Log Message: --- Patches to support generalize TargetData strings, to support more interesting forms of data. Patch by Scott Michel, a couple bugfixes by me. Modified Paths

[llvm-commits] [123689] Fix the build on mingw.

2007-02-10 Thread clattner
Revision: 123689 Author: clattner Date: 2007-02-10 14:33:18 -0800 (Sat, 10 Feb 2007) Log Message: --- Fix the build on mingw. Patch by Anton! Modified Paths: -- apple-local/branches/llvm/libiberty/strsignal.c Modified: apple-local/branches/llvm/libiberty

[llvm-commits] [123690] (1) Add a FIXME about COMPOUND_LITERAL_EXPR

2007-02-10 Thread clattner
Revision: 123690 Author: clattner Date: 2007-02-10 14:35:44 -0800 (Sat, 10 Feb 2007) Log Message: --- (1) Add a FIXME about COMPOUND_LITERAL_EXPR (2) Remove duplicated #include patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] [123559] Don't create useless bitcast instructions.

2007-02-07 Thread clattner
Revision: 123559 Author: clattner Date: 2007-02-07 13:53:56 -0800 (Wed, 07 Feb 2007) Log Message: --- Don't create useless bitcast instructions. Patch by Reid Spencer! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches

[llvm-commits] [123561] shift-related cleanups, patch by Reid!

2007-02-07 Thread clattner
Revision: 123561 Author: clattner Date: 2007-02-07 15:12:06 -0800 (Wed, 07 Feb 2007) Log Message: --- shift-related cleanups, patch by Reid! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [123562] Initial support for nested functions ( but not non-local gotos or trampolines).

2007-02-07 Thread clattner
Revision: 123562 Author: clattner Date: 2007-02-07 15:28:05 -0800 (Wed, 07 Feb 2007) Log Message: --- Initial support for nested functions (but not non-local gotos or trampolines). Patch by Duncan Sands! This implements llvm/test/CFrontend/2007-02-05-nested.c Modified Paths

[llvm-commits] [123568] Complete support for the GCC address-of-label extension (most was

2007-02-07 Thread clattner
Revision: 123568 Author: clattner Date: 2007-02-07 20:34:00 -0800 (Wed, 07 Feb 2007) Log Message: --- Complete support for the GCC address-of-label extension (most was already implemented) and do some other minor cleanup. This implements PR947 and test/CFrontend/2007-02-07

[llvm-commits] [123438] libtransforms is no more.

2007-02-05 Thread clattner
Revision: 123438 Author: clattner Date: 2007-02-05 10:18:09 -0800 (Mon, 05 Feb 2007) Log Message: --- libtransforms is no more. Modified Paths: -- apple-local/branches/llvm/gcc/Makefile.in Modified: apple-local/branches/llvm/gcc/Makefile.in

  1   2   >