[llvm-commits] CVS: llvm/include/llvm/Support/MemoryBuffer.h

2007-04-28 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: MemoryBuffer.h added (r1.1) --- Log message: Add a new memorybuffer class, to unify all the file reading code in the system --- Diffs of the changes: (+83 -0) MemoryBuffer.h | 83 + 1

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/Support: MemoryBuffer.cpp added (r1.1) --- Log message: Add a new memorybuffer class, to unify all the file reading code in the system --- Diffs of the changes: (+239 -0) MemoryBuffer.cpp | 239 +++ 1 files

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/include/llvm/System: Path.h updated: 1.52 -> 1.53 --- Log message: new method for creating a path, which does not create a temporary string. --- Diffs of the changes: (+8 -0) Path.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/Syste

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.10 -> 1.11 --- Log message: fit in 80 cols --- Diffs of the changes: (+5 -6) llvm-bcanalyzer.cpp | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) Index: llvm/tools/llvm-bcanalyzer/llvm-bca

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.14 -> 1.15 --- Log message: Fix this to use the right block ID --- Diffs of the changes: (+1 -3) BitcodeWriter.cpp |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/lib/Bitcode/Writer/Bitcod

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.13 -> 1.14 --- Log message: moved Writer.cpp -> BitcodeWriter.cpp to make it more unique in the tree. --- Diffs of the changes: (+1 -1) BitcodeWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) I

[llvm-commits] [126686] two minor fixes

2007-04-28 Thread clattner
Revision: 126686 Author: clattner Date: 2007-04-28 21:26:55 -0700 (Sat, 28 Apr 2007) Log Message: --- two minor fixes Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/branches/llvm/gcc/llvm-backend.cpp =

[llvm-commits] [126685] Add alias support to llvm-gcc

2007-04-28 Thread clattner
Revision: 126685 Author: clattner Date: 2007-04-28 21:24:20 -0700 (Sat, 28 Apr 2007) Log Message: --- Add alias support to llvm-gcc Patch by Anton K! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp apple-local/branches/llvm/gcc/llvm.h apple

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

2007-04-28 Thread Chris Lattner
> Index: llvm/docs/LangRef.html > diff -u llvm/docs/LangRef.html:1.238 llvm/docs/LangRef.html:1.239 > --- llvm/docs/LangRef.html:1.238 Wed Apr 25 09:27:10 2007 > +++ llvm/docs/LangRef.htmlSat Apr 28 08:44:59 2007 > @@ -24,6 +24,7 @@ >Calling Conventions >Global Variables >

Re: [llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-04-28 Thread Chris Lattner
> + switch (ID.Type) { > + case ValID::GlobalName: > + case ValID::GlobalID: > + const PointerType *PTy = dyn_cast(Ty); > + if (!PTy) { > + GenerateError("Invalid type for reference to global" ); > + return 0; > + } > + const Type* ElTy = PTy->getElementType(); > + if (const Fu

Re: [llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Globals.cpp Module.cpp Verifier.cpp

2007-04-28 Thread Chris Lattner
> +++ llvm/lib/VMCore/AsmWriter.cpp Sat Apr 28 08:44:59 2007 > @@ -926,7 +926,7 @@ > assert(0 && "Invalid alias linkage"); >} > > - const GlobalValue *Aliasee = GA->getAliasee(); > + const Constant *Aliasee = dyn_cast_or_null(GA- > >getAliasee()); >assert(Aliasee && "Aliasee cann

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

2007-04-28 Thread Chris Lattner
> Index: llvm/lib/Transforms/IPO/GlobalDCE.cpp > diff -u llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.43 llvm/lib/ > Transforms/IPO/GlobalDCE.cpp:1.44 > --- llvm/lib/Transforms/IPO/GlobalDCE.cpp:1.43Wed Apr 25 09:27:10 > 2007 > +++ llvm/lib/Transforms/IPO/GlobalDCE.cpp Sat Apr 28 08:44:59

Re: [llvm-commits] CVS: llvm/include/llvm/Function.h GlobalAlias.h GlobalValue.h GlobalVariable.h

2007-04-28 Thread Chris Lattner
> Index: llvm/include/llvm/Function.h > diff -u llvm/include/llvm/Function.h:1.82 llvm/include/llvm/ > Function.h:1.83 > --- llvm/include/llvm/Function.h:1.82 Wed Apr 25 09:27:10 2007 > +++ llvm/include/llvm/Function.h Sat Apr 28 08:44:59 2007 > @@ -81,6 +81,15 @@ >void setNext(Function *

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

2007-04-28 Thread Chris Lattner
> Index: llvm/lib/CodeGen/AsmPrinter.cpp > diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.157 llvm/lib/CodeGen/ > AsmPrinter.cpp:1.158 > --- llvm/lib/CodeGen/AsmPrinter.cpp:1.157 Wed Apr 25 09:27:10 2007 > +++ llvm/lib/CodeGen/AsmPrinter.cpp Sat Apr 28 08:44:59 2007 > @@ -123,18 +123,29 @@ >

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Christopher Lamb
On Apr 28, 2007, at 9:07 PM, Reid Spencer wrote: Hi Chris, On Sat, 28 Apr 2007 20:09:14 -0500 Christopher Lamb <[EMAIL PROTECTED]> wrote: As part of the SVN migration, perhaps we could get an autobuilder that builds and runs at least the llvm/test suite for each changeset. That'd at lea

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Reid Spencer
Hi Chris, On Sat, 28 Apr 2007 20:09:14 -0500 Christopher Lamb <[EMAIL PROTECTED]> wrote: >As part of the SVN migration, perhaps we could get an autobuilder that builds >and runs at least the llvm/test suite for each changeset. That'd at least >make identifying the offending changeset possible

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Christopher Lamb
As part of the SVN migration, perhaps we could get an autobuilder that builds and runs at least the llvm/test suite for each changeset. That'd at least make identifying the offending changeset possible. -- Christopher Lamb ___ llvm-commits mailin

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

2007-04-28 Thread Jeff Cohen
Changes in directory llvm/docs: LangRef.html updated: 1.239 -> 1.240 --- Log message: Minor corrections. --- Diffs of the changes: (+60 -61) LangRef.html | 121 +-- 1 files changed, 60 insertions(+), 61 deletions(-) Index: llvm/docs

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.437 -> 1.438 --- Log message: memory operands that have a direct operand should have their stores created before the copies into physregs are done. This avoids having flag operands skip the store, causing cycle

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.436 -> 1.437 --- Log message: eliminate more redundant constraint type analysis --- Diffs of the changes: (+2 -6) SelectionDAGISel.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Ind

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.435 -> 1.436 --- Log message: merge constraint type analysis stuff together. --- Diffs of the changes: (+21 -14) SelectionDAGISel.cpp | 35 +-- 1 files changed, 21 insertio

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

2007-04-28 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.434 -> 1.435 --- Log message: Significant refactoring of the inline asm stuff, to support future changes. No functionality change. --- Diffs of the changes: (+107 -82) SelectionDAGISel.cpp | 189 ++

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

2007-04-28 Thread Chris Lattner
On Apr 28, 2007, at 1:01 PM, Anton Korobeynikov wrote: >> I'd suggest: && isa(CE->getOperand(0)) > So, nobody will produce multiple bitcasts, right? > e.g. this is illegal: > @A = alias (bitcast (bitcast i64* @foo to i8*) to i32* Right, ConstantExpr::getBitCast will fold those. Try doing llvm-a

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

2007-04-28 Thread Anton Korobeynikov
> I'd suggest: && isa(CE->getOperand(0)) So, nobody will produce multiple bitcasts, right? e.g. this is illegal: @A = alias (bitcast (bitcast i64* @foo to i8*) to i32* -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _

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

2007-04-28 Thread Chris Lattner
On Apr 28, 2007, at 7:35 AM, Anton Korobeynikov wrote: > Index: llvm/lib/VMCore/Verifier.cpp > diff -u llvm/lib/VMCore/Verifier.cpp:1.207 llvm/lib/VMCore/ > Verifier.cpp:1.208 > --- llvm/lib/VMCore/Verifier.cpp:1.207Sat Apr 28 08:45:00 2007 > +++ llvm/lib/VMCore/Verifier.cpp Sat Apr 2

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Reid Spencer
On Sat, 28 Apr 2007 09:45:19 -0700 Jeff Cohen <[EMAIL PROTECTED]> wrote: >That leaves us with six failures: > >FAIL: /usr/home/jeffc/llvm/test/CFrontend/2007-04-11-InlineAsmStruct.c >FAIL: /usr/home/jeffc/llvm/test/CFrontend/2007-04-11-InlineAsmUnion.c >FAIL: >/usr/home/jeffc/llvm/test/CodeGen/Ge

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Jeff Cohen
That leaves us with six failures: FAIL: /usr/home/jeffc/llvm/test/CFrontend/2007-04-11-InlineAsmStruct.c FAIL: /usr/home/jeffc/llvm/test/CFrontend/2007-04-11-InlineAsmUnion.c FAIL: /usr/home/jeffc/llvm/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll for PR1308 FAIL: /usr/home/jeffc/llvm/

Re: [llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Reid Spencer
Jeff, On Sat, 28 Apr 2007 08:53:34 -0700 Jeff Cohen <[EMAIL PROTECTED]> wrote: >Recent commits have broken 28 tests. Regression tests exist for a >reason. Run them. Before committing. Sorry. I thought I was committing a trivial change (compile breakage for jump across case labels) and accid

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

2007-04-28 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.353 -> 1.354 --- Log message: Revert the premature portion of the last commit. --- Diffs of the changes: (+76 -62) llvmAsmParser.y | 138 ++-- 1 files changed, 76 insert

[llvm-commits] Regression tests exist for a reason

2007-04-28 Thread Jeff Cohen
Recent commits have broken 28 tests. Regression tests exist for a reason. Run them. Before committing. FAIL: /usr/home/jeffc/llvm/test/Assembler/2006-05-26-VarargsCallEncode.ll FAIL: /usr/home/jeffc/llvm/test/C++Frontend/2003-11-25-ReturningOpaqueByValue.cpp FAIL: /usr/home/jeffc/llvm/test/C+

Re: [llvm-commits] llvm-gcc mirror update delayed again

2007-04-28 Thread Jeff Cohen
Reid Spencer wrote: > On Sat, 28 Apr 2007 07:22:27 -0700 > Jeff Cohen <[EMAIL PROTECTED]> wrote: > >> Once again, the log claims it was updated at 2am PDT, but my nightly >> tester failed to pull in any changes at 3am. Revision 318 is now >> present at 7am. >> > > Jeff, are you sure you

Re: [llvm-commits] llvm-gcc mirror update delayed again

2007-04-28 Thread Reid Spencer
On Sat, 28 Apr 2007 07:22:27 -0700 Jeff Cohen <[EMAIL PROTECTED]> wrote: >Once again, the log claims it was updated at 2am PDT, but my nightly >tester failed to pull in any changes at 3am. Revision 318 is now >present at 7am. Jeff, are you sure you're not dealing with a GMT/Localtime issue? I

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.14 -> 1.15 --- Log message: This is not "FIXME" anymore --- Diffs of the changes: (+1 -3) BitcodeReader.cpp |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/lib/Bitcode/Reader/BitcodeReader

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: Verifier.cpp updated: 1.207 -> 1.208 --- Log message: Let Verifier check aliasees --- Diffs of the changes: (+7 -0) Verifier.cpp |7 +++ 1 files changed, 7 insertions(+) Index: llvm/lib/VMCore/Verifier.cpp diff -u llvm/lib/VMCore/Verifier.cpp

[llvm-commits] llvm-gcc mirror update delayed again

2007-04-28 Thread Jeff Cohen
Once again, the log claims it was updated at 2am PDT, but my nightly tester failed to pull in any changes at 3am. Revision 318 is now present at 7am. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm

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

2007-04-28 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.352 -> 1.353 --- Log message: Fix a compilation error (jump to case label). --- Diffs of the changes: (+64 -77) llvmAsmParser.y | 141 +--- 1 files changed, 64 insertion

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.351 -> 1.352 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+53 -27) llvmAsmParser.y | 80 +--

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp Writer.cpp

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.112 -> 1.113 Writer.cpp updated: 1.177 -> 1.178 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+19 -5) SlotCalculator.cpp | 13 +

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.276 -> 1.277 Globals.cpp updated: 1.20 -> 1.21 Module.cpp updated: 1.81 -> 1.82 Verifier.cpp updated: 1.206 -> 1.207 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs

[llvm-commits] CVS: llvm/test/Feature/aliases.ll

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/test/Feature: aliases.ll updated: 1.2 -> 1.3 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+2 -2) aliases.ll |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Analyzer.cpp Reader.cpp Reader.h

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Reader: Analyzer.cpp updated: 1.41 -> 1.42 Reader.cpp updated: 1.255 -> 1.256 Reader.h updated: 1.52 -> 1.53 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+61 -10) Ana

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/Transforms/IPO: GlobalDCE.cpp updated: 1.43 -> 1.44 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+2 -6) GlobalDCE.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 dele

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/docs: BytecodeFormat.html updated: 1.70 -> 1.71 LangRef.html updated: 1.238 -> 1.239 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+11 -10) BytecodeFormat.html | 16 -

[llvm-commits] CVS: llvm/include/llvm/Function.h GlobalAlias.h GlobalValue.h GlobalVariable.h

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm: Function.h updated: 1.82 -> 1.83 GlobalAlias.h updated: 1.1 -> 1.2 GlobalValue.h updated: 1.39 -> 1.40 GlobalVariable.h updated: 1.45 -> 1.46 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diff

[llvm-commits] CVS: llvm/include/llvm/Bytecode/BytecodeHandler.h

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Bytecode: BytecodeHandler.h updated: 1.18 -> 1.19 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+6 -0) BytecodeHandler.h |6 ++ 1 files changed, 6 insertions(+

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

2007-04-28 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.157 -> 1.158 --- Log message: Implement review feedback. Aliasees can be either GlobalValue's or bitcasts of them. --- Diffs of the changes: (+17 -6) AsmPrinter.cpp | 23 +-- 1 files changed, 17 inserti