[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-13 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.343 -> 1.344 --- Log message: Fix PR1413: http://llvm.org/PR1413 --- Diffs of the changes: (+5 -0) CBackend.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/Target/CBackend/CBackend.cpp diff -u llvm

Re: [llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-02 Thread Reid Spencer
Leo, Looks like Chris didn't wait very long before reverting the CBE patch. Please try your patch again. It *must* pass all of llvm/test and llvm-test to be accepted. Thanks, Reid. On Wed, 2 May 2007 21:57:31 -0500 Chris Lattner <[EMAIL PROTECTED]> wrote: > > >Changes in directory llvm/lib/

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-02 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.342 -> 1.343 --- Log message: revert reid's patch to fix these failures: test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll for PR1099: http://llvm.org/PR1099 [DEJAGNU] Applications/SPASS/SPASS [CBE] Regression/C/2004-03-

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.341 -> 1.342 --- Log message: Drop 'const' --- Diffs of the changes: (+4 -4) CBackend.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Target/CBackend/CBackend.cpp diff -u llvm/lib

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.340 -> 1.341 --- Log message: Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. --- Diff

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-01 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.339 -> 1.340 --- Log message: Make sign extension work correctly for unusual bit widths. --- Diffs of the changes: (+100 -28) CBackend.cpp | 128 ++- 1 files chan

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.338 -> 1.339 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+12 -2) CBackend.cpp | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) Index: llvm/

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-17 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.337 -> 1.338 --- Log message: Implemented correct stack probing on mingw/cygwin for dynamic alloca's. Also, fixed static case in presence of eax livin. This fixes PR331: http://llvm.org/PR331 PS: Why don't we still have

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-13 Thread Jeff Cohen
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.336 -> 1.337 --- Log message: Silence VC++ warning. --- Diffs of the changes: (+1 -1) CBackend.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/CBackend/CBackend.cpp diff -u llvm/lib

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-12 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.335 -> 1.336 --- Log message: Implement review feedback .. don't double search a set. --- Diffs of the changes: (+1 -3) CBackend.cpp |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/lib/Target/

Re: [llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-12 Thread Chris Lattner
> Provide support for intrinsics that lower themselves to a function > body. > This can happen for intrinsics that are overloaded. In such cases > it is > necessary to emit a function prototype before the body of the function > that calls the intrinsic and to ensure we don't emit it multiple

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-12 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.334 -> 1.335 --- Log message: Provide support for intrinsics that lower themselves to a function body. This can happen for intrinsics that are overloaded. In such cases it is necessary to emit a function prototype before

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-12 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.333 -> 1.334 --- Log message: Implement Thread Local Storage (TLS) in CBackend. --- Diffs of the changes: (+27 -17) CBackend.cpp | 44 +++- 1 files changed, 27 insertions(+), 17

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-10 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.332 -> 1.333 --- Log message: For PR1146: http://llvm.org/PR1146 : Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a result. --- Diffs of the changes: (+8 -8) CBackend.cpp |

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.331 -> 1.332 --- Log message: For PR1146: http://llvm.org/PR1146 : Adapt handling of parameter attributes to use the new ParamAttrsList class. --- Diffs of the changes: (+13 -8) CBackend.cpp | 21 +

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-03-29 Thread Jeff Cohen
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.330 -> 1.331 --- Log message: MS C does have inlining after all, just uses _inline instead of inline. --- Diffs of the changes: (+1 -1) CBackend.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-03-28 Thread Jeff Cohen
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.329 -> 1.330 --- Log message: Fix C Backend to generate code that works with Microsoft C for the benefit of front ends that do not depend on the GCC runtime (someday...). --- Diffs of the changes: (+4 -1) CBackend.cpp |

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-03-03 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.328 -> 1.329 --- Log message: Make sure that when we store a value it is masked to its correct bit width. This helps CBE work with non-standard integer bit widths. --- Diffs of the changes: (+15 -1) CBackend.cpp | 16

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-23 Thread Bill Wendling
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.327 -> 1.328 --- Log message: PR1164: http://llvm.org/PR1164 : Generate local names with a "llvm_cbe_" prefix using the actual name of the variable instead of a temporary name. --- Diffs of the changes: (+52 -22) CBacke

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.326 -> 1.327 --- Log message: For PR1195: http://llvm.org/PR1195 : Change use of "packed" term to "vector" in comments, strings, variable names, etc. --- Diffs of the changes: (+1 -1) CBackend.cpp |2 +- 1 files cha

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.325 -> 1.326 --- Log message: For PR1195: http://llvm.org/PR1195 : Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. --- Diffs of the changes: (+9 -9)

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.324 -> 1.325 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be uniqu

Re: [llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-03 Thread Chris Lattner
On Jan 26, 2007, at 1:43 PM, Reid Spencer wrote: > On Fri, 2007-01-26 at 13:33 -0800, Chris Lattner wrote: >>> For PR645: http://llvm.org/PR645 : >>> Remove the Function::renameLocalSymbols function as it is no longer >>> needed. >> >> I'm not sure this one is safe. Does the CBE prefix local sym

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-02-01 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.323 -> 1.324 --- Log message: Changes to support making the shift instructions be true BinaryOperators. This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-30 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.322 -> 1.323 --- Log message: For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. --- Diffs of the changes: (+5 -5) CBackend.cpp | 1

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-29 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.321 -> 1.322 --- Log message: Implement use of new IntrinsicLowering interface. --- Diffs of the changes: (+9 -4) CBackend.cpp | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) Index: llvm/lib/Tar

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.320 -> 1.321 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalizatio

Re: [llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-26 Thread Reid Spencer
On Fri, 2007-01-26 at 13:33 -0800, Chris Lattner wrote: > > For PR645: http://llvm.org/PR645 : > > Remove the Function::renameLocalSymbols function as it is no longer > > needed. > > I'm not sure this one is safe. Does the CBE prefix local symbols > with something to make them distinct from glo

Re: [llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-26 Thread Chris Lattner
> For PR645: http://llvm.org/PR645 : > Remove the Function::renameLocalSymbols function as it is no longer > needed. I'm not sure this one is safe. Does the CBE prefix local symbols with something to make them distinct from global symbols in the generated .cbe.c code? -Chris > > --- > Diffs

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-26 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.319 -> 1.320 --- Log message: For PR645: http://llvm.org/PR645 : Remove the Function::renameLocalSymbols function as it is no longer needed. --- Diffs of the changes: (+0 -3) CBackend.cpp |3 --- 1 files changed, 3

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.318 -> 1.319 --- Log message: Fix SMG2000 with the CBE: opaque types need names too. --- Diffs of the changes: (+8 -10) CBackend.cpp | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.317 -> 1.318 --- Log message: Fix PR918: http://llvm.org/PR918 by only using typedefs to name struct types. This makes the later type ordering stuff work better. This fixes PR918: http://llvm.org/PR918 and CodeGen/CBac

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-14 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.316 -> 1.317 --- Log message: rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For examp

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-14 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.315 -> 1.316 --- Log message: Make use of isInteger vs isIntegral more explicit --- Diffs of the changes: (+4 -4) CBackend.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Target/C

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.314 -> 1.315 --- Log message: remove obsolete fixme --- Diffs of the changes: (+0 -3) CBackend.cpp |3 --- 1 files changed, 3 deletions(-) Index: llvm/lib/Target/CBackend/CBackend.cpp diff -u llvm/lib/Target/CBack

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-12 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.313 -> 1.314 --- Log message: * PIC codegen for X86/Linux has been implemented * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkag

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.312 -> 1.313 --- Log message: For PR1064: http://llvm.org/PR1064 : Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.311 -> 1.312 --- Log message: Implement review feedback for the ConstantBool->ConstantInt merge. Chris recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t).

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.310 -> 1.311 --- Log message: Rename BoolTy as Int1Ty. Patch by Sheng Zhou. --- Diffs of the changes: (+6 -6) CBackend.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/lib/Target/C

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-11 Thread Zhou Sheng
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.309 -> 1.310 --- Log message: For PR1043: http://llvm.org/PR1043 : Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. --- Diffs of the changes: (+13 -14) CBacke

[llvm-commits] CVS: llvm/lib/Target/CBackend/CBackend.cpp

2007-01-09 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.308 -> 1.309 --- Log message: Change the file header name as this file was renamed. --- Diffs of the changes: (+1 -1) CBackend.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/CBack