[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotTable.h

2007-01-28 Thread LLVM
Changes in directory llvm/lib/Bytecode/Writer: SlotTable.h (r1.5) removed --- Log message: This file has been dead for a long time. Remove it. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/tools/llvm-extract: llvm-extract.cpp updated: 1.33 - 1.34 --- 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 generalization

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.102 - 1.103 --- 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

[llvm-commits] CVS: llvm/include/llvm/CallingConv.h DerivedTypes.h

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm: CallingConv.h updated: 1.5 - 1.6 DerivedTypes.h updated: 1.81 - 1.82 --- 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.

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.255 - 1.256 Type.cpp updated: 1.166 - 1.167 Verifier.cpp updated: 1.186 - 1.187 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning place this

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Transforms: IPO.h updated: 1.47 - 1.48 --- 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 generalization of

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.247 - 1.248 --- 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

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.165 - 1.166 --- 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

[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l Lexer.l.cvs llvmAsmParser.y llvmAsmParser.y.cvs

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/AsmParser: Lexer.l updated: 1.96 - 1.97 Lexer.l.cvs updated: 1.23 - 1.24 llvmAsmParser.y updated: 1.313 - 1.314 llvmAsmParser.y.cvs updated: 1.59 - 1.60 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.4 - 1.5 --- 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 generalization of

[llvm-commits] CVS: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp ExtractFunction.cpp

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Transforms/IPO: DeadArgumentElimination.cpp updated: 1.34 - 1.35 ExtractFunction.cpp updated: 1.15 - 1.16 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning place this parameter in

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.459 - 1.460 SelectionDAGISel.cpp updated: 1.346 - 1.347 --- Log message: Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning place this parameter in

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

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/docs: LangRef.html updated: 1.203 - 1.204 --- Log message: Document 'inreg' 'sret' --- Diffs of the changes: (+8 -20) LangRef.html | 28 1 files changed, 8 insertions(+), 20 deletions(-) Index: llvm/docs/LangRef.html diff -u

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

2007-01-28 Thread Chris Lattner
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.49 - 1.50 UpgradeParser.y.cvs updated: 1.47 - 1.48 --- Log message: Drop CSRET CC Is this patch right? Two issues: 1. You removed TypeHasInteger[I]. Is that correct? 2. You map csretcc directly to ccc. You should

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

2007-01-28 Thread Chris Lattner
Document 'inreg' 'sret' Nice. @@ -743,14 +730,15 @@ dtttsext/tt/dt ddThis indicates that the parameter should be sign extended just before a call to this function./dd +dtttinreg/tt/dt +ddThis indicates that the parameter should be placed in register (if +

Re: [llvm-commits] CVS: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp ExtractFunction.cpp

2007-01-28 Thread Chris Lattner
bool deleteFunction() { + // If we're in relinking mode, set linkage of all internal callees to + // external. This will allow us extract function, and then - link + // everything together I think 'relink' should always be true. In the case where you are

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

2007-01-28 Thread Chris Lattner
+/// runs. This has one result value for each argument / flag pair, plus +/// a chain result. It must be custom legalized. Flag argument indicates +/// misc. argument attributes. Currently: +/// Bit 0 - signness +/// Bit 1 - 'inreg' attribute +/// Bit 2 -

Re: [llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp SelectionDAGISel.cpp

2007-01-28 Thread Chris Lattner
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Sun Jan 28 07:31:35 2007 @@ -2168,6 +2168,7 @@ const char *FnName = 0; if (Node-getOpcode() == ISD::MEMSET) { Entry.Node = Tmp2; Entry.isSigned = false; Entry.Ty = IntPtrTy; + Entry.isInReg = false;

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

2007-01-28 Thread Nick Lewycky
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.317 - 1.318 --- Log message: Fix compile error jump to case label crosses initialization. What compiler are people using that accepts this code? --- Diffs of the changes: (+6 -5) X86ISelLowering.cpp | 11

[llvm-commits] SRet InReg patch for llvm-gcc

2007-01-28 Thread Anton Korobeynikov
Hello, Everyone. Attached patch will enable llvm-gcc to use sret inreg attributes. -- With best regards, Anton Korobeynikov. Faculty of Mathematics Mechanics, Saint Petersburg State University. diff -r 19e687420e52 gcc/config/i386/cygming.h --- a/gcc/config/i386/cygming.h Sun Jan 28

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

2007-01-28 Thread Anton Korobeynikov
Hello, Nick. Fix compile error jump to case label crosses initialization. What compiler are people using that accepts this code? Sorry for the breakage. It was just gcc 3.4.6 :( I know about this feature and double checked the code. However, I was wrong -- With best regards, Anton

Re: [llvm-commits] SRet InReg patch for llvm-gcc

2007-01-28 Thread Chris Lattner
On Jan 28, 2007, at 7:43 AM, Anton Korobeynikov wrote: Hello, Everyone. Attached patch will enable llvm-gcc to use sret inreg attributes. Applied, thanks! -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu

Re: [llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp

2007-01-28 Thread Chris Lattner
On Jan 28, 2007, at 7:51 AM, Nick Lewycky wrote: Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.34 - 1.35 --- Log message: Drop CSRET from here too. Thanks Nick, Note that llvm2cpp should probably be enhanced to support function/ param attributes (in general) as well

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

2007-01-28 Thread Anton Korobeynikov
Hello, Chris. Is there any reason not to use the parameter attribute enum directly? Well. Actually not all attributes should be propagated to lowering stage. Also, there can be possible another attributes. Maybe it's worth to make just new enum for this? -- With best regards, Anton

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.460 - 1.461 SelectionDAGISel.cpp updated: 1.347 - 1.348 --- Log message: More cleanup --- Diffs of the changes: (+5 -4) LegalizeDAG.cpp |4 ++-- SelectionDAGISel.cpp |5 +++-- 2 files changed, 5

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.348 - 1.349 --- Log message: Arguments are counting from 1. not from 0. Maybe we should change numbering somehow? E.g. make return argument the last? --- Diffs of the changes: (+1 -1) SelectionDAGISel.cpp

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

2007-01-28 Thread Reid Spencer
On Sun, 2007-01-28 at 07:04 -0800, Chris Lattner wrote: Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.49 - 1.50 UpgradeParser.y.cvs updated: 1.47 - 1.48 --- Log message: Drop CSRET CC Is this patch right? No its not. It reverts the fix for PR1137.

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

2007-01-28 Thread Reid Spencer
Changes in directory llvm/include/llvm/CodeGen: IntrinsicLowering.h updated: 1.11 - 1.12 --- Log message: Adjust a comment to reflect reality. --- Diffs of the changes: (+4 -4) IntrinsicLowering.h |8 1 files changed, 4 insertions(+), 4 deletions(-) Index:

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

2007-01-28 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.59 - 1.60 --- Log message: For PR1138: http://llvm.org/PR1138 : Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. --- Diffs of the

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

2007-01-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm: Type.h updated: 1.102 - 1.103 --- Log message: Make doxygen happy --- Diffs of the changes: (+1 -1) Type.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Type.h diff -u llvm/include/llvm/Type.h:1.102

[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp

2007-01-28 Thread Chris Lattner
Changes in directory llvm/lib/Linker: LinkModules.cpp updated: 1.127 - 1.128 --- Log message: Fix PR1139: http://llvm.org/PR1139 --- Diffs of the changes: (+23 -16) LinkModules.cpp | 39 +++ 1 files changed, 23 insertions(+), 16 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Linker/LinkModules.cpp

2007-01-28 Thread Chris Lattner
Changes in directory llvm/lib/Linker: LinkModules.cpp updated: 1.128 - 1.129 --- Log message: Read from the right place. --- Diffs of the changes: (+1 -1) LinkModules.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Linker/LinkModules.cpp diff -u

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

2007-01-28 Thread Reid Spencer
On Sun, 2007-01-28 at 16:04 -0800, Chris Lattner wrote: For PR1138: http://llvm.org/PR1138 : Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. What do you mean, which both target 32-bit machines? CBE

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

2007-01-28 Thread Chris Lattner
On Jan 28, 2007, at 7:52 PM, Reid Spencer wrote: On Sun, 2007-01-28 at 16:04 -0800, Chris Lattner wrote: For PR1138: http://llvm.org/PR1138 : Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which both target 32-bit machines, this should be okay. What do you

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

2007-01-28 Thread Reid Spencer
On Sun, 2007-01-28 at 20:31 -0800, Chris Lattner wrote: On Jan 28, 2007, at 7:52 PM, Reid Spencer wrote: On Sun, 2007-01-28 at 16:04 -0800, Chris Lattner wrote: For PR1138: http://llvm.org/PR1138 : Force memcpy to be the 32-bit variant. Since this is only used with CBE and lli which

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

2007-01-28 Thread Chris Lattner
I don't recall making that the statement, but even if I did, it is certainly not true :) I gathered that :) I'll use TD to get the right size and trunc or zext up to deal with 32/64 mismatches. However, this will take a bit. IntrinsicLowering doesn't have TargetData so I have to pass it in

[llvm-commits] CVS: llvm/test/Assembler/2006-05-26-VarargsCallEncode.ll

2007-01-28 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2006-05-26-VarargsCallEncode.ll updated: 1.2 - 1.3 --- Log message: Update this test case to look for sret parameter attribute not csret cc. --- Diffs of the changes: (+2 -1) 2006-05-26-VarargsCallEncode.ll |3 ++- 1 files changed, 2

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

2007-01-28 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.51 - 1.52 UpgradeInternals.h updated: 1.6 - 1.7 --- Log message: Upgrade old csret calling convention into sret parameter attribute. --- Diffs of the changes: (+60 -15) UpgradeInternals.h |7 +