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

2007-02-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: RegAllocLinearScan.cpp updated: 1.136 - 1.137 --- Log message: Add live-ins to every BB. --- Diffs of the changes: (+20 -0) RegAllocLinearScan.cpp | 20 1 files changed, 20 insertions(+) Index:

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

2007-02-16 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: MachineInstr.cpp updated: 1.140 - 1.141 --- Log message: Print dead def operands. --- Diffs of the changes: (+2 -0) MachineInstr.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/CodeGen/MachineInstr.cpp diff -u

[llvm-commits] CVS: llvm-test/MultiSource/Applications/minisat/Makefile

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/minisat: Makefile updated: 1.5 - 1.6 --- Log message: Allow the CBE to link on Linux by adding the math library for pow --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm-test/MultiSource/Applications/minisat/Makefile

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/minisat: Makefile updated: 1.6 - 1.7 --- Log message: Set a tolerance of 0.1 so that LLC and CBE can pass on SSE machines. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index:

[llvm-commits] CVS: llvm-test/MultiSource/Applications/minisat/Makefile

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test/MultiSource/Applications/minisat: Makefile updated: 1.7 - 1.8 --- Log message: Use $(SHLIBEXT) for the shared library extension instead of .dylib --- Diffs of the changes: (+1 -2) Makefile |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm-test/autoconf/configure.ac

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test/autoconf: configure.ac updated: 1.42 - 1.43 --- Log message: Add support for SHLIBEXT --- Diffs of the changes: (+4 -0) configure.ac |4 1 files changed, 4 insertions(+) Index: llvm-test/autoconf/configure.ac diff -u

[llvm-commits] CVS: llvm-test/Makefile.config.in

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test: Makefile.config.in updated: 1.24 - 1.25 --- Log message: Add support for SHLIBEXT --- Diffs of the changes: (+3 -0) Makefile.config.in |3 +++ 1 files changed, 3 insertions(+) Index: llvm-test/Makefile.config.in diff -u

[llvm-commits] CVS: llvm-test/configure

2007-02-16 Thread Reid Spencer
Changes in directory llvm-test: configure updated: 1.44 - 1.45 --- Log message: Regenerate. --- Diffs of the changes: (+50 -24) configure | 74 +- 1 files changed, 50 insertions(+), 24 deletions(-) Index: llvm-test/configure

[llvm-commits] CVS: llvm/lib/Support/GraphWriter.cpp

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/lib/Support: GraphWriter.cpp updated: 1.7 - 1.8 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+4 -4)

[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/tools/llvm-ld: llvm-ld.cpp updated: 1.48 - 1.49 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+4 -4)

[llvm-commits] CVS: llvm/include/llvm/System/Program.h

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/System: Program.h updated: 1.13 - 1.14 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+4 -0)

[llvm-commits] CVS: llvm/tools/lto/lto.cpp

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/tools/lto: lto.cpp updated: 1.36 - 1.37 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+1 -1) lto.cpp |

[llvm-commits] CVS: llvm/autoconf/configure.ac

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/autoconf: configure.ac updated: 1.264 - 1.265 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+2 -1)

[llvm-commits] CVS: llvm/include/llvm/Config/config.h.in

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Config: config.h.in updated: 1.74 - 1.75 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+3

[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.44 - 1.45 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+2

[llvm-commits] CVS: llvm/lib/System/Unix/Program.inc

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/lib/System/Unix: Program.inc updated: 1.22 - 1.23 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+30 -0)

[llvm-commits] CVS: llvm/lib/System/Win32/Program.inc

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/lib/System/Win32: Program.inc updated: 1.18 - 1.19 --- Log message: Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 --- Diffs of the changes: (+1 -0)

[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp BugDriver.h ExecutionDriver.cpp OptimizerDriver.cpp ToolRunner.cpp ToolRunner.h bugpoint.cpp

2007-02-16 Thread Anton Korobeynikov
Changes in directory llvm/tools/bugpoint: BugDriver.cpp updated: 1.50 - 1.51 BugDriver.h updated: 1.47 - 1.48 ExecutionDriver.cpp updated: 1.68 - 1.69 OptimizerDriver.cpp updated: 1.49 - 1.50 ToolRunner.cpp updated: 1.60 - 1.61 ToolRunner.h updated: 1.23 - 1.24 bugpoint.cpp updated: 1.35 - 1.36

[llvm-commits] CVS: llvm/configure

2007-02-16 Thread Reid Spencer
Changes in directory llvm: configure updated: 1.269 - 1.270 --- Log message: Regenerate for getrlimit/setrlimit. --- Diffs of the changes: (+112 -1) configure | 113 +- 1 files changed, 112 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrAltivec.td

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCInstrAltivec.td updated: 1.55 - 1.56 --- Log message: fix incorrect encoding of vminsw. --- Diffs of the changes: (+1 -1) PPCInstrAltivec.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.97 - 1.98 --- Log message: simplify some code, ensure that packed structures get abi alignment of 1. --- Diffs of the changes: (+11 -18) TargetData.cpp | 29 +++-- 1 files changed, 11 insertions(+),

[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.11 - 1.12 --- Log message: Review changes: 1. Function style changes. 2. 80-col violations. 3. Better names for things. 4. Arrange constructors so they all take bit width first. 5. Add named signed and unsigned comparison functions

[llvm-commits] Minor TD nick

2007-02-16 Thread Scott Michel
Packed structures are always packed for ABI and preferred alignment. Index: lib/Target/TargetData.cpp === --- lib/Target/TargetData.cpp (.../trunk) (revision 924) +++ lib/Target/TargetData.cpp (.../branches/llvm-spu) (revision 924) @@

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

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.98 - 1.99 --- Log message: Remove an unnecessary predicate. Patch by Scott Michel. --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-02-16 Thread Chris Lattner
Remove an unnecessary predicate. Patch by Scott Michel. It's not clear that this is unnecessary. Scott, does this mean that %X = global {int} { int 1 } will get alignment 1? -Chris --- Diffs of the changes: (+1 -1) TargetData.cpp |2 +- 1 files changed, 1 insertion(+), 1

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: 2007-02-16-AlignPacked.ll added (r1.1) --- Log message: testcase for recent targetdata regression --- Diffs of the changes: (+3 -0) 2007-02-16-AlignPacked.ll |3 +++ 1 files changed, 3 insertions(+) Index:

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.99 - 1.100 --- Log message: Fix CodeGen/PowerPC/2007-02-16-AlignPacked.ll --- Diffs of the changes: (+2 -2) TargetData.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetData.cpp

[llvm-commits] [123989] Save and Restore LLVM values to GCC DECL tree link.

2007-02-16 Thread dpatel
Revision: 123989 Author: dpatel Date: 2007-02-16 16:10:49 -0800 (Fri, 16 Feb 2007) Log Message: --- Save and Restore LLVM values to GCC DECL tree link. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp

[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.12 - 1.13 --- Log message: Fix bugs introduced by constructor parameter order change. --- Diffs of the changes: (+29 -13) APInt.cpp | 42 +- 1 files changed, 29 insertions(+), 13

[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h

2007-02-16 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.10 - 1.11 --- Log message: Fix bugs introduced by constructor parameter order change. --- Diffs of the changes: (+3 -3) APInt.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index:

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.100 - 1.101 --- Log message: Do not dereference invalid ranges. Generalize targetdata alignment model. This fixes the UnitTests/Vector/sumarray-dbl regressions. --- Diffs of the changes: (+51 -61) TargetData.cpp | 112

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

2007-02-16 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.41 - 1.42 --- Log message: Fixes PR 1200: http://llvm.org/PR1200 --- Diffs of the changes: (+29 -13) BranchFolding.cpp | 42 +- 1 files changed, 29 insertions(+), 13

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/branch-opt.ll

2007-02-16 Thread Dale Johannesen
Changes in directory llvm/test/CodeGen/PowerPC: branch-opt.ll updated: 1.5 - 1.6 --- Log message: Fixes PR 1200: http://llvm.org/PR1200 --- Diffs of the changes: (+2 -1) branch-opt.ll |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-02-16-BranchFold.ll

2007-02-16 Thread Dale Johannesen
Changes in directory llvm/test/CodeGen/Generic: 2007-02-16-BranchFold.ll added (r1.1) --- Log message: Fixes PR 1200: http://llvm.org/PR1200 --- Diffs of the changes: (+71 -0) 2007-02-16-BranchFold.ll | 71 +++ 1 files changed, 71

[llvm-commits] CVS: llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll

2007-02-16 Thread Dale Johannesen
Changes in directory llvm/test/CodeGen/X86: 2006-10-19-SwitchUnnecessaryBranching.ll updated: 1.4 - 1.5 --- Log message: Fixes PR 1200: http://llvm.org/PR1200 --- Diffs of the changes: (+1 -1) 2006-10-19-SwitchUnnecessaryBranching.ll |2 +- 1 files changed, 1 insertion(+), 1

Re: [llvm-commits] llvm-gcc4: display the LLVM type when printing type trees

2007-02-16 Thread Chris Lattner
Very cool. However, it doesn't apply to CVS right. GET_TYPE_LLVM needs to go through the LTypes vector now, can you plz update the patch? Thanks, -Chris On Feb 15, 2007, at 1:45 PM, Duncan Sands wrote: For example: (gdb) call debug_tree(type) void_type 0xb7bd6ac8 void sizes-gimplified

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-02-16-BranchFold.ll

2007-02-16 Thread Dale Johannesen
Changes in directory llvm/test/CodeGen/Generic: 2007-02-16-BranchFold.ll updated: 1.1 - 1.2 --- Log message: adding PR 1200: http://llvm.org/PR1200 comment by request --- Diffs of the changes: (+1 -0) 2007-02-16-BranchFold.ll |1 + 1 files changed, 1 insertion(+) Index:

[llvm-commits] [123990] Removed redundant EmittedGlobalVars and EmittedFunctions maps.

2007-02-16 Thread bwendlin
Revision: 123990 Author: bwendlin Date: 2007-02-16 17:18:16 -0800 (Fri, 16 Feb 2007) Log Message: --- Removed redundant EmittedGlobalVars and EmittedFunctions maps. Switched to using the get* methods in Module instead. Modified Paths: --

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-16-VoidPtrDiff.c

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-16-VoidPtrDiff.c added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+5 -0) 2007-02-16-VoidPtrDiff.c |5 + 1 files changed, 5 insertions(+) Index: llvm/test/CFrontend/2007-02-16-VoidPtrDiff.c diff -c /dev/null

[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] CVS: llvm/lib/Support/APInt.cpp

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.13 - 1.14 --- Log message: Clean up the divide and remainder logic a bit (exit early). Use more meaningful variable names. Add comments to document the flow. --- Diffs of the changes: (+90 -65) APInt.cpp | 155

[llvm-commits] CVS: llvm/lib/Support/APInt.cpp

2007-02-16 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.14 - 1.15 --- Log message: Move static functions closer to their usage. --- Diffs of the changes: (+295 -295) APInt.cpp | 590 +++--- 1 files changed, 295 insertions(+),

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

2007-02-16 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.135 - 1.136 --- Log message: Use inverted map to speedup collectLastUses(). --- Diffs of the changes: (+16 -4) PassManager.cpp | 20 1 files changed, 16 insertions(+), 4 deletions(-) Index:

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

2007-02-16 Thread Devang Patel
Changes in directory llvm/include/llvm: PassManagers.h updated: 1.7 - 1.8 --- Log message: Use inverted map to speedup collectLastUses(). --- Diffs of the changes: (+5 -0) PassManagers.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/PassManagers.h diff -u

[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: --

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-16-WritableStrings.c

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-16-WritableStrings.c added (r1.1) --- Log message: new testcase for -fwritable-strings --- Diffs of the changes: (+7 -0) 2007-02-16-WritableStrings.c |7 +++ 1 files changed, 7 insertions(+) Index:

[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

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-16-VariableSizeStructArg.c

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-16-VariableSizeStructArg.c added (r1.1) --- Log message: testcase for PR1170: http://llvm.org/PR1170 --- Diffs of the changes: (+7 -0) 2007-02-16-VariableSizeStructArg.c |7 +++ 1 files changed, 7 insertions(+) Index:

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: 2007-02-16-InlineAsmNConstraint.ll added (r1.1) --- Log message: new testcase that crashes llc --- Diffs of the changes: (+12 -0) 2007-02-16-InlineAsmNConstraint.ll | 12 1 files changed, 12 insertions(+) Index:

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: TargetLowering.cpp updated: 1.91 - 1.92 --- Log message: Implement i/n/s constraints correctly. This fixes test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll --- Diffs of the changes: (+16 -2) TargetLowering.cpp | 18

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: LargeAbsoluteAddr.ll added (r1.1) --- Log message: Test that large absolute addresses are properly folded into addr modes on both ppc32 and ppc64. --- Diffs of the changes: (+9 -0) LargeAbsoluteAddr.ll |9 + 1 files changed, 9

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.249 - 1.250 --- Log message: Compile test/CodeGen/PowerPC/LargeAbsoluteAddr.ll to: _test: lis r2, 743 li r3, 0 stw r3, 32751(r2) blr instead of: _test: li r2, 0 stw

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll

2007-02-16 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/PowerPC: LargeAbsoluteAddr.ll updated: 1.1 - 1.2 --- Log message: new test --- Diffs of the changes: (+6 -0) LargeAbsoluteAddr.ll |6 ++ 1 files changed, 6 insertions(+) Index: llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll diff -u

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

2007-02-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.250 - 1.251 --- Log message: Fix ixaddrs as well, allowing ppc64 to compile to: _test2: li r2, 0 lis r3, 1 std r2, 9024(r3) blr instead of: _test2: lis r2, 1 li r3,