[llvm-commits] [llvm] r45696 - in /llvm/trunk/include/llvm/Target: TargetInstrDesc.h TargetInstrInfo.h

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 01:33:08 2008 New Revision: 45696 URL: http://llvm.org/viewvc/llvm-project?rev=45696view=rev Log: split TargetInstrDesc out into its own header file. Added: llvm/trunk/include/llvm/Target/TargetInstrDesc.h Modified:

[llvm-commits] [llvm] r45697 - in /llvm/trunk/lib/CodeGen: MachineBasicBlock.cpp MachineInstr.cpp MachineModuleInfo.cpp

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 01:42:25 2008 New Revision: 45697 URL: http://llvm.org/viewvc/llvm-project?rev=45697view=rev Log: remove #includage Modified: llvm/trunk/lib/CodeGen/MachineBasicBlock.cpp llvm/trunk/lib/CodeGen/MachineInstr.cpp

[llvm-commits] [llvm] r45698 - /llvm/trunk/lib/Target/README.txt

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 01:46:23 2008 New Revision: 45698 URL: http://llvm.org/viewvc/llvm-project?rev=45698view=rev Log: add a note Modified: llvm/trunk/lib/Target/README.txt Modified: llvm/trunk/lib/Target/README.txt URL:

Re: [llvm-commits] [llvm] r45626 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-07 Thread Bill Wendling
On Jan 6, 2008, at 10:20 PM, Chris Lattner wrote: On Jan 6, 2008, at 6:45 PM, Evan Cheng wrote: By the way. This check is still not quite right. // Loads from stubs of global addresses are side effect free. if (Reg != 0 MRegisterInfo::isVirtualRegister(Reg) In dynamic-no-pic

[llvm-commits] [llvm] r45699 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2008-01-07 Thread Bill Wendling
Author: void Date: Mon Jan 7 02:05:29 2008 New Revision: 45699 URL: http://llvm.org/viewvc/llvm-project?rev=45699view=rev Log: Operand 1 should be a register. We don't care if it's a preg, vreg, or 0. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified:

Re: [llvm-commits] [llvm] r45676 - in /llvm/trunk: include/llvm/CallingConv.h include/llvm/CodeGen/LinkAllCodegenComponents.h lib/CodeGen/OcamlCollector.cpp test/CodeGen/Generic/GC/frame_size.ll test/

2008-01-07 Thread Gordon Henriksen
On 2008-01-06, at 21:31, Gordon Henriksen wrote: Author: gordon Date: Sun Jan 6 20:31:11 2008 New Revision: 45676 URL: http://llvm.org/viewvc/llvm-project?rev=45676view=rev Log: Setting GlobalDirective in TargetAsmInfo by default rather than providing a misleading facility. It's used

[llvm-commits] [llvm] r45700 - in /llvm/trunk/lib/CodeGen: OcamlCollector.cpp ShadowStackCollector.cpp

2008-01-07 Thread Gordon Henriksen
Author: gordon Date: Mon Jan 7 07:30:38 2008 New Revision: 45700 URL: http://llvm.org/viewvc/llvm-project?rev=45700view=rev Log: Pruning includes. Modified: llvm/trunk/lib/CodeGen/OcamlCollector.cpp llvm/trunk/lib/CodeGen/ShadowStackCollector.cpp Modified:

[llvm-commits] [llvm] r45701 - /llvm/trunk/lib/Target/X86/X86CallingConv.td

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 07:44:22 2008 New Revision: 45701 URL: http://llvm.org/viewvc/llvm-project?rev=45701view=rev Log: Fix long double support on x86-32 linux. Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td URL:

[llvm-commits] [test-suite] r45702 - /test-suite/trunk/SingleSource/Regression/C/2008-01-07-LongDouble.c

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 08:49:30 2008 New Revision: 45702 URL: http://llvm.org/viewvc/llvm-project?rev=45702view=rev Log: Check implementation of the x86 long double ABI. Added: test-suite/trunk/SingleSource/Regression/C/2008-01-07-LongDouble.c Added:

[llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-07 Thread Alain Frisch
Hello, The attached patch makes it possible to compile LLVM under Mingw/Cygwin (that is, with gcc -mno-cygwin under Cygwin). The only problem which I could not address with configure flags is that the tblgen tool expect Windows paths, whereas the build system uses Cygwin paths. The patch

[llvm-commits] [llvm] r45703 - /llvm/trunk/lib/Target/X86/X86CallingConv.td

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 10:36:38 2008 New Revision: 45703 URL: http://llvm.org/viewvc/llvm-project?rev=45703view=rev Log: Unbreak x86-32 darwin long double! Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td Modified: llvm/trunk/lib/Target/X86/X86CallingConv.td URL:

[llvm-commits] [llvm] r45575 - in /llvm/trunk: include/llvm/CodeGen/MachineRelocation.h include/llvm/Target/TargetJITInfo.h lib/ExecutionEngine/JIT/JITEmitter.cpp lib/Target/X86/X86CodeEmitter.cpp lib

2008-01-07 Thread Evan Cheng
Author: evancheng Date: Fri Jan 4 04:46:51 2008 New Revision: 45575 URL: http://llvm.org/viewvc/llvm-project?rev=45575view=rev Log: X86 PIC JIT support fixes: encoding bugs, add lazy pointer stubs support. Modified: llvm/trunk/include/llvm/CodeGen/MachineRelocation.h

[llvm-commits] [llvm] r45576 - /llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp

2008-01-07 Thread Evan Cheng
Author: evancheng Date: Fri Jan 4 04:50:28 2008 New Revision: 45576 URL: http://llvm.org/viewvc/llvm-project?rev=45576view=rev Log: Unbreak tailcall opt in JIT. Modified: llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp Modified: llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp URL:

[llvm-commits] Suggested patch to the Language Reference: align attribute for load/store

2008-01-07 Thread Alain Frisch
Hello, (Following a discussion on irc.) The attached patch adds to LangRef an explanation for the align attribute on the load/store opeations. -- Alain Index: LangRef.html === --- LangRef.html(revision 45574) +++

[llvm-commits] [llvm-gcc-4.2] r45577 - /llvm-gcc-4.2/trunk/build_gcc

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:29:31 2008 New Revision: 45577 URL: http://llvm.org/viewvc/llvm-project?rev=45577view=rev Log: The cross-compilation executables were built 1-way instead of 2-way. This is because the lipo wasn't getting all of the executables. The gcc build_gcc script had this

[llvm-commits] [llvm-gcc-4.2] r45578 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2005/

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:42:15 2008 New Revision: 45578 URL: http://llvm.org/viewvc/llvm-project?rev=45578view=rev Log: Creating llvmgcc42-2005 tag Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2005/ - copied from r45577, llvm-gcc-4.2/trunk/

[llvm-commits] [llvm] r45579 - /llvm/tags/Apple/llvmCore-2006/

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 05:43:32 2008 New Revision: 45579 URL: http://llvm.org/viewvc/llvm-project?rev=45579view=rev Log: Creating llvmCore-2006 branch Added: llvm/tags/Apple/llvmCore-2006/ - copied from r45578, llvm/trunk/ ___

[llvm-commits] [llvm] r45580 - /llvm/trunk/bindings/ocaml/Makefile.ocaml

2008-01-07 Thread Gordon Henriksen
Author: gordon Date: Fri Jan 4 05:55:57 2008 New Revision: 45580 URL: http://llvm.org/viewvc/llvm-project?rev=45580view=rev Log: Quote a path in the Ocaml makefile which is likely to include spaces on Windows. Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml Modified:

[llvm-commits] [llvm] r45581 - /llvm/trunk/docs/GetElementPtr.html

2008-01-07 Thread Bill Wendling
Author: void Date: Fri Jan 4 06:04:32 2008 New Revision: 45581 URL: http://llvm.org/viewvc/llvm-project?rev=45581view=rev Log: doc_code-ify some code in this doc. Modified: llvm/trunk/docs/GetElementPtr.html Modified: llvm/trunk/docs/GetElementPtr.html URL:

[llvm-commits] [llvm-gcc-4.2] r45582 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 07:15:13 2008 New Revision: 45582 URL: http://llvm.org/viewvc/llvm-project?rev=45582view=rev Log: Fix PR1386. Accessing, say, an i8 bitfield at bits 7 .. 8 would crash the compiler because the bitfield is not entirely contained in an i8! This could be fixed by

[llvm-commits] [llvm] r45583 - /llvm/trunk/test/CFrontend/2008-01-04-WideBitfield.c

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 07:15:39 2008 New Revision: 45583 URL: http://llvm.org/viewvc/llvm-project?rev=45583view=rev Log: Testcase for PR1386. Added: llvm/trunk/test/CFrontend/2008-01-04-WideBitfield.c Added: llvm/trunk/test/CFrontend/2008-01-04-WideBitfield.c URL:

[llvm-commits] [test-suite] r45584 - /test-suite/trunk/SingleSource/Regression/C/PR1386.c

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 07:16:17 2008 New Revision: 45584 URL: http://llvm.org/viewvc/llvm-project?rev=45584view=rev Log: Testcase for PR1386. Added: test-suite/trunk/SingleSource/Regression/C/PR1386.c Added: test-suite/trunk/SingleSource/Regression/C/PR1386.c URL:

[llvm-commits] [llvm] r45585 - /llvm/trunk/bindings/ocaml/llvm/llvm.mli

2008-01-07 Thread Gordon Henriksen
Author: gordon Date: Fri Jan 4 07:21:02 2008 New Revision: 45585 URL: http://llvm.org/viewvc/llvm-project?rev=45585view=rev Log: Fix a typo in llvm.mli noticed by Alain Frisch. Modified: llvm/trunk/bindings/ocaml/llvm/llvm.mli Modified: llvm/trunk/bindings/ocaml/llvm/llvm.mli URL:

[llvm-commits] [llvm-gcc-4.0] r45586 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 08:15:44 2008 New Revision: 45586 URL: http://llvm.org/viewvc/llvm-project?rev=45586view=rev Log: Fix PR1386. Accessing, say, an i8 bitfield at bits 7 .. 8 would crash the compiler because the bitfield is not entirely contained in an i8! This could be fixed by

Re: [llvm-commits] [LLVMdev] x86 calling conventions refactoring

2008-01-07 Thread Gordon Henriksen
Anton, Going back to the list now that it's working. :) On 2008-01-04, at 08:22, Anton Korobeynikov wrote: Hello, Gordon. Here goes quick review. +// Determines whether a CALL node uses struct return semantics. +static bool CallIsStructReturn(SDOperand Op) I like these predicates,

Re: [llvm-commits] Suggested patch to the Language Reference

2008-01-07 Thread Chris Lattner
Applied, thanks! -Chris http://nondot.org/sabre http://llvm.org On Jan 3, 2008, at 3:16 PM, Alain Frisch [EMAIL PROTECTED] wrote: Hello, (Following a discussion on irc.) The current version of the Language Reference still mentions integer types as being primitive. It also fails to

[llvm-commits] [llvm] r45588 - /llvm/trunk/test/FrontendAda/non_bitfield.ads

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 11:31:56 2008 New Revision: 45588 URL: http://llvm.org/viewvc/llvm-project?rev=45588view=rev Log: Testcase with non-integer bitfields (in quotes, since they didn't actually need to be bitfields, though they are marked as such). Added:

[llvm-commits] [llvm-gcc-4.2] r45590 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-convert.cpp llvm-debug.cpp llvm-internal.h llvm-types.cpp

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 12:09:09 2008 New Revision: 45590 URL: http://llvm.org/viewvc/llvm-project?rev=45590view=rev Log: If a struct field is marked as a bitfield but didn't need to be, treat it like an ordinary field. The Ada front-end likes to mark fields as bitfields preemptively,

[llvm-commits] [llvm-gcc-4.2] r45592 - /llvm-gcc-4.2/trunk/gcc/ada/utils2.c

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Fri Jan 4 12:26:23 2008 New Revision: 45592 URL: http://llvm.org/viewvc/llvm-project?rev=45592view=rev Log: Make sure that global constants are marked constant in some tricky cases. Testcase is FrontendAda/unc_constructor.adb. Modified:

[llvm-commits] [llvm] r45594 - /llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp

2008-01-07 Thread Wojciech Matyjewicz
Author: wmat Date: Fri Jan 4 14:02:18 2008 New Revision: 45594 URL: http://llvm.org/viewvc/llvm-project?rev=45594view=rev Log: fix typo Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnroll.cpp URL:

[llvm-commits] [llvm] r45704 - in /llvm/trunk: include/llvm/ParameterAttributes.h lib/Transforms/IPO/DeadArgumentElimination.cpp lib/Transforms/Scalar/InstructionCombining.cpp lib/VMCore/ParameterAttr

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 11:16:06 2008 New Revision: 45704 URL: http://llvm.org/viewvc/llvm-project?rev=45704view=rev Log: Small cleanup for handling of type/parameter attribute incompatibility. Modified: llvm/trunk/include/llvm/ParameterAttributes.h

[llvm-commits] [llvm] r45707 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

2008-01-07 Thread Nate Begeman
Author: sampo Date: Mon Jan 7 11:52:24 2008 New Revision: 45707 URL: http://llvm.org/viewvc/llvm-project?rev=45707view=rev Log: Update the comment on scalar to vector to be a bit more clear. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Modified:

Re: [llvm-commits] [llvm] r45701 - /llvm/trunk/lib/Target/X86/X86CallingConv.td

2008-01-07 Thread Dale Johannesen
On Jan 7, 2008, at 5:44 AM, Duncan Sands wrote: Author: baldrick Date: Mon Jan 7 07:44:22 2008 New Revision: 45701 URL: http://llvm.org/viewvc/llvm-project?rev=45701view=rev Log: Fix long double support on x86-32 linux. Sorry! I think we've finally got it right now.

Re: [llvm-commits] Patch for compiling with Mingw/Cygwin

2008-01-07 Thread Chris Lattner
On Jan 7, 2008, at 8:12 AM, Alain Frisch wrote: The attached patch makes it possible to compile LLVM under Mingw/ Cygwin (that is, with gcc -mno-cygwin under Cygwin). The only problem which I could not address with configure flags is that the tblgen tool expect Windows paths, whereas the

Re: [llvm-commits] [llvm] r45669 - in /llvm/trunk: include/llvm/CodeGen/AsmPrinter.h include/llvm/CodeGen/SelectionDAGISel.h lib/CodeGen/AsmPrinter.cpp lib/CodeGen/README.txt lib/CodeGen/SelectionDAG/

2008-01-07 Thread Evan Cheng
On Jan 6, 2008, at 5:30 PM, Gordon Henriksen wrote: Hi Gordon, I don't know much about the GC work. But it is really necessary for AsmPrinter to use any analysis info? That seems odd to me. Evan Author: gordon = = = = = = = =

[llvm-commits] [llvm] r45712 - /llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 13:13:36 2008 New Revision: 45712 URL: http://llvm.org/viewvc/llvm-project?rev=45712view=rev Log: Add missing newline at EOF. Modified: llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp Modified: llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp URL:

[llvm-commits] [llvm] r45714 - /llvm/trunk/lib/ExecutionEngine/ExecutionEngineBindings.cpp

2008-01-07 Thread Duncan Sands
Author: baldrick Date: Mon Jan 7 13:14:42 2008 New Revision: 45714 URL: http://llvm.org/viewvc/llvm-project?rev=45714view=rev Log: I doubt the address of the Error string was intended to be used for the force_interpreter parameter... Spotted by gcc-4.2. Modified:

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

2008-01-07 Thread Owen Anderson
Author: resistor Date: Mon Jan 7 15:30:40 2008 New Revision: 45718 URL: http://llvm.org/viewvc/llvm-project?rev=45718view=rev Log: Make some predicates static. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp URL:

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

2008-01-07 Thread Owen Anderson
Author: resistor Date: Mon Jan 7 15:32:09 2008 New Revision: 45719 URL: http://llvm.org/viewvc/llvm-project?rev=45719view=rev Log: Oops, missed one. Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp URL:

[llvm-commits] [llvm] r45720 - /llvm/trunk/lib/Target/README.txt

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 15:38:14 2008 New Revision: 45720 URL: http://llvm.org/viewvc/llvm-project?rev=45720view=rev Log: possible switch lowering improvement. Modified: llvm/trunk/lib/Target/README.txt Modified: llvm/trunk/lib/Target/README.txt URL:

[llvm-commits] [llvm] r45723 - /llvm/trunk/lib/Target/X86/README.txt

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 15:59:58 2008 New Revision: 45723 URL: http://llvm.org/viewvc/llvm-project?rev=45723view=rev Log: add a note that is important for some fp apps. Modified: llvm/trunk/lib/Target/X86/README.txt Modified: llvm/trunk/lib/Target/X86/README.txt URL:

[llvm-commits] [llvm] r45725 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-01-07 Thread Evan Cheng
Author: evancheng Date: Mon Jan 7 17:08:23 2008 New Revision: 45725 URL: http://llvm.org/viewvc/llvm-project?rev=45725view=rev Log: Unbreak x86-64. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp URL:

[llvm-commits] [llvm] r45726 - /llvm/trunk/lib/Target/Target.td

2008-01-07 Thread Chris Lattner
Author: lattner Date: Mon Jan 7 17:16:55 2008 New Revision: 45726 URL: http://llvm.org/viewvc/llvm-project?rev=45726view=rev Log: add a new bit. Modified: llvm/trunk/lib/Target/Target.td Modified: llvm/trunk/lib/Target/Target.td URL:

[llvm-commits] [llvm] r45727 - in /llvm/trunk/lib/Target/ARM: ARMInstrInfo.cpp ARMInstrInfo.td ARMInstrThumb.td ARMInstrVFP.td

2008-01-07 Thread Evan Cheng
Author: evancheng Date: Mon Jan 7 17:56:57 2008 New Revision: 45727 URL: http://llvm.org/viewvc/llvm-project?rev=45727view=rev Log: Only mark instructions that load a single value without extension as isSimpleLoad = 1. Modified: llvm/trunk/lib/Target/ARM/ARMInstrInfo.cpp