Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Chris Lattner
On Nov 12, 2007, at 5:35 PM, Bill Wendling wrote: >> Also, where are the test case(s)? :-) >> > I knew someone would ask that. :-) > > It's hard to come up with a testcase because I need to check multiple > lines of output to make sure that the stack pointer isn't modified > while a call is taking

[llvm-commits] [llvm] r44044 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyCFG.cpp test/Transforms/SimplifyCFG/iterative-simplify.ll

2007-11-12 Thread Chris Lattner
Author: lattner Date: Tue Nov 13 01:32:38 2007 New Revision: 44044 URL: http://llvm.org/viewvc/llvm-project?rev=44044&view=rev Log: Implement PR1786 by iterating between dead cycle elimination and simplifycfg in the rare cases when it is needed. Added: llvm/trunk/test/Transforms/SimplifyCFG/i

[llvm-commits] [llvm] r44043 - in /llvm/trunk/docs/tutorial: LangImpl3.html LangImpl4.html LangImpl5.html

2007-11-12 Thread Chris Lattner
Author: lattner Date: Tue Nov 13 01:06:30 2007 New Revision: 44043 URL: http://llvm.org/viewvc/llvm-project?rev=44043&view=rev Log: Many typos, grammaro, and wording fixes. Patch by Kelly Wilson, thanks! Modified: llvm/trunk/docs/tutorial/LangImpl3.html llvm/trunk/docs/tutorial/LangImpl4

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Bill Wendling
On Nov 12, 2007, at 7:20 PM, Evan Cheng wrote: > Can you use prcontext? There are several examples in the current test > suite. > I think the test would be very fragile. -bw ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu

[llvm-commits] [llvm-gcc-4.0] r44042 - /llvm-gcc-4.0/trunk/build_gcc

2007-11-12 Thread Devang Patel
Author: dpatel Date: Mon Nov 12 23:22:59 2007 New Revision: 44042 URL: http://llvm.org/viewvc/llvm-project?rev=44042&view=rev Log: Fix cross compiler build. Modified: llvm-gcc-4.0/trunk/build_gcc Modified: llvm-gcc-4.0/trunk/build_gcc URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/tr

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Evan Cheng
Can you use prcontext? There are several examples in the current test suite. Evan On Nov 12, 2007, at 7:00 PM, Bill Wendling wrote: > On Nov 12, 2007, at 5:45 PM, Dale Johannesen wrote: > >> >> On Nov 12, 2007, at 5:35 PM, Bill Wendling wrote: >> >>> On Nov 12, 2007 5:23 PM, Evan Cheng <[EMAIL

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Bill Wendling
On Nov 12, 2007, at 5:45 PM, Dale Johannesen wrote: > > On Nov 12, 2007, at 5:35 PM, Bill Wendling wrote: > >> On Nov 12, 2007 5:23 PM, Evan Cheng <[EMAIL PROTECTED]> wrote: >> >>> Also, where are the test case(s)? :-) >>> >> I knew someone would ask that. :-) >> >> It's hard to come up with a tes

[llvm-commits] [llvm-gcc-4.2] r44040 - in /llvm-gcc-4.2/trunk: GNUmakefile build_gcc

2007-11-12 Thread Bill Wendling
Author: void Date: Mon Nov 12 19:50:18 2007 New Revision: 44040 URL: http://llvm.org/viewvc/llvm-project?rev=44040&view=rev Log: Sync with 4.0 branch Modified: llvm-gcc-4.2/trunk/GNUmakefile llvm-gcc-4.2/trunk/build_gcc Modified: llvm-gcc-4.2/trunk/GNUmakefile URL: http://llvm.org/viewv

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Dale Johannesen
On Nov 12, 2007, at 5:35 PM, Bill Wendling wrote: > On Nov 12, 2007 5:23 PM, Evan Cheng <[EMAIL PROTECTED]> wrote: > >> Also, where are the test case(s)? :-) >> > I knew someone would ask that. :-) > > It's hard to come up with a testcase because I need to check multiple > lines of output to make

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Bill Wendling
On Nov 12, 2007 5:23 PM, Evan Cheng <[EMAIL PROTECTED]> wrote: > > On Nov 12, 2007, at 4:44 PM, Bill Wendling wrote: > > > // Type profiles. > > -def SDT_ARMCallSeq : SDTypeProfile<0, 1, [ SDTCisVT<0, i32> ]>; > > +def SDT_ARMCallSeq_start : SDTypeProfile<0, 1, [ SDTCisVT<0, i32> ]>; > > +def SDT_

Re: [llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sp

2007-11-12 Thread Evan Cheng
On Nov 12, 2007, at 4:44 PM, Bill Wendling wrote: > > == > > --- llvm/trunk/lib/Target/ARM/ARMInstrInfo.td (original) > +++ llvm/trunk/lib/Target/ARM/ARMInstrInfo.td Mon Nov 12 18:44:25 2007 > @@ -17,7 +17,9 @@ > // >

[llvm-commits] [llvm] r44037 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/

2007-11-12 Thread Bill Wendling
Author: void Date: Mon Nov 12 18:44:25 2007 New Revision: 44037 URL: http://llvm.org/viewvc/llvm-project?rev=44037&view=rev Log: Unify CALLSEQ_{START,END}. They take 4 parameters: the chain, two stack adjustment fields, and an optional flag. If there is a "dynamic_stackalloc" in the code, make sur

[llvm-commits] [llvm] r44034 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialization.h

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 18:25:08 2007 New Revision: 44034 URL: http://llvm.org/viewvc/llvm-project?rev=44034&view=rev Log: Renamed serialization method "Materialize" to "Create". This is an API change. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/include/l

[llvm-commits] [llvm] r44032 - in /llvm/trunk/include/llvm/Bitcode: Deserialize.h Serialize.h

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 18:13:57 2007 New Revision: 44032 URL: http://llvm.org/viewvc/llvm-project?rev=44032&view=rev Log: Fixed bug with inconsistent serialization/deserialization in matching calls to BatchEmitOwnedPtrs and BatchReadOwnedPtrs. Modified: llvm/trunk/include/llvm/Bitc

[llvm-commits] [llvm] r44031 - /llvm/trunk/utils/buildit/build_llvm

2007-11-12 Thread Bill Wendling
Author: void Date: Mon Nov 12 17:55:19 2007 New Revision: 44031 URL: http://llvm.org/viewvc/llvm-project?rev=44031&view=rev Log: Move SYSCTL stuff close to where it's used. Modified: llvm/trunk/utils/buildit/build_llvm Modified: llvm/trunk/utils/buildit/build_llvm URL: http://llvm.org/viewv

[llvm-commits] [llvm] r44030 - /llvm/trunk/utils/buildit/build_llvm

2007-11-12 Thread Devang Patel
Author: dpatel Date: Mon Nov 12 17:53:43 2007 New Revision: 44030 URL: http://llvm.org/viewvc/llvm-project?rev=44030&view=rev Log: Build universal llvm. Modified: llvm/trunk/utils/buildit/build_llvm Modified: llvm/trunk/utils/buildit/build_llvm URL: http://llvm.org/viewvc/llvm-project/llvm/

Re: [llvm-commits] llvm on ppc/linux

2007-11-12 Thread Eric Christopher
>> > Create still another version of it, you mean. Well sure. It's a one line change as opposed to mucking with how structures are supposed to be laid out. >>> I am testing Nick's patch on ppc32 Darwin and plan to check in if it >>> looks like that was not broken. >> >> I would very much sugges

[llvm-commits] [llvm] r44029 - /llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp

2007-11-12 Thread Anton Korobeynikov
Author: asl Date: Mon Nov 12 17:36:13 2007 New Revision: 44029 URL: http://llvm.org/viewvc/llvm-project?rev=44029&view=rev Log: Completely forgot, that we have some debug information emission on PPC. This should fix some regressions on ppc nightly tests. Modified: llvm/trunk/lib/Target/Power

Re: [llvm-commits] llvm on ppc/linux

2007-11-12 Thread Dale Johannesen
On Nov 12, 2007, at 3:18 PM, Eric Christopher wrote: >> >> However proper that may be, it will not work. llvm-gcc-4.0 is based >> on >> Apple's 4.0, and ADJUST_FIELD_ALIGN has 3 arguments. >> > > Sure, but you can simply ignore the 3rd argument. Create still another version of it, you mean. >>

Re: [llvm-commits] llvm on ppc/linux

2007-11-12 Thread Eric Christopher
> > However proper that may be, it will not work. llvm-gcc-4.0 is based > on > Apple's 4.0, and ADJUST_FIELD_ALIGN has 3 arguments. > Sure, but you can simply ignore the 3rd argument. > I am testing Nick's patch on ppc32 Darwin and plan to check in if it > looks like that was not broken. > I

Re: [llvm-commits] llvm on ppc/linux

2007-11-12 Thread Dale Johannesen
On Nov 12, 2007, at 2:56 PM, Eric Christopher wrote: > > On Nov 10, 2007, at 7:48 PM, Nick Lewycky wrote: > >> This patch to llvm-gcc 4.0 allows it to compile on PPC/Linux. This >> is a combination of patchs from myself, Dale Johannesen, and the >> fact that a GTY can't be declared in an #ifdef f

Re: [llvm-commits] llvm on ppc/linux

2007-11-12 Thread Eric Christopher
On Nov 10, 2007, at 7:48 PM, Nick Lewycky wrote: > This patch to llvm-gcc 4.0 allows it to compile on PPC/Linux. This > is a combination of patchs from myself, Dale Johannesen, and the > fact that a GTY can't be declared in an #ifdef from Andrew Pinski. > > I'd appreciate some testing. More i

Re: [llvm-commits] [llvm-gcc-4.2] r43930 - in /llvm-gcc-4.2/trunk/gcc/config/arm: darwin-libgcc.10.4.ver darwin-libgcc.10.5.ver darwin.h darwin.opt t-darwin

2007-11-12 Thread Anton Korobeynikov
Dale, > You are right, sorry. Now, the bootstrap fails with the message I'm > seeing in the testsuite. Bill, did you bootstrap this merge before > checking in? I'm on x86-32. I'm getting exactly same message during 4.2 bootstrap on x86-32/linux -- With best regards, Anton Korobeynikov. F

[llvm-commits] [llvm] r44024 - in /llvm/trunk/lib/Target/Mips: MipsAsmPrinter.cpp MipsISelDAGToDAG.cpp MipsISelLowering.cpp MipsISelLowering.h MipsInstrInfo.td MipsTargetAsmInfo.cpp

2007-11-12 Thread Bruno Cardoso Lopes
Author: bruno Date: Mon Nov 12 13:49:57 2007 New Revision: 44024 URL: http://llvm.org/viewvc/llvm-project?rev=44024&view=rev Log: Added JumpTable support Fixed some AsmPrinter issues Added GLOBAL_OFFSET_TABLE Node handle. Modified: llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp llvm/trunk/

[llvm-commits] [llvm] r44021 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-11-12 Thread Ted Kremenek
Author: kremenek Date: Mon Nov 12 13:11:15 2007 New Revision: 44021 URL: http://llvm.org/viewvc/llvm-project?rev=44021&view=rev Log: Added versions of ReadPtr that takes an explicit SerializedPtrID. This allows clients of the Deserializer to read the pointer ID before they are ready to deserializ

Re: [llvm-commits] [llvm] r43988 - in /llvm/trunk: lib/Target/TargetCallingConv.td lib/Target/X86/X86CallingConv.td utils/TableGen/CallingConvEmitter.cpp

2007-11-12 Thread Dale Johannesen
On Nov 12, 2007, at 10:48 AM, Duncan Sands wrote: > Hi Dale, > >> I.e., I'm looking at it one level up, where you have >> >> CCIfType<[f80], CCAssignToStackABISizeAlign<0>> >> >> So I like it this way (except for the annoying wart of the "ignored" >> argument, maybe somebody knows a way around

Re: [llvm-commits] [llvm] r43988 - in /llvm/trunk: lib/Target/TargetCallingConv.td lib/Target/X86/X86CallingConv.td utils/TableGen/CallingConvEmitter.cpp

2007-11-12 Thread Duncan Sands
Hi Dale, > I.e., I'm looking at it one level up, where you have > > CCIfType<[f80], CCAssignToStackABISizeAlign<0>> > > So I like it this way (except for the annoying wart of the "ignored" > argument, maybe somebody knows a way around that?) supposing it is possible to get rid of the wart,

[llvm-commits] [llvm] r44019 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp

2007-11-12 Thread Owen Anderson
Author: resistor Date: Mon Nov 12 11:27:27 2007 New Revision: 44019 URL: http://llvm.org/viewvc/llvm-project?rev=44019&view=rev Log: Break critical edges coming into blocks with PHI nodes. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIEli

[llvm-commits] [llvm] r44018 - /llvm/branches/SVA/docs/WritingAnLLVMPass.html

2007-11-12 Thread John Criswell
Author: criswell Date: Mon Nov 12 10:57:56 2007 New Revision: 44018 URL: http://llvm.org/viewvc/llvm-project?rev=44018&view=rev Log: Fix typo. Modified: llvm/branches/SVA/docs/WritingAnLLVMPass.html Modified: llvm/branches/SVA/docs/WritingAnLLVMPass.html URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r44014 - /llvm/trunk/docs/tutorial/LangImpl5.html

2007-11-12 Thread Gordon Henriksen
Author: gordon Date: Mon Nov 12 07:46:21 2007 New Revision: 44014 URL: http://llvm.org/viewvc/llvm-project?rev=44014&view=rev Log: Typo fix in the tutorial. Modified: llvm/trunk/docs/tutorial/LangImpl5.html Modified: llvm/trunk/docs/tutorial/LangImpl5.html URL: http://llvm.org/viewvc/llvm-p

[llvm-commits] [llvm] r44013 - /llvm/trunk/include/llvm/CodeGen/MachineJumpTableInfo.h

2007-11-12 Thread Duncan Sands
Author: baldrick Date: Mon Nov 12 07:43:23 2007 New Revision: 44013 URL: http://llvm.org/viewvc/llvm-project?rev=44013&view=rev Log: Compile fix. Modified: llvm/trunk/include/llvm/CodeGen/MachineJumpTableInfo.h Modified: llvm/trunk/include/llvm/CodeGen/MachineJumpTableInfo.h URL: http://llv