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

2007-04-21 Thread Chris Lattner
> Switch more uses of DominatorTree over to ETForest. This change is also subtly non-trival. Specially, stuff like this: > > - DominatorTree::Node *BlockInLoopNode = DT->getNode > (BlockInLoop); > - DominatorTree::Node *IDom= DT->getNode(ExitBlock); > + BasicBlock *IDom

Re: [llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h ET-Forest.h

2007-04-21 Thread Chris Lattner
> Add accessor to get the blocks immediately dominated by a given > block to ETForest. Ok... > @@ -327,6 +327,20 @@ > const ETNode *idom = NodeA->getFather(); > return idom ? idom->getData() : 0; >} > + > + void getChildren(BasicBlock *A, std::vector& > children) { > +ETNod

Re: [llvm-commits] Target itineraries tablegen fix

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 12:53 AM, Christopher Lamb wrote: > I ran into a problem generating certain itineraries, and I think > this fixes it... > Looks fine to me, as long as the tree continues to build :). Please apply, thanks! -Chris ___ llvm-com

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

2007-04-21 Thread Chris Lattner
> Index: llvm/include/llvm/GlobalValue.h > diff -u llvm/include/llvm/GlobalValue.h:1.36 llvm/include/llvm/ > GlobalValue.h:1.37 > --- llvm/include/llvm/GlobalValue.h:1.36 Mon Apr 16 23:31:29 2007 > +++ llvm/include/llvm/GlobalValue.h Sat Apr 21 10:29:13 2007 > @@ -55,8 +55,10 @@ >} > >

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

2007-04-21 Thread Chris Lattner
Thanks for the cleanups Jeff, but... On Apr 21, 2007, at 6:17 PM, Jeff Cohen wrote: > @@ -1400,12 +1396,12 @@ >uitofp ( CST to TYPE ) >Convert an unsigned integer constant to the corresponding > floating point >constant. TYPE must be floating point. CST must be of integer > type.

Re: [llvm-commits] Major regressions

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 4:28 PM, Christopher Lamb wrote: > > On Apr 21, 2007, at 6:12 PM, Reid Spencer wrote: > >> On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: >>> I'm getting a regression after my fixes that's coming from >>> getABIAlignment not finding an alignment to use for a >>> t

Re: [llvm-commits] Major regressions

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 4:12 PM, Reid Spencer wrote: > On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: >> I'm getting a regression after my fixes that's coming from >> getABIAlignment not finding an alignment to use for a >> type, >> is this a bug? > > It could be. isn't a useful vector

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

2007-04-21 Thread Chris Lattner
Changes in directory llvm/tools/llvm-dis: llvm-dis.cpp updated: 1.57 -> 1.58 --- Log message: don't break reading from stdin --- Diffs of the changes: (+3 -2) llvm-dis.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/tools/llvm-dis/llvm-dis.cpp diff -u llvm/

[llvm-commits] CVS: llvm/tools/llvm-as/Makefile

2007-04-21 Thread Chris Lattner
Changes in directory llvm/tools/llvm-as: Makefile updated: 1.19 -> 1.20 --- Log message: link in bitwriter library --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-as/Makefile diff -u llvm/tools/llvm-as/Makefile:

[llvm-commits] CVS: llvm/tools/llvm-dis/Makefile llvm-dis.cpp

2007-04-21 Thread Chris Lattner
Changes in directory llvm/tools/llvm-dis: Makefile updated: 1.20 -> 1.21 llvm-dis.cpp updated: 1.56 -> 1.57 --- Log message: teach llvm-dis to read bitcode files --- Diffs of the changes: (+9 -4) Makefile |2 +- llvm-dis.cpp | 11 --- 2 files changed, 9 insertions(+), 4 d

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

2007-04-21 Thread Chris Lattner
Changes in directory llvm/tools/llvm-as: llvm-as.cpp updated: 1.51 -> 1.52 --- Log message: add a temporary -bitcode option, which instructs llvm-as to produce a bitcode file instead of a bytecode file --- Diffs of the changes: (+11 -2) llvm-as.cpp | 13 +++-- 1 files changed, 1

[llvm-commits] CVS: llvm/lib/Bitcode/Makefile

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode: Makefile added (r1.1) --- Log message: build the bitcode dir --- Diffs of the changes: (+14 -0) Makefile | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/lib/Bitcode/Makefile diff -c /dev/null llvm/lib/Bitcode/Makefile:1.1 *** /d

[llvm-commits] CVS: llvm/lib/Makefile

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib: Makefile updated: 1.23 -> 1.24 --- Log message: build the bitcode dir --- Diffs of the changes: (+2 -2) Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Makefile diff -u llvm/lib/Makefile:1.23 llvm/lib/Makefile:1.24 ---

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/Makefile ValueEnumerator.cpp ValueEnumerator.h Writer.cpp

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: Makefile added (r1.1) ValueEnumerator.cpp added (r1.1) ValueEnumerator.h added (r1.1) Writer.cpp added (r1.1) --- Log message: Initial support for writing bitcode files. This currently only writes types, the type symtab, and global/function protos,

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

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp added (r1.1) BitcodeReader.h added (r1.1) Makefile added (r1.1) ReaderWrappers.cpp added (r1.1) --- Log message: Initial support for reading bitcode files. They currently only read types, the type symtab, and global/function proto

[llvm-commits] CVS: llvm/include/llvm/Bitcode/BitCodes.h BitstreamReader.h BitstreamWriter.h ReaderWriter.h

2007-04-21 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: BitCodes.h added (r1.1) BitstreamReader.h added (r1.1) BitstreamWriter.h added (r1.1) ReaderWriter.h added (r1.1) --- Log message: Define the content-independent interfaces to read/write bitcode files and the high-level interface to read/write LLV

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm/lib/Bitcode/Writer added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm/lib/Bitcode/Reader added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits

[llvm-commits] CVS: llvm/lib/Bitcode/

2007-04-21 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm/lib/Bitcode added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu ht

[llvm-commits] CVS: llvm/include/llvm/Bitcode/

2007-04-21 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm/include/llvm/Bitcode added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-com

[llvm-commits] CVS: llvm/test/C++Frontend/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/C++Frontend: dg.exp updated: 1.5 -> 1.6 --- Log message: Make running these tests conditional on llvm-gcc supporting the language of these test cases. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Inde

[llvm-commits] CVS: llvm/test/CFrontend/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CFrontend: dg.exp updated: 1.5 -> 1.6 --- Log message: Make running these tests conditional on llvm-gcc supporting the language of these test cases. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index:

[llvm-commits] [126379] apply reid's patch for PR1146

2007-04-21 Thread clattner
Revision: 126379 Author: clattner Date: 2007-04-21 22:52:13 -0700 (Sat, 21 Apr 2007) Log Message: --- apply reid's patch for PR1146 Modified Paths: -- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp ===

[llvm-commits] [llvm-gcc] Patch for PR1146 For Unique ParamAttrsList objects

2007-04-21 Thread Reid Spencer
Please review and apply to llvm-gcc. These changes are needed to make llvm-gcc work with latest changes in LLVM. Reid. Index: gcc/llvm-types.cpp === --- gcc/llvm-types.cpp (revision 314) +++ gcc/llvm-types.cpp (working copy) @@ -751,1

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/include/llvm: DerivedTypes.h updated: 1.91 -> 1.92 ParameterAttributes.h updated: 1.7 -> 1.8 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the Para

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.272 -> 1.273 Function.cpp updated: 1.124 -> 1.125 Instructions.cpp updated: 1.87 -> 1.88 Type.cpp updated: 1.184 -> 1.185 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer di

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.84 -> 1.85 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. ---

[llvm-commits] CVS: llvm/test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/Transforms/SimplifyCFG: 2006-10-29-InvokeCrash.ll updated: 1.3 -> 1.4 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get()

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.345 -> 1.346 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. --- Di

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.250 -> 1.251 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. --- D

[llvm-commits] CVS: llvm/test/Assembler/2007-02-07-UpgradeCSRETCC.ll

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-02-07-UpgradeCSRETCC.ll updated: 1.2 -> 1.3 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.47 -> 1.48 --- Log message: For PR1146: http://llvm.org/PR1146 : Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. --- Diffs

[llvm-commits] CVS: llvm/tools/llvm-config/llvm-config.in.in

2007-04-21 Thread Reid Spencer
Changes in directory llvm/tools/llvm-config: llvm-config.in.in updated: 1.25 -> 1.26 --- Log message: Add the --host-target option. --- Diffs of the changes: (+2 -0) llvm-config.in.in |2 ++ 1 files changed, 2 insertions(+) Index: llvm/tools/llvm-config/llvm-config.in.in diff -u llvm

Re: [llvm-commits] Major regressions

2007-04-21 Thread Christopher Lamb
On Apr 21, 2007, at 6:41 PM, Reid Spencer wrote: On Sat, 2007-04-21 at 18:28 -0500, Christopher Lamb wrote: On Apr 21, 2007, at 6:12 PM, Reid Spencer wrote: On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: I'm getting a regression after my fixes that's coming from getABIAlignment

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

2007-04-21 Thread Jeff Cohen
Changes in directory llvm/docs: LangRef.html updated: 1.235 -> 1.236 --- Log message: Minor corrections. --- Diffs of the changes: (+38 -42) LangRef.html | 80 --- 1 files changed, 38 insertions(+), 42 deletions(-) Index: llvm/docs

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

2007-04-21 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMAsmPrinter.cpp updated: 1.64 -> 1.65 ARMConstantPoolValue.cpp updated: 1.2 -> 1.3 ARMConstantPoolValue.h updated: 1.2 -> 1.3 ARMISelLowering.cpp updated: 1.44 -> 1.45 ARMISelLowering.h updated: 1.13 -> 1.14 --- Log message: Implement PIC for arm-linu

[llvm-commits] CVS: llvm/test/CodeGen/ARM/call.ll load-global.ll

2007-04-21 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: call.ll updated: 1.7 -> 1.8 load-global.ll updated: 1.2 -> 1.3 --- Log message: Implement PIC for arm-linux. --- Diffs of the changes: (+5 -1) call.ll|2 ++ load-global.ll |4 +++- 2 files changed, 5 insertions(+), 1 deletion(-)

Re: [llvm-commits] Major regressions

2007-04-21 Thread Reid Spencer
On Sat, 2007-04-21 at 18:28 -0500, Christopher Lamb wrote: > On Apr 21, 2007, at 6:12 PM, Reid Spencer wrote: > > > On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: > >> I'm getting a regression after my fixes that's coming from > >> getABIAlignment not finding an alignment to use for a

Re: [llvm-commits] Major regressions

2007-04-21 Thread Christopher Lamb
On Apr 21, 2007, at 6:12 PM, Reid Spencer wrote: > On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: >> I'm getting a regression after my fixes that's coming from >> getABIAlignment not finding an alignment to use for a >> type, >> is this a bug? > > It could be. isn't a useful vecto

Re: [llvm-commits] Major regressions

2007-04-21 Thread Reid Spencer
On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote: > I'm getting a regression after my fixes that's coming from > getABIAlignment not finding an alignment to use for a type, > is this a bug? It could be. isn't a useful vector so it probably doesn't have an ABI Alignment. It should, howev

Re: [llvm-commits] Major regressions

2007-04-21 Thread Christopher Lamb
I'm getting a regression after my fixes that's coming from getABIAlignment not finding an alignment to use for a type, is this a bug? -- Christopher Lamb On Apr 21, 2007, at 12:21 PM, Reid Spencer wrote: Jeff, I'm seeing these too. They all seem to be related to Christopher Lamb's al

[llvm-commits] CVS: llvm/test/Transforms/LoopRotate/.cvsignore

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/Transforms/LoopRotate: .cvsignore added (r1.1) --- Log message: Add a .cvsignore file. --- Diffs of the changes: (+1 -0) .cvsignore |1 + 1 files changed, 1 insertion(+) Index: llvm/test/Transforms/LoopRotate/.cvsignore diff -c /dev/null llvm/test/Trans

[llvm-commits] CVS: llvm/test/FrontendAda/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/FrontendAda: dg.exp updated: 1.1 -> 1.2 --- Log message: Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single llvm_gcc_supports function that takes the language as an argument. Base that function on the new LLVMGCC_LANGS configured variable

[llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/lib: llvm.exp updated: 1.20 -> 1.21 --- Log message: Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single llvm_gcc_supports function that takes the language as an argument. Base that function on the new LLVMGCC_LANGS configured variable so t

[llvm-commits] CVS: llvm/test/FrontendObjC/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/FrontendObjC: dg.exp updated: 1.1 -> 1.2 --- Log message: Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single llvm_gcc_supports function that takes the language as an argument. Base that function on the new LLVMGCC_LANGS configured variable

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test: Makefile updated: 1.101 -> 1.102 --- Log message: Pass the LLVMGCC_LANGS variable through to Tcl. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/test/Makefile diff -u llvm/test/Makefile:1.101 llvm/test/Make

[llvm-commits] CVS: llvm/configure

2007-04-21 Thread Reid Spencer
Changes in directory llvm: configure updated: 1.274 -> 1.275 --- Log message: Regenerate for detection of llvm-gcc supported languages --- Diffs of the changes: (+34 -25) configure | 59 ++- 1 files changed, 34 insertions(+), 25 del

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm: Makefile.config.in updated: 1.75 -> 1.76 --- Log message: Add support for determining which languages the llvm-gcc front end supports. --- Diffs of the changes: (+1 -0) Makefile.config.in |1 + 1 files changed, 1 insertion(+) Index: llvm/Makefile.config.in

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/autoconf: configure.ac updated: 1.268 -> 1.269 --- Log message: Add support for determining which languages the llvm-gcc front end supports. --- Diffs of the changes: (+4 -0) configure.ac |4 1 files changed, 4 insertions(+) Index: llvm/autoconf/config

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

2007-04-21 Thread Lauro Ramos Venancio
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.187 -> 1.188 --- Log message: X86 TLS: Implement review feedback. --- Diffs of the changes: (+1 -11) SelectionDAGNodes.h | 12 +--- 1 files changed, 1 insertion(+), 11 deletions(-) Index: llvm/includ

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

2007-04-21 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.394 -> 1.395 --- Log message: X86 TLS: Implement review feedback. --- Diffs of the changes: (+3 -2) X86ISelLowering.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/lib/Target/X86/X86IS

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

2007-04-21 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.400 -> 1.401 --- Log message: X86 TLS: Implement review feedback. --- Diffs of the changes: (+11 -1) SelectionDAG.cpp | 12 +++- 1 files changed, 11 insertions(+), 1 deletion(-) Index: llvm/lib/Code

[llvm-commits] CVS: llvm/test/lib/llvm-dg.exp

2007-04-21 Thread LLVM
Changes in directory llvm/test/lib: llvm-dg.exp (r1.17) removed --- Log message: llvm-dg.exp is dead, remove it. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/

[llvm-commits] CVS: llvm/test/Makefile.tests Failure.sh

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test: Makefile.tests updated: 1.92 -> 1.93 Failure.sh (r1.1) removed --- Log message: Failure.sh is dead, remove it. --- Diffs of the changes: (+0 -1) Makefile.tests |1 - 1 files changed, 1 deletion(-) Index: llvm/test/Makefile.tests diff -u llvm/test/Makef

[llvm-commits] CVS: llvm/test/CodeGen/CBackend/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/CBackend: dg.exp updated: 1.5 -> 1.6 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 inser

[llvm-commits] CVS: llvm/test/CodeGen/Alpha/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/Alpha: dg.exp updated: 1.4 -> 1.5 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertio

[llvm-commits] CVS: llvm/test/CodeGen/X86/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/X86: dg.exp updated: 1.5 -> 1.6 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertions

[llvm-commits] CVS: llvm/test/CodeGen/ARM/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/ARM: dg.exp updated: 1.3 -> 1.4 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertions

[llvm-commits] CVS: llvm/test/CodeGen/SPARC/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/SPARC: dg.exp updated: 1.4 -> 1.5 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertio

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/PowerPC: dg.exp updated: 1.5 -> 1.6 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insert

[llvm-commits] CVS: llvm/test/CodeGen/IA64/dg.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/IA64: dg.exp updated: 1.4 -> 1.5 --- Log message: Use the llvm_supports_target function to prevent running of tests for targets that LLVM is not configured to support. --- Diffs of the changes: (+3 -1) dg.exp |4 +++- 1 files changed, 3 insertion

[llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/lib: llvm.exp updated: 1.19 -> 1.20 --- Log message: Add the llvm_supports_target function. --- Diffs of the changes: (+9 -0) llvm.exp |9 + 1 files changed, 9 insertions(+) Index: llvm/test/lib/llvm.exp diff -u llvm/test/lib/llvm.exp:1.19 llvm/

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test: Makefile updated: 1.100 -> 1.101 --- Log message: Add the TARGETS_TO_BUILD variable. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/test/Makefile diff -u llvm/test/Makefile:1.100 llvm/test/Makefile:1.101 --

[llvm-commits] CVS: llvm/test/FrontendAda/dg.exp

2007-04-21 Thread Duncan Sands
Changes in directory llvm/test/FrontendAda: dg.exp added (r1.1) --- Log message: Test if the compiler supports Ada, and enable Ada tests if so. While I was there, delete a temporary file the objc test forgot to delete. --- Diffs of the changes: (+6 -0) dg.exp |6 ++ 1 files change

[llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Duncan Sands
Changes in directory llvm/test/lib: llvm.exp updated: 1.18 -> 1.19 --- Log message: Test if the compiler supports Ada, and enable Ada tests if so. While I was there, delete a temporary file the objc test forgot to delete. --- Diffs of the changes: (+17 -0) llvm.exp | 17

Re: [llvm-commits] Major regressions

2007-04-21 Thread Christopher Lamb
The regressions are related to the following code in SelectionDAG.cpp. MVT::getTypeForValueType asserts if passed a Vector as VT. if (Alignment == 0) { // Ensure that codegen never sees alignment 0 const Type *Ty = MVT::getTypeForValueType(VT); Alignment = TLI.getTargetData()->getAB

Re: [llvm-commits] Major regressions

2007-04-21 Thread Christopher Lamb
Blarg! Sorry folks. First major commit and I missed regressions. Reverting was the right thing to do, sorry I wasn't up earlier. -- Christopher Lamb On Apr 21, 2007, at 12:21 PM, Reid Spencer wrote: Jeff, I'm seeing these too. They all seem to be related to Christopher Lamb's alignment

Re: [llvm-commits] [llvm] r36266 - /llvm/trunk/CREDITS.TXT

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 1:49 AM, Anton Korobeynikov wrote: > Hello, Chris. > >> Can we just have the post-commit script fakemail that it is >> [EMAIL PROTECTED] sending it? > Exactly in this way it should work now. username=>e-mail map just > don't > know what to do with user "cscollab-rspencer", s

Re: [llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Reid Spencer
On Sat, 2007-04-21 at 11:52 -0700, Jeff Cohen wrote: > The only way to run the tests under Windows is to use cygwin, using an > LLVM built with cygwin/mingw. Windows does not have /tmp (unless you > create it yourself) and it does not have /dev/null (unless cygwin > emulates it somehow). I only b

[llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/lib: llvm.exp updated: 1.17 -> 1.18 --- Log message: Always print the same "PR" information in the same location (just after the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the output consistent and more amenable to parsing by nightly test. --

Re: [llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Jeff Cohen
The only way to run the tests under Windows is to use cygwin, using an LLVM built with cygwin/mingw. Windows does not have /tmp (unless you create it yourself) and it does not have /dev/null (unless cygwin emulates it somehow). I only build LLVM on Windows with Visual Studio, so someone else

[llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/test/lib: llvm.exp updated: 1.16 -> 1.17 --- Log message: Put failure information on a separate line. Hopefully this unbreaks the nightly tester which expects the FAIL: line to only have the test name on it. --- Diffs of the changes: (+4 -4) llvm.exp |8 --

Re: [llvm-commits] Nightly tester annoyance

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 11:29 AM, Reid Spencer wrote: > On Sat, 2007-04-21 at 11:18 -0700, Chris Lattner wrote: >> On Apr 21, 2007, at 9:51 AM, Reid Spencer wrote: >> >>> Jeff, >>> >>> Please file a bug for this. It is a consequence of the new dejagnu >>> tester. Its output is different and the night

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.294 -> 1.295 SelectionDAG.cpp updated: 1.399 -> 1.400 SelectionDAGISel.cpp updated: 1.422 -> 1.423 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+36 -79) DA

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/include/llvm/CodeGen: SelectionDAG.h updated: 1.148 -> 1.149 SelectionDAGNodes.h updated: 1.186 -> 1.187 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+5 -10) SelectionDAG.h | 11 --- SelectionD

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.249 -> 1.250 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+3 -21) Reader.cpp | 24 +++- 1 files changed, 3 insertions(+), 21 deletions(-) Ind

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.271 -> 1.272 Instructions.cpp updated: 1.86 -> 1.87 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+0 -49) AsmWriter.cpp|7 --- Instructions.cpp | 42 -

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.174 -> 1.175 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+5 -27) Writer.cpp | 32 +--- 1 files changed, 5 insertions(+), 27 deletions(

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/include/llvm: Instructions.h updated: 1.68 -> 1.69 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+7 -33) Instructions.h | 40 +++- 1 files changed, 7 insertions(+), 33 del

Re: [llvm-commits] Nightly tester annoyance

2007-04-21 Thread Reid Spencer
On Sat, 2007-04-21 at 11:18 -0700, Chris Lattner wrote: > On Apr 21, 2007, at 9:51 AM, Reid Spencer wrote: > > > Jeff, > > > > Please file a bug for this. It is a consequence of the new dejagnu > > tester. Its output is different and the nightly tester's regex for > > matching the test name needs

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 9:23 AM, Lauro Ramos Venancio wrote: >> >> Thanks Lauro, very nice! Should the TLS bug be closed now? > > Now I will implement PIC and TLS for arm-linux, then I will close the > PR941 and open a bug report for each target that doesn't implement > TLS. I'd prefer to just have

Re: [llvm-commits] CVS: llvm/test/lib/llvm.exp

2007-04-21 Thread Duncan Sands
> +catch { set file_h [ open "/tmp/llvm_obj_check.m" w] } > +set R [ catch { exec $llvmgcc -c "/tmp/llvm_obj_check.m" -o /dev/null > >& /tmp/llvm_obj_check.out } ] Will using /tmp and /dev/null work properly under Windows? Ciao, Duncan. ___ l

Re: [llvm-commits] Nightly tester annoyance

2007-04-21 Thread Chris Lattner
On Apr 21, 2007, at 9:51 AM, Reid Spencer wrote: > Jeff, > > Please file a bug for this. It is a consequence of the new dejagnu > tester. Its output is different and the nightly tester's regex for > matching the test name needs to be improved. I agree, this is greatly annoying. I think it would

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/test4.reference_output test4.c

2007-04-21 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: test4.reference_output added (r1.1) test4.c updated: 1.1 -> 1.2 --- Log message: Add reference output for test case. --- Diffs of the changes: (+3 -3) test4.c|3 --- test4.reference_output |3 +++ 2 file

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/test4.c bits.h

2007-04-21 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: test4.c added (r1.1) bits.h updated: 1.3 -> 1.4 --- Log message: Add test case. --- Diffs of the changes: (+31 -0) bits.h |5 + test4.c | 26 ++ 2 files changed, 31 insertions(+) Index: llvm

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bits.h

2007-04-21 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bits.h updated: 1.2 -> 1.3 --- Log message: Add some more types. --- Diffs of the changes: (+3 -2) bits.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm-test/SingleSource/UnitTests/Integer/bits.h d

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

2007-04-21 Thread Jeff Cohen
Jeff Cohen wrote: > Reid Spencer wrote: > >> Christopher, >> >> I'll answer my own question .. You're compressing the alignment to a >> smaller value by extracting its log. I didn't get that until I read the >> Reader.cpp code :) >> >> Reid. >> > > It's still very expensive. There are alte

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

2007-04-21 Thread Jeff Cohen
Reid Spencer wrote: > Christopher, > > I'll answer my own question .. You're compressing the alignment to a > smaller value by extracting its log. I didn't get that until I read the > Reader.cpp code :) > > Reid. It's still very expensive. There are alternative approaches that are much faster an

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

2007-04-21 Thread Jeff Cohen
Reid Spencer wrote: Jeff, On Sat, 2007-04-21 at 11:29 -0500, Jeff Cohen wrote: Changes in directory llvm/include/llvm/CodeGen: MachineRelocation.h updated: 1.12 -> 1.13 --- Log message: Make enum-valued bitfield large enough to avoid interpretation as negative values in VC++. --- Diffs

Re: [llvm-commits] Major regressions

2007-04-21 Thread Reid Spencer
Jeff, I'm seeing these too. They all seem to be related to Christopher Lamb's alignment changes. If he doesn't step up to fix soon, I'll revert the changes. Reid. On Sat, 2007-04-21 at 07:30 -0700, Jeff Cohen wrote: > Commits in the last 12 hours or so have broken 34 regression tests and > caus

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: ExternalFunctions.cpp updated: 1.97 -> 1.98 --- Log message: We only need one putchar which gives it a shot at getting matched by its users. --- Diffs of the changes: (+4 -17) ExternalFunctions.cpp | 21 - 1 f

Re: [llvm-commits] Function aliases

2007-04-21 Thread Reid Spencer
I've lost track of this dicsussion because it has occurred over so many emails. Could we please put this into a bugzilla so that it is all in one place? There is a bugzilla for this alias feature, right? If not, Anton, please create one and summarize the various arguments that are being made here.

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

2007-04-21 Thread Reid Spencer
Christopher, I'll answer my own question .. You're compressing the alignment to a smaller value by extracting its log. I didn't get that until I read the Reader.cpp code :) Reid. On Sat, 2007-04-21 at 09:46 -0700, Reid Spencer wrote: > Christopher, > > On Sat, 2007-04-21 at 03:17 -0500, Christo

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

2007-04-21 Thread Reid Spencer
Jeff, On Sat, 2007-04-21 at 11:29 -0500, Jeff Cohen wrote: > > Changes in directory llvm/include/llvm/CodeGen: > > MachineRelocation.h updated: 1.12 -> 1.13 > --- > Log message: > > Make enum-valued bitfield large enough to avoid interpretation as negative > values in VC++. > > --- > Diffs o

Re: [llvm-commits] Nightly tester annoyance

2007-04-21 Thread Reid Spencer
Jeff, Please file a bug for this. It is a consequence of the new dejagnu tester. Its output is different and the nightly tester's regex for matching the test name needs to be improved. Reid. On Sat, 2007-04-21 at 07:45 -0700, Jeff Cohen wrote: > The nightly tester has acquired the bad habit of b

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

2007-04-21 Thread Reid Spencer
Christopher, On Sat, 2007-04-21 at 03:17 -0500, Christopher Lamb wrote: > > Changes in directory llvm/lib/Bytecode/Writer: > > Writer.cpp updated: 1.173 -> 1.174 > --- > Log message: > > > add support for alignment attributes on load/store instructions > > > --- > Diffs of the changes: (+27

Re: [llvm-commits] [llvm] r36266 - /llvm/trunk/CREDITS.TXT

2007-04-21 Thread Reid Spencer
On Sat, 2007-04-21 at 00:13 -0700, Chris Lattner wrote: > On Apr 20, 2007, at 9:06 PM, Reid Spencer wrote: > > > On Fri, 2007-04-20 at 20:46 -0700, Chris Lattner wrote: > >> Urg, this is going to come from [EMAIL PROTECTED] ? > > > > I've asked David to fix this. He said he would forward my reques

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

2007-04-21 Thread Jeff Cohen
Changes in directory llvm/include/llvm/CodeGen: MachineRelocation.h updated: 1.12 -> 1.13 --- Log message: Make enum-valued bitfield large enough to avoid interpretation as negative values in VC++. --- Diffs of the changes: (+1 -1) MachineRelocation.h |2 +- 1 files changed, 1 insertio

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp X86AsmPrinter.cpp X86ISelLowering.cpp X86ISelLowering.h X86InstrInfo.td

2007-04-21 Thread Lauro Ramos Venancio
> > Thanks Lauro, very nice! Should the TLS bug be closed now? Now I will implement PIC and TLS for arm-linux, then I will close the PR941 and open a bug report for each target that doesn't implement TLS. Lauro ___ llvm-commits mailing list llvm-commit

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

2007-04-21 Thread Jeff Cohen
Changes in directory llvm/include/llvm: GlobalValue.h updated: 1.36 -> 1.37 --- Log message: Fix breakage of bytecode reader when built with VC++. --- Diffs of the changes: (+4 -2) GlobalValue.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Globa

  1   2   >