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

2007-01-15 Thread Nick Lewycky
Changes in directory llvm/lib/Transforms/Scalar: PredicateSimplifier.cpp updated: 1.47 - 1.48 --- Log message: Don't print address of ETNode. Print the DFSNumIn which uniquely identifies the basic block and is stable across runs in gdb or valgrind. Make Node::update handle edges which

[llvm-commits] Support VIEW_CONVERT_EXPR in TreeConstantToLLVM::Convert

2007-01-15 Thread Duncan Sands
Ignore the type change - constants don't care. Index: gcc/llvm-convert.cpp === --- gcc/llvm-convert.cpp(revision 248) +++ gcc/llvm-convert.cpp(working copy) @@ -4260,6 +4380,7 @@ case PLUS_EXPR: case MINUS_EXPR:

[llvm-commits] llvm-convert.cpp compile fix

2007-01-15 Thread Duncan Sands
Something like this is needed to get current llvm-gcc4 to compile. Index: gcc/llvm-convert.cpp === --- gcc/llvm-convert.cpp(revision 248) +++ gcc/llvm-convert.cpp(working copy) @@ -221,7 +221,7 @@ // If

[llvm-commits] llvm-gcc: sign matters for EXACT_DIV_EXPR

2007-01-15 Thread Duncan Sands
EXACT_DIV_EXPR can be used on signed operands, so it is wrong to always turn it into UDiv. Since EXACT_DIV_EXPR always gives the same result as TRUNC_DIV_EXPR (it exists in gcc because it might give that result faster on some targets, not because it gives a different result), it is pointless to

Re: [llvm-commits] llvm-convert.cpp compile fix

2007-01-15 Thread Chris Lattner
This is already in the repository, but must not have hit the mirror yet. -Chris On Jan 15, 2007, at 7:03 AM, Duncan Sands wrote: Something like this is needed to get current llvm-gcc4 to compile. Index: gcc/llvm-convert.cpp ===

Re: [llvm-commits] Fix obvious thinko/typo in EmitMinMaxExpr

2007-01-15 Thread Chris Lattner
Applied, thanks! On Jan 15, 2007, at 7:07 AM, Duncan Sands wrote: Index: gcc/llvm-convert.cpp === --- gcc/llvm-convert.cpp (revision 248) +++ gcc/llvm-convert.cpp (working copy) @@ -2568,7 +2574,7 @@

Re: [llvm-commits] Support VIEW_CONVERT_EXPR in TreeConstantToLLVM::Convert

2007-01-15 Thread Chris Lattner
Applied, thanks! -Chris On Jan 15, 2007, at 7:11 AM, Duncan Sands wrote: Ignore the type change - constants don't care. Index: gcc/llvm-convert.cpp === --- gcc/llvm-convert.cpp (revision 248) +++ gcc/llvm-convert.cpp

Re: [llvm-commits] llvm-gcc: sign matters for EXACT_DIV_EXPR

2007-01-15 Thread Chris Lattner
Applied, thanks! On Jan 15, 2007, at 9:09 AM, Duncan Sands wrote: EXACT_DIV_EXPR can be used on signed operands, so it is wrong to always turn it into UDiv. Since EXACT_DIV_EXPR always gives the same result as TRUNC_DIV_EXPR (it exists in gcc because it might give that result faster

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

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.600 - 1.601 --- Log message: Fix a regression in my isIntegral patch that broke 471.omnetpp. This is because TargetData::getTypeSize() returns the same for i1 and i8. This fix is not right for the full

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

2007-01-15 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.198 - 1.199 --- Log message: Update documentation for parameter attributes for the syntax change. --- Diffs of the changes: (+11 -9) LangRef.html | 20 +++- 1 files changed, 11 insertions(+), 9 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.253 - 1.254 --- Log message: make this more efficient in release builds (time and space) --- Diffs of the changes: (+2 -6) AsmWriter.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Index:

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

2007-01-15 Thread Reid Spencer
Changes in directory llvm/docs: LangRef.html updated: 1.199 - 1.200 --- Log message: One more @ to remove. --- Diffs of the changes: (+2 -2) LangRef.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.199

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

2007-01-15 Thread Chris Lattner
Nice work Anton, some comments below: @@ -1082,7 +1081,11 @@ td class=td_leftIf this bit is set, a SectionID follows this vbr./td /tr tr - tda href=#bitbit(10-31)/a/td + tda href=#bitbit(10-12)/a/td + td class=td_leftVisibility style: 0=Default,

[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/test-hidden.ll

2007-01-15 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/X86: test-hidden.ll updated: 1.1 - 1.2 --- Log message: test darwin too! :) --- Diffs of the changes: (+2 -1) test-hidden.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/win32/CBackend/CBackend.vcproj

2007-01-15 Thread Jeff Cohen
Changes in directory llvm/win32/CBackend: CBackend.vcproj updated: 1.5 - 1.6 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+1 -1) CBackend.vcproj |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/win32/CBackend/CBackend.vcproj diff -u

[llvm-commits] CVS: llvm/win32/CodeGen/CodeGen.vcproj

2007-01-15 Thread Jeff Cohen
Changes in directory llvm/win32/CodeGen: CodeGen.vcproj updated: 1.25 - 1.26 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+3 -0) CodeGen.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/CodeGen/CodeGen.vcproj diff -u

[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

2007-01-15 Thread Jeff Cohen
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.88 - 1.89 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+1 -1) ScalarEvolution.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Analysis/ScalarEvolution.cpp diff -u

[llvm-commits] CVS: llvm/win32/llc/llc.vcproj

2007-01-15 Thread Jeff Cohen
Changes in directory llvm/win32/llc: llc.vcproj updated: 1.9 - 1.10 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+2 -2) llc.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llc/llc.vcproj diff -u llvm/win32/llc/llc.vcproj:1.9

[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj

2007-01-15 Thread Jeff Cohen
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.25 - 1.26 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+3 -0) VMCore.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.25

[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp

2007-01-15 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.120 - 1.121 --- Log message: Do not record last users of Pass Manager. --- Diffs of the changes: (+7 -2) PassManager.cpp |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index:

Re: [llvm-commits] Potential Patch for PR1095

2007-01-15 Thread Chris Lattner
On Jan 9, 2007, at 12:25 AM, Bill Wendling wrote: Hi all, Hey Bill, sorry for the delay. I would like someone to review this patch for PR1095. This gives us a dialect for the assembler code if we're given something like: __asm__({cntlz|cntlzw} ... Before, we were defaulting to the

[llvm-commits] [PATCH] delete ManagedStatics

2007-01-15 Thread Devang Patel
Right now, ManagedStatics are not deleted (through llvm_shutdown) by llvm-gcc. Here is the patch. OK to install? Thanks, - Devang Index: llvm-backend.cpp === --- llvm-backend.cpp(revision 122487) +++ llvm-backend.cpp

Re: [llvm-commits] [PATCH] delete ManagedStatics

2007-01-15 Thread Chris Lattner
On Jan 15, 2007, at 2:58 PM, Devang Patel wrote: Right now, ManagedStatics are not deleted (through llvm_shutdown) by llvm-gcc. Here is the patch. Ahhh, right. Yep, looks good. Nice detective work, -Chris OK to install? Thanks, - Devang Index: llvm-backend.cpp

[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp

2007-01-15 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.121 - 1.122 --- Log message: Remove extra white spaces. Fix comments. --- Diffs of the changes: (+1 -1) PassManager.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/PassManager.cpp diff

[llvm-commits] CVS: llvm/include/llvm/PassManagers.h

2007-01-15 Thread Devang Patel
Changes in directory llvm/include/llvm: PassManagers.h updated: 1.2 - 1.3 --- Log message: Remove extra white spaces. Fix comments. --- Diffs of the changes: (+2 -2) PassManagers.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/PassManagers.h diff

Re: [llvm-commits] Potential Patch for PR1095

2007-01-15 Thread Bill Wendling
On 1/15/07, Chris Lattner [EMAIL PROTECTED] wrote: On Jan 9, 2007, at 12:25 AM, Bill Wendling wrote: Hi all, Hey Bill, sorry for the delay. Not a prob :-) I would like someone to review this patch for PR1095. This gives us a dialect for the assembler code if we're given something like:

[llvm-commits] CVS: llvm/include/llvm/PassManagers.h

2007-01-15 Thread Devang Patel
Changes in directory llvm/include/llvm: PassManagers.h updated: 1.3 - 1.4 --- Log message: Code refactoring. --- Diffs of the changes: (+8 -0) PassManagers.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/PassManagers.h diff -u

[llvm-commits] CVS: llvm/lib/VMCore/PassManager.cpp

2007-01-15 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.122 - 1.123 --- Log message: Code refactoring. --- Diffs of the changes: (+21 -18) PassManager.cpp | 39 +-- 1 files changed, 21 insertions(+), 18 deletions(-) Index:

[llvm-commits] [llvm-gcc] Potential bug in iasm_extra_clobbers ??

2007-01-15 Thread Reid Spencer
Applites, While I've been perusing c-common.c, I have found a warning that you might not be seeing because of compiler differences: ../../src-2/gcc/c-common.c: In function ‘iasm_extra_clobbers’: ../../src-2/gcc/c-common.c:7017: warning: comparison of unsigned expression 0 is always false This

[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

2007-01-15 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.135 - 1.136 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to 0, the first variant of a compound

[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2007-01-15-AsmDialect.ll

2007-01-15 Thread Bill Wendling
Changes in directory llvm/test/Regression/CodeGen/PowerPC: 2007-01-15-AsmDialect.ll added (r1.1) --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to 0, the first variant

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

2007-01-15 Thread Bill Wendling
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.12 - 1.13 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to 0, the first variant of a compound

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

2007-01-15 Thread Bill Wendling
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.19 - 1.20 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to 0, the first variant of a

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

2007-01-15 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.25 - 1.26 X86TargetAsmInfo.h updated: 1.3 - 1.4 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It

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

2007-01-15 Thread Bill Wendling
Changes in directory llvm/lib/Target/PowerPC: PPCTargetAsmInfo.cpp updated: 1.11 - 1.12 --- Log message: Fix for PR1095: http://llvm.org/PR1095 : LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to 0, the first variant of a

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

2007-01-15 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.26 - 1.27 --- Log message: Make inline ASM the INTEL one if it's in that emission mode. --- Diffs of the changes: (+4 -2) X86TargetAsmInfo.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2007-01-15-AsmDialect.ll

2007-01-15 Thread Bill Wendling
Changes in directory llvm/test/Regression/CodeGen/PowerPC: 2007-01-15-AsmDialect.ll updated: 1.1 - 1.2 --- Log message: Added a -mtriple flag to force darwin backend. --- Diffs of the changes: (+1 -1) 2007-01-15-AsmDialect.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

[llvm-commits] [llvm-gcc] BITWIDTH.patch (for review only)

2007-01-15 Thread Reid Spencer
Here's a patch to give llvm-gcc the ability to specify arbitrary bit widths with a new bitwidth attribute. The attribute is used like this: int __attribute__((bitwidth(17))); int __attribute__((bitwidth(23))) My32BitInt; struct MyStruct { int __attribute__((bitwidth(5))) My5BitField;

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.265 - 1.266 --- Log message: add options to view the dags before the first or second pass of dag combine. --- Diffs of the changes: (+18 -0) DAGCombiner.cpp | 18 ++ 1 files changed, 18

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2007-01-15-LoadSelectCycle.ll

2007-01-15 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/Generic: 2007-01-15-LoadSelectCycle.ll added (r1.1) --- Log message: new testcase for PR1114: http://llvm.org/PR1114 --- Diffs of the changes: (+12 -0) 2007-01-15-LoadSelectCycle.ll | 12 1 files changed, 12 insertions(+)

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.266 - 1.267 --- Log message: Fix PR1114: http://llvm.org/PR1114 and CodeGen/Generic/2007-01-15-LoadSelectCycle.ll by being careful when folding c ? load p : load q that C doesn't reach either load. If so, folding

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

2007-01-15 Thread Chris Lattner
Changes in directory llvm/lib/Target: README.txt updated: 1.53 - 1.54 --- Log message: add a note: we need whole-function selectiondags :) --- Diffs of the changes: (+28 -0) README.txt | 28 1 files changed, 28 insertions(+) Index:

[llvm-commits] [patch] PR918

2007-01-15 Thread Gordon Henriksen
The attached patch fixes http://llvm.org/PR918 by preventing the C backend from emitting the problematic array typedefs. There's also a regression test. — Gordon PR918.tar.gz Description: GNU Zip compressed data ___ llvm-commits mailing list

[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2007-01-15-NamedArrayType.ll

2007-01-15 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/CBackend: 2007-01-15-NamedArrayType.ll added (r1.1) --- Log message: testcase for PR918: http://llvm.org/PR918 --- Diffs of the changes: (+11 -0) 2007-01-15-NamedArrayType.ll | 11 +++ 1 files changed, 11 insertions(+) Index: