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

2007-05-29 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] CVS: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp

2007-05-29 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.95 -> 1.96 --- Log message: Fix Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll and the second half of PR1421: http://llvm.org/PR1421 , by not decimating structs with holes that are the source and destinati

[llvm-commits] CVS: llvm/test/Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll

2007-05-29 Thread Chris Lattner
Changes in directory llvm/test/Transforms/ScalarRepl: 2007-05-29-MemcpyPreserve.ll added (r1.1) --- Log message: Testcase for PR1421: http://llvm.org/PR1421 --- Diffs of the changes: (+23 -0) 2007-05-29-MemcpyPreserve.ll | 23 +++ 1 files changed, 23 insertions(+)

[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, testca

[llvm-commits] CVS: llvm/test/CFrontend/2007-05-29-UnionCopy.c

2007-05-29 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-05-29-UnionCopy.c added (r1.1) --- Log message: new testcase for PR1421: http://llvm.org/PR1421 --- Diffs of the changes: (+18 -0) 2007-05-29-UnionCopy.c | 18 ++ 1 files changed, 18 insertions(+) Index: llvm/test/CFronten

[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/l

[llvm-commits] CVS: llvm-www/devmtg/2007-05/05-Lewycky-Predsimplify.pdf

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: 05-Lewycky-Predsimplify.pdf updated: 1.1 -> 1.2 --- Log message: new presentation, now with readable graphics! :) --- Diffs of the changes: (+0 -0) 05-Lewycky-Predsimplify.pdf |0 1 files changed Index: llvm-www/devmtg/2007-05/05-Lewycky

[llvm-commits] CVS: llvm-www/devmtg/2007-05/10-Lattner-OpenGL.pdf index.html

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: 10-Lattner-OpenGL.pdf added (r1.1) index.html updated: 1.5 -> 1.6 --- Log message: another set of slide: mine --- Diffs of the changes: (+5 -2) 10-Lattner-OpenGL.pdf |0 index.html|7 +-- 2 files changed, 5 insertions(+

[llvm-commits] CVS: llvm-www/devmtg/2007-05/03-Patel-Passmanager.pdf 04-Cheng-Codegen.pdf 05-Lewycky-Predsimplify.pdf index.html

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: 03-Patel-Passmanager.pdf added (r1.1) 04-Cheng-Codegen.pdf added (r1.1) 05-Lewycky-Predsimplify.pdf added (r1.1) index.html updated: 1.4 -> 1.5 --- Log message: add some slides, thanks to Devang for providing these --- Diffs of the changes: (+14

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

2007-05-29 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.59 -> 1.60 --- Log message: Changed per review comment. --- Diffs of the changes: (+2 -3) BranchFolding.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/BranchFolding.cpp diff -u

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

2007-05-29 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.58 -> 1.59 --- Log message: Make stable_sort in tail merging actually be stable (it never was, but didn't matter until my last change). Reenable tail merging by default. --- Diffs of the changes: (+16 -1) BranchFolding.cp

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

2007-05-29 Thread Dale Johannesen
Changes in directory llvm/include/llvm/Target: TargetMachine.h updated: 1.79 -> 1.80 --- Log message: Make stable_sort in tail merging actually be stable (it never was, but didn't matter until my last change). Reenable tail merging by default. --- Diffs of the changes: (+2 -2) TargetMachi

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

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.14 -> 1.15 --- Log message: Don't merge in tail block of a diamond if it has more than one predecessors after if-conversion. --- Diffs of the changes: (+4 -2) IfConversion.cpp |6 -- 1 files changed, 4 insertions(+)

[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h

2007-05-29 Thread Owen Anderson
Changes in directory llvm/include/llvm/Transforms: Scalar.h updated: 1.79 -> 1.80 --- Log message: Put GVN-PRE in all the right places. --- Diffs of the changes: (+7 -0) Scalar.h |7 +++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/Transforms/Scalar.h diff -u llvm/in

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/include/llvm: LinkAllPasses.h updated: 1.14 -> 1.15 --- Log message: Put GVN-PRE in all the right places. --- Diffs of the changes: (+1 -0) LinkAllPasses.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/LinkAllPasses.h diff -u llvm/include/ll

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrVFP.td

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrVFP.td updated: 1.6 -> 1.7 --- Log message: For VFP2 fldm, fstm instructions, the condition code is printed after the address mode and size specifier. e.g. fstmiaseq, not fstmeqias. --- Diffs of the changes: (+4 -4) ARMInstrVFP.td |8 ++

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.5 -> 1.6 --- Log message: Fix a typo --- Diffs of the changes: (+1 -1) GVNPRE.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/GVNPRE.cpp diff -u llvm/lib/Transforms/Scal

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.td

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.td updated: 1.106 -> 1.107 --- Log message: For ldrb, strh, etc., the condition code is before the width specifier. e.g. streqh, not strheq. --- Diffs of the changes: (+23 -23) ARMInstrInfo.td | 46 +++

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.4 -> 1.5 --- Log message: Re-fix a bug, where I was now being too aggressive. --- Diffs of the changes: (+5 -1) GVNPRE.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/lib/Transforms/Scal

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.3 -> 1.4 --- Log message: Use proper debugging facilities so other people don't have to look at my commented-out debugging lines. --- Diffs of the changes: (+18 -14) GVNPRE.cpp | 32 ++--

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.2 -> 1.3 --- Log message: Comment debug code out that I accidentally uncommented last time. --- Diffs of the changes: (+2 -2) GVNPRE.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Tr

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.1 -> 1.2 --- Log message: Add a place where I missed using the maximal set. Note that using the maximal set this way is _SLOW_. Somewhere down the line, I'll look at speeding it up. --- Diffs of the changes: (+3 -3) G

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

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.13 -> 1.14 --- Log message: If there is an empty block between a source and its successor block, it still requires a unconditional branch. --- Diffs of the changes: (+37 -30) IfConversion.cpp | 67

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

2007-05-29 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp added (r1.1) --- Log message: Very first part of a GVN-PRE implementation. It currently performs a bunch of analysis, and nothing more. It is also quite slow for the moment. However, it should give a sense of what's going on. ---

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

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: index.html updated: 1.3 -> 1.4 --- Log message: rename video for consistency --- Diffs of the changes: (+2 -2) index.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/devmtg/2007-05/index.html diff -u llvm-www

Re: [llvm-commits] initial mips support!

2007-05-29 Thread Evan Cheng
Hi, I know nothing about MIPs so I only do some nitpicking. Please fix them and then re-submit: 1. isMoveInstr(): // addiu $n, $n, 0 if (MI.getOpcode() == Mips::ADDiu) { if ((MI.getOperand(1).isRegister()) && (isZeroImm(MI.getOperand(2 { DstReg = MI.getOperand(0).ge

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp ARMInstrInfo.h ARMLoadStoreOptimizer.cpp ARMRegisterInfo.cpp

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.31 -> 1.32 ARMInstrInfo.h updated: 1.12 -> 1.13 ARMLoadStoreOptimizer.cpp updated: 1.12 -> 1.13 ARMRegisterInfo.cpp updated: 1.96 -> 1.97 --- Log message: Add missing const qualifiers. --- Diffs of the changes: (+24 -19)

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

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.31 -> 1.32 --- Log message: Add missing const qualifiers. --- Diffs of the changes: (+1 -1) TargetInstrInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/TargetInstrInfo.cpp diff -u

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

2007-05-29 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: MachineInstr.cpp updated: 1.150 -> 1.151 --- Log message: Add missing const qualifiers. --- Diffs of the changes: (+8 -7) MachineInstr.cpp | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) Index: llvm/lib/CodeGen/MachineInstr.c

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

2007-05-29 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.124 -> 1.125 --- Log message: Add missing const qualifiers. --- Diffs of the changes: (+7 -5) TargetInstrInfo.h | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) Index: llvm/include/llvm/Target

[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h

2007-05-29 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.220 -> 1.221 --- Log message: Add missing const qualifiers. --- Diffs of the changes: (+5 -4) MachineInstr.h |9 + 1 files changed, 5 insertions(+), 4 deletions(-) Index: llvm/include/llvm/CodeGen/Machin

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

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: index.html updated: 1.2 -> 1.3 --- Log message: remove toc. --- Diffs of the changes: (+1 -16) index.html | 17 + 1 files changed, 1 insertion(+), 16 deletions(-) Index: llvm-www/devmtg/2007-05/index.html diff -u llvm-www/de

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

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: index.html updated: 1.1 -> 1.2 --- Log message: fix path --- Diffs of the changes: (+3 -3) index.html |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm-www/devmtg/2007-05/index.html diff -u llvm-www/devmtg/2007-05/in

[llvm-commits] CVS: llvm-www/devmtg/2007-05/09-Naroff-CFE.pdf index.html

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: 09-Naroff-CFE.pdf added (r1.1) index.html added (r1.1) --- Log message: first hack at proceedings for the dev mtg, with videos! --- Diffs of the changes: (+246 -0) 09-Naroff-CFE.pdf |0 index.html| 246

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

2007-05-29 Thread Nicolas Geoffray
Changes in directory llvm/lib/Target/PowerPC: PPCJITInfo.cpp updated: 1.37 -> 1.38 --- Log message: Implementation of compilation callback in PPC ELF32 --- Diffs of the changes: (+32 -31) PPCJITInfo.cpp | 63 - 1 files changed, 32

[llvm-commits] CVS: llvm-www/devmtg/2007-05/

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg/2007-05: --- Log message: Directory /var/cvs/llvm/llvm-www/devmtg/2007-05 added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu htt

[llvm-commits] CVS: llvm-www/devmtg/

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/devmtg: --- Log message: Directory /var/cvs/llvm/llvm-www/devmtg added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiu

[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] CVS: llvm-www/releases/2.0/LICENSE.TXT

2007-05-29 Thread Chris Lattner
Changes in directory llvm-www/releases/2.0: LICENSE.TXT added (r1.1) --- Log message: Add missing file --- Diffs of the changes: (+69 -0) LICENSE.TXT | 69 1 files changed, 69 insertions(+) Index: llvm-www/releases/2.0/LICENS

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

2007-05-29 Thread Chris Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.248 -> 1.249 --- Log message: more fixes to C code. --- Diffs of the changes: (+4 -4) LangRef.html |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.248

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

2007-05-29 Thread Bill Wendling
Changes in directory llvm/docs: LangRef.html updated: 1.247 -> 1.248 --- Log message: Fixed some formatting. --- Diffs of the changes: (+10 -9) LangRef.html | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangR

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

2007-05-29 Thread Bill Wendling
Changes in directory llvm/docs: FAQ.html updated: 1.43 -> 1.44 --- Log message: Added "llvmc" to the FAQ. --- Diffs of the changes: (+14 -2) FAQ.html | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) Index: llvm/docs/FAQ.html diff -u llvm/docs/FAQ.html:1.43 llvm/

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

2007-05-29 Thread Bill Wendling
Changes in directory llvm/docs: LangRef.html updated: 1.246 -> 1.247 --- Log message: Fix for PR1452: http://llvm.org/PR1452 . Removed "define" keyword from the C code. Added "" to code examples. --- Diffs of the changes: (+85 -45) LangRef.html | 130 +

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

2007-05-29 Thread Bill Wendling
Changes in directory llvm/docs: FAQ.html updated: 1.42 -> 1.43 --- Log message: Added "doc_class" div tags to code segments. --- Diffs of the changes: (+44 -17) FAQ.html | 61 - 1 files changed, 44 insertions(+), 17 deletions(-)