[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-03-14 Thread Zhou Sheng
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.660 - 1.661 --- Log message: ShiftAmt might equal to zero. Handle this situation. --- Diffs of the changes: (+9 -7) InstructionCombining.cpp | 16 +--- 1 files changed, 9 insertions(+), 7

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

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86JITInfo.cpp updated: 1.34 - 1.35 --- Log message: Preliminary support for X86-64 JIT stub codegen. --- Diffs of the changes: (+35 -3) X86JITInfo.cpp | 38 +++--- 1 files changed, 35 insertions(+), 3 deletions(-)

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

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86JITInfo.cpp updated: 1.35 - 1.36 --- Log message: x86-64 JIT stub codegen. --- Diffs of the changes: (+11 -0) X86JITInfo.cpp | 11 +++ 1 files changed, 11 insertions(+) Index: llvm/lib/Target/X86/X86JITInfo.cpp diff -u

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

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86CodeEmitter.cpp updated: 1.129 - 1.130 --- Log message: X86-64 JIT is in large code model. Need stubs for direct calls. --- Diffs of the changes: (+1 -1) X86CodeEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

Re: [llvm-commits] llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp

2007-03-14 Thread Nicolas Geoffray
Chris Lattner wrote: On Mar 12, 2007, at 7:57 AM, Nicolas Geoffray wrote: Hi Chris, Chris Lattner wrote: Ahhh, ok. I think I understand now what is going on. Thank you for the very clear explanation. In this case, it seems like a clearly good thing to just call CreateFixedObject

Re: [llvm-commits] llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp

2007-03-14 Thread Chris Lattner
In this case, it seems like a clearly good thing to just call CreateFixedObject unconditionally early on (e.g.) when lowering the arguments. Unconditionally? I can do that, but do you mean without any check if R31 is actually used as frame pointer or we're compiling for linux/ppc?

[llvm-commits] CVS: CVSROOT/loginfo

2007-03-14 Thread John Criswell
Changes in directory CVSROOT: loginfo updated: 1.14 - 1.15 --- Log message: Email criswell when changes to the llva tree occur. --- Diffs of the changes: (+1 -0) loginfo |1 + 1 files changed, 1 insertion(+) Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.14 CVSROOT/loginfo:1.15

[llvm-commits] CVS: llvm-www/www-index.html

2007-03-14 Thread Vikram Adve
Changes in directory llvm-www: www-index.html updated: 1.135 - 1.136 --- Log message: Fix company names and add URLs. --- Diffs of the changes: (+7 -4) www-index.html | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) Index: llvm-www/www-index.html diff -u

[llvm-commits] CVS: llvm-www/www-index.html

2007-03-14 Thread Vikram Adve
Changes in directory llvm-www: www-index.html updated: 1.136 - 1.137 --- Log message: Fix minor things from last check-in. --- Diffs of the changes: (+8 -6) www-index.html | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) Index: llvm-www/www-index.html diff -u

[llvm-commits] CVS: llvm-www/www-index.html

2007-03-14 Thread Vikram Adve
Changes in directory llvm-www: www-index.html updated: 1.137 - 1.138 --- Log message: Remove Cray and add mailto link for companies to ask to be added. --- Diffs of the changes: (+4 -2) www-index.html |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

2007-03-14 Thread Jeff Cohen
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.111 - 1.112 --- Log message: Fix for VS 2005 problem supplied by Morten Ofstad. --- Diffs of the changes: (+1 -0) TargetInstrInfo.h |1 + 1 files changed, 1 insertion(+) Index:

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-03-14 Thread Jeff Cohen
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.68 - 1.69 --- Log message: Make older versions of bison happy. --- Diffs of the changes: (+1 -1) UpgradeParser.y |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

Re: [llvm-commits] llvm-gcc: emit switch cases with a wide range as a conditional branch

2007-03-14 Thread Duncan Sands
Hi Chris, thanks for looking at the patch. In gcc, a switch case is a range of values that branch to a label, for example 1 .. 17 - label. These are emitted as individual LLVM switch cases: 1 - label, 2 - label, ..., 17 - label. This works well except, for example, when the range is

Re: [llvm-commits] llvm-gcc: emit switch cases with a wide range as a conditional branch

2007-03-14 Thread Reid Spencer
On Wed, 2007-03-14 at 17:40 +0100, Duncan Sands wrote: Hi Chris, thanks for looking at the patch. In gcc, a switch case is a range of values that branch to a label, for example 1 .. 17 - label. These are emitted as individual LLVM switch cases: 1 - label, 2 - label, ..., 17 -

Re: [llvm-commits] llvm-gcc: emit switch cases with a wide range as a conditional branch

2007-03-14 Thread Duncan Sands
Hi Reid, thanks for replying. Please use APInt's to do the subtraction, instead of constant folding. Reid should be able to help you with this. I don't understand why. If APInt's are much more efficient, then shouldn't ConstantExpr:getSub be improved to detect this case and

[llvm-commits] [124975] Fix VIEW_CONVERT_EXPR handling.

2007-03-14 Thread dpatel
Revision: 124975 Author: dpatel Date: 2007-03-14 11:22:11 -0700 (Wed, 14 Mar 2007) Log Message: --- Fix VIEW_CONVERT_EXPR handling. Patch by Duncan Sands. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified:

Re: [llvm-commits] llvm-gcc: take object size from target, not source, in VIEW_CONVERT_EXPR

2007-03-14 Thread Devang Patel
On Mar 8, 2007, at 4:35 AM, Duncan Sands wrote: VIEW_CONVERT_EXPR is sometimes used as a way of specifying the size of an object when the size would otherwise be unknown. In the (Ada) testcase an array, the type of which involves placeholder expressions, is view converted to an array type

[llvm-commits] CVS: llvm/docs/ExceptionHandling.html

2007-03-14 Thread Jim Laskey
Changes in directory llvm/docs: ExceptionHandling.html added (r1.1) --- Log message: First draft of exception handling doc. --- Diffs of the changes: (+460 -0) ExceptionHandling.html | 460 + 1 files changed, 460 insertions(+) Index:

[llvm-commits] CVS: llvm/docs/CodeGenerator.html

2007-03-14 Thread Jim Laskey
Changes in directory llvm/docs: CodeGenerator.html updated: 1.44 - 1.45 --- Log message: Adding credit for PPC changes. --- Diffs of the changes: (+4 -3) CodeGenerator.html |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/docs/CodeGenerator.html diff -u

[llvm-commits] CVS: llvm/docs/LangRef.html

2007-03-14 Thread Jim Laskey
Changes in directory llvm/docs: LangRef.html updated: 1.209 - 1.210 --- Log message: Add link to exception handling. --- Diffs of the changes: (+15 -1) LangRef.html | 16 +++- 1 files changed, 15 insertions(+), 1 deletion(-) Index: llvm/docs/LangRef.html diff -u

[llvm-commits] CVS: llvm/docs/SourceLevelDebugging.html

2007-03-14 Thread Jim Laskey
Changes in directory llvm/docs: SourceLevelDebugging.html updated: 1.27 - 1.28 --- Log message: Change e-mail address. --- Diffs of the changes: (+2 -2) SourceLevelDebugging.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/SourceLevelDebugging.html diff

[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html

2007-03-14 Thread Jim Laskey
Changes in directory llvm/docs: WritingAnLLVMPass.html updated: 1.52 - 1.53 --- Log message: Change e-mail address. --- Diffs of the changes: (+2 -2) WritingAnLLVMPass.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/WritingAnLLVMPass.html diff -u

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

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86JITInfo.cpp updated: 1.36 - 1.37 --- Log message: Oops. --- Diffs of the changes: (+1 -1) X86JITInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/X86/X86JITInfo.cpp diff -u

Re: [llvm-commits] llvm-gcc: emit switch cases with a wide range as a conditional branch

2007-03-14 Thread Duncan Sands
I am testing the following patch. While I was there, I made it agnostic as to the signedness of the switch expression and cases (in Ada they can be unsigned). Bootstraps (C, C++, Ada) and passes make check. Duncan. ___ llvm-commits mailing list

[llvm-commits] CVS: llvm/test/AdaFrontend/vce.adb

2007-03-14 Thread Duncan Sands
Changes in directory llvm/test/AdaFrontend: vce.adb added (r1.1) --- Log message: Test that the size of a view converted object is determined by the target type, not the source type. --- Diffs of the changes: (+7 -0) vce.adb |7 +++ 1 files changed, 7 insertions(+) Index:

[llvm-commits] CVS: llvm/lib/Target/X86/README.txt

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: README.txt updated: 1.157 - 1.158 --- Log message: Notes about codegen issues. --- Diffs of the changes: (+47 -0) README.txt | 47 +++ 1 files changed, 47 insertions(+) Index:

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

2007-03-14 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.368 - 1.369 --- Log message: Under X86-64 large code model, do not emit 32-bit pc relative calls. --- Diffs of the changes: (+5 -3) X86ISelLowering.cpp |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-)

[llvm-commits] llvm-gcc: return the correct type for ARRAY_RANGE_REF

2007-03-14 Thread Duncan Sands
An ARRAY_RANGE_REF is for extracting a range of elements from an array, for example elements 1 to 2 of an [3 x i32], while ARRAY_REF is for extracting a single element, say element 2. EmitLV_ARRAY_REF, which handles both expression types, should return a [2 x i32]* in the first case and an i32* in

[llvm-commits] llvm-gcc: fix type of VIEW_CONVERT_EXPR lvalue

2007-03-14 Thread Duncan Sands
The address of a VIEW_CONVERT_EXPR is the address of its operand, but the type is the type of the expression. The current code gets the address right but the type wrong. Fix and Ada testcase attached. Duncan. Index: gcc.llvm.master/gcc/llvm-convert.cpp

[llvm-commits] CVS: llvm/test/Assembler/2007-03-14-UpgradeLocalSignless.ll

2007-03-14 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-03-14-UpgradeLocalSignless.ll added (r1.1) --- Log message: Test case for PR1256: http://llvm.org/PR1256 . --- Diffs of the changes: (+24 -0) 2007-03-14-UpgradeLocalSignless.ll | 24 1 files changed, 24

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeInternals.h

2007-03-14 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeInternals.h updated: 1.9 - 1.10 --- Log message: For PR1256: http://llvm.org/PR1256 : Carry sign with ValID and make TypeInfo sortable (useful in a map). --- Diffs of the changes: (+36 -16) UpgradeInternals.h | 52

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-03-14 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.69 - 1.70 --- Log message: The sign information was not propagating into the rename map so only the last entry stored in the map could be retrieved for a given integer type. Propagating the sign information required an

[llvm-commits] CVS: llvm/test/CodeGen/ARM/addrmode.ll 2007-03-13-InstrSched.ll

2007-03-14 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/ARM: addrmode.ll added (r1.1) 2007-03-13-InstrSched.ll updated: 1.1 - 1.2 --- Log message: ARM isel should match ldr x +/- x * (2^n) to ldr [x, +/- x, lsl #log2(n)]. --- Diffs of the changes: (+17 -1) 2007-03-13-InstrSched.ll |2 +- addrmode.ll

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeInternals.h UpgradeParser.y

2007-03-14 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeInternals.h updated: 1.10 - 1.11 UpgradeParser.y updated: 1.70 - 1.71 --- Log message: Revert last changes as they introduced other problems. --- Diffs of the changes: (+65 -137) UpgradeInternals.h | 52 +-