[llvm-commits] [llvm] r42954 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-10-12 Thread Chris Lattner
Author: lattner Date: Sat Oct 13 01:58:48 2007 New Revision: 42954 URL: http://llvm.org/viewvc/llvm-project?rev=42954&view=rev Log: Enhance the truncstore optimization code to handle shifted values and propagate demanded bits through them in simple cases. This allows this code: void foo(char *P)

[llvm-commits] [llvm] r42953 - /llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll

2007-10-12 Thread Chris Lattner
Author: lattner Date: Sat Oct 13 01:56:18 2007 New Revision: 42953 URL: http://llvm.org/viewvc/llvm-project?rev=42953&view=rev Log: new testcase Added: llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll Added: llvm/trunk/test/CodeGen/ARM/truncstore-dag-combine.ll URL: http://llvm.org/vi

[llvm-commits] [llvm] r42952 - in /llvm/trunk/lib/CodeGen/SelectionDAG: DAGCombiner.cpp LegalizeDAG.cpp

2007-10-12 Thread Chris Lattner
Author: lattner Date: Sat Oct 13 01:35:54 2007 New Revision: 42952 URL: http://llvm.org/viewvc/llvm-project?rev=42952&view=rev Log: Add a simple optimization to simplify the input to truncate and truncstore instructions, based on the knowledge that they don't demand the top bits. Modified: l

Re: [llvm-commits] [llvm] r42930 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-10-12 Thread Chris Lattner
On Oct 12, 2007, at 1:10 PM, Devang Patel wrote: > +// Destination pointer type is always i8 * > +if (Size == 8) > + NewPtrTy = PointerType::get(Type::Int64Ty); > +else if (Size == 4) > + NewPtrTy = PointerType::get(Type::Int32Ty); > +else if (Siz

[llvm-commits] [llvm] r42950 - /llvm/trunk/lib/Support/APFloat.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 22:34:08 2007 New Revision: 42950 URL: http://llvm.org/viewvc/llvm-project?rev=42950&view=rev Log: If the power of 5 is exact, and the reciprocal exact, the error is zero not one half-ulps. This prevents an infinite loop in rare cases. Modified: llvm/trunk/lib/

[llvm-commits] [llvm] r42949 - /llvm/trunk/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 22:14:06 2007 New Revision: 42949 URL: http://llvm.org/viewvc/llvm-project?rev=42949&view=rev Log: Fix test case. Modified: llvm/trunk/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll Modified: llvm/trunk/test/CodeGen/X86/2006-10-19-SwitchUnnecessa

[llvm-commits] [llvm] r42948 - in /llvm/trunk/test/CodeGen/X86: 2007-10-12-SpillerUnfold1.ll 2007-10-12-SpillerUnfold2.ll

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 22:10:54 2007 New Revision: 42948 URL: http://llvm.org/viewvc/llvm-project?rev=42948&view=rev Log: New tests. Added: llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold1.ll llvm/trunk/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll Added: llvm/trunk/test

[llvm-commits] [llvm] r42947 - in /llvm/trunk/lib/CodeGen: VirtRegMap.cpp VirtRegMap.h

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 21:50:24 2007 New Revision: 42947 URL: http://llvm.org/viewvc/llvm-project?rev=42947&view=rev Log: Local spiller optimization: Turn this: movswl %ax, %eax movl%eax, -36(%ebp) xorl%edi, -36(%ebp) into movswl %ax, %eax xorl%edi, %eax movl%eax, -3

[llvm-commits] [llvm] r42946 - in /llvm/trunk: include/llvm/Target/MRegisterInfo.h lib/Target/X86/X86RegisterInfo.cpp lib/Target/X86/X86RegisterInfo.h

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 21:35:06 2007 New Revision: 42946 URL: http://llvm.org/viewvc/llvm-project?rev=42946&view=rev Log: Change unfoldMemoryOperand(). User is now responsible for passing in the register used by the unfolded instructions. User can also specify whether to unfold the loa

[llvm-commits] [llvm] r42945 - in /llvm/trunk: include/llvm/CodeGen/MachineInstr.h lib/CodeGen/MachineInstr.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 21:23:01 2007 New Revision: 42945 URL: http://llvm.org/viewvc/llvm-project?rev=42945&view=rev Log: Optionally create a MachineInstr without default implicit operands. Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h llvm/trunk/lib/CodeGen/Machine

Re: [llvm-commits] darwin x86 make check failures

2007-10-12 Thread Tanya Lattner
Thanks Dale & Dan! The second one passes for me now. -Tanya On Oct 12, 2007, at 1:48 PM, Dan Gohman wrote: >>> Anyone want to claim them? ;) >> >> I confirm this is happening, but it was not happening until I did a >> checkout. > > They're both due to 42908. > >> 2006-10-19-SwitchUnnecessaryBra

Re: [llvm-commits] [llvm] r42908 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Targ

2007-10-12 Thread Anton Korobeynikov
> It would be nice if names were only constructed in one place I think this is one of the tasks mentioned in PR1650 -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. ___ llvm-commits

Re: [llvm-commits] [llvm] r42908 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Targ

2007-10-12 Thread Dale Johannesen
It would be nice if names were only constructed in one place On Oct 12, 2007, at 2:52 PM, Bill Wendling wrote: > Hi Dan, > > With your changes, I'm getting this during bootrapping of llvm-gcc: > > /var/tmp//cc8ddbeM.s:unknown:Undefined local symbol > L0__set_6__run_routines > /var/tmp//cc8d

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

2007-10-12 Thread Arnold Schwaighofer
Author: arnolds Date: Fri Oct 12 16:53:12 2007 New Revision: 42935 URL: http://llvm.org/viewvc/llvm-project?rev=42935&view=rev Log: Correcting the corrections. Bad bad baaad emacs! Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Re: [llvm-commits] [llvm] r42908 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Targ

2007-10-12 Thread Bill Wendling
Hi Dan, With your changes, I'm getting this during bootrapping of llvm-gcc: /var/tmp//cc8ddbeM.s:unknown:Undefined local symbol L0__set_6__run_routines /var/tmp//cc8ddbeM.s:unknown:Undefined local symbol L0__set_9__run_routines /var/tmp//cc8ddbeM.s:unknown:Undefined local symbol L0__set_7__run_ro

[llvm-commits] [llvm] r42934 - in /llvm/trunk: include/llvm/Target/TargetLowering.h include/llvm/Target/TargetOptions.h lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/Target/X86/README.txt lib/Targ

2007-10-12 Thread Arnold Schwaighofer
Author: arnolds Date: Fri Oct 12 16:30:57 2007 New Revision: 42934 URL: http://llvm.org/viewvc/llvm-project?rev=42934&view=rev Log: Corrected many typing errors. And removed 'nest' parameter handling for fastcc from X86CallingConv.td. This means that nested functions are not supported for calling

Re: [llvm-commits] [llvm] r42932 - /llvm/trunk/test/CodeGen/X86/fp_constant_op.llx

2007-10-12 Thread Dale Johannesen
On Oct 12, 2007, at 1:42 PM, Dan Gohman wrote: > Author: djg > Date: Fri Oct 12 15:42:14 2007 > New Revision: 42932 > > URL: http://llvm.org/viewvc/llvm-project?rev=42932&view=rev > Log: > Fix this test to not depend on the assembly output containing > something > that includes the string "st".

Re: [llvm-commits] darwin x86 make check failures

2007-10-12 Thread Dan Gohman
>> Anyone want to claim them? ;) > > I confirm this is happening, but it was not happening until I did a > checkout. They're both due to 42908. > 2006-10-19-SwitchUnnecessaryBranching.ll was introduced by the change > in label names. > It looks like there was an attempt to fix it once, so it

[llvm-commits] [llvm] r42932 - /llvm/trunk/test/CodeGen/X86/fp_constant_op.llx

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 15:42:14 2007 New Revision: 42932 URL: http://llvm.org/viewvc/llvm-project?rev=42932&view=rev Log: Fix this test to not depend on the assembly output containing something that includes the string "st". This probably fixes the regression on Darwin. Modified: llvm/t

Re: [llvm-commits] darwin x86 make check failures

2007-10-12 Thread Dale Johannesen
On Oct 12, 2007, at 12:20 PM, Tanya Lattner wrote: > Anyone want to claim them? ;) I confirm this is happening, but it was not happening until I did a checkout. 2006-10-19-SwitchUnnecessaryBranching.ll was introduced by the change in label names. It looks like there was an attempt to fix it

[llvm-commits] [llvm] r42930 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-10-12 Thread Devang Patel
Author: dpatel Date: Fri Oct 12 15:10:21 2007 New Revision: 42930 URL: http://llvm.org/viewvc/llvm-project?rev=42930&view=rev Log: Dest type is always i8 *. This allows some simplification. Do not filter memmove. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified:

[llvm-commits] [llvm] r42929 - /llvm/trunk/test/Transforms/LoopIndexSplit/Output/

2007-10-12 Thread Devang Patel
Author: dpatel Date: Fri Oct 12 15:04:24 2007 New Revision: 42929 URL: http://llvm.org/viewvc/llvm-project?rev=42929&view=rev Log: t Removed: llvm/trunk/test/Transforms/LoopIndexSplit/Output/ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu h

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

2007-10-12 Thread Gordon Henriksen
Author: gordon Date: Fri Oct 12 14:48:13 2007 New Revision: 42927 URL: http://llvm.org/viewvc/llvm-project?rev=42927&view=rev Log: Fix ocaml bindings for picky linkers. :) Thanks to Török Edvin for helping to track this down. Modified: llvm/trunk/bindings/ocaml/Makefile.ocaml Modified: llvm

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

2007-10-12 Thread Duncan Sands
Author: baldrick Date: Fri Oct 12 14:37:31 2007 New Revision: 42925 URL: http://llvm.org/viewvc/llvm-project?rev=42925&view=rev Log: Due to the new tail call optimization, trampolines can no longer be created for fastcc functions. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modif

[llvm-commits] darwin x86 make check failures

2007-10-12 Thread Tanya Lattner
I'm seeing this with tot (SVN version 42924): FAIL: /Users/lattner/work/llvm/test/CodeGen/X86/2006-10-19- SwitchUnnecessaryBranching.ll Failed with exit(1) at line 1 while running: llvm-upgrade < /Users/lattner/work/llvm/test/CodeGen/ X86/2006-10-19-SwitchUnnecessaryBranching.ll | llvm-as | llc

[llvm-commits] [llvm] r42924 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-12 Thread Dale Johannesen
Author: johannes Date: Fri Oct 12 14:02:17 2007 New Revision: 42924 URL: http://llvm.org/viewvc/llvm-project?rev=42924&view=rev Log: ppc long double. Implement fabs and fneg. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Legaliz

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

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 13:22:55 2007 New Revision: 42922 URL: http://llvm.org/viewvc/llvm-project?rev=42922&view=rev Log: Update. Modified: llvm/trunk/lib/Target/X86/README.txt Modified: llvm/trunk/lib/Target/X86/README.txt URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib

[llvm-commits] [llvm] r42921 - /llvm/trunk/include/llvm/ADT/StringMap.h

2007-10-12 Thread Chris Lattner
Author: lattner Date: Fri Oct 12 13:16:23 2007 New Revision: 42921 URL: http://llvm.org/viewvc/llvm-project?rev=42921&view=rev Log: don't use intptr_t without including it. Modified: llvm/trunk/include/llvm/ADT/StringMap.h Modified: llvm/trunk/include/llvm/ADT/StringMap.h URL: http://llvm.o

[llvm-commits] [llvm] r42920 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-10-12-Crash.ll

2007-10-12 Thread Chris Lattner
Author: lattner Date: Fri Oct 12 13:05:47 2007 New Revision: 42920 URL: http://llvm.org/viewvc/llvm-project?rev=42920&view=rev Log: Fix a bug in my patch last night that broke InstCombine/2007-10-12-Crash.ll Added: llvm/trunk/test/Transforms/InstCombine/2007-10-12-Crash.ll Modified: llvm

[llvm-commits] [llvm] r42919 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-12 Thread Dale Johannesen
Author: johannes Date: Fri Oct 12 12:52:03 2007 New Revision: 42919 URL: http://llvm.org/viewvc/llvm-project?rev=42919&view=rev Log: Implement i64->ppcf128 conversions. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

[llvm-commits] [llvm] r42918 - /llvm/trunk/include/llvm/ADT/StringMap.h

2007-10-12 Thread Chris Lattner
Author: lattner Date: Fri Oct 12 12:49:52 2007 New Revision: 42918 URL: http://llvm.org/viewvc/llvm-project?rev=42918&view=rev Log: Make this compute the correct offset, handling alignment of the element pointer correctly. Modified: llvm/trunk/include/llvm/ADT/StringMap.h Modified: llvm/trun

Re: [llvm-commits] [llvm] r42864 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll

2007-10-12 Thread Chris Lattner
>>> In general memcpy handling is highly target specific. I'd be wary >>> of doing too >>> much in target-independent code, although I think the general idea >>> here is OK. >> >> I'm expecting target specific code generator to handle this if it >> is handling unaligned memcpy. >> No ? > > Might

Re: [llvm-commits] [llvm] r42864 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll

2007-10-12 Thread Chris Lattner
On Oct 11, 2007, at 10:46 AM, Dale Johannesen wrote: > You aren't checking alignment when choosing the new pointer type. > Are you sure this works on machines that don't have misaligned load/ > store? The codegen should handle unaligned loads. Devang is setting the alignment of the load corre

[llvm-commits] [llvm] r42916 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 12:16:50 2007 New Revision: 42916 URL: http://llvm.org/viewvc/llvm-project?rev=42916&view=rev Log: Did mean to leave this in. INSERT_SUBREG isn't being coalesced yet. Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Modified: llvm/trunk/lib/CodeGen

[llvm-commits] [llvm] r42913 - /llvm/trunk/lib/Support/APFloat.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 11:05:57 2007 New Revision: 42913 URL: http://llvm.org/viewvc/llvm-project?rev=42913&view=rev Log: Remove duplicate comment. Modified: llvm/trunk/lib/Support/APFloat.cpp Modified: llvm/trunk/lib/Support/APFloat.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/

[llvm-commits] [llvm] r42912 - in /llvm/trunk: include/llvm/ADT/APFloat.h lib/Support/APFloat.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 11:02:31 2007 New Revision: 42912 URL: http://llvm.org/viewvc/llvm-project?rev=42912&view=rev Log: Implement correctly-rounded decimal->binary conversion, i.e. conversion from user input strings. Such conversions are more intricate and subtle than they may appear; it

[llvm-commits] [llvm] r42911 - /llvm/trunk/lib/Support/APFloat.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 10:35:10 2007 New Revision: 42911 URL: http://llvm.org/viewvc/llvm-project?rev=42911&view=rev Log: Remove a field that was never used. Modified: llvm/trunk/lib/Support/APFloat.cpp Modified: llvm/trunk/lib/Support/APFloat.cpp URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r42910 - /llvm/trunk/lib/Support/APFloat.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 10:33:27 2007 New Revision: 42910 URL: http://llvm.org/viewvc/llvm-project?rev=42910&view=rev Log: If we're trying to be arbitrary precision, unsigned char clearly won't cut it. Needed for dec->bin conversions. Modified: llvm/trunk/lib/Support/APFloat.cpp Modi

[llvm-commits] [llvm] r42909 - /llvm/trunk/lib/Support/APInt.cpp

2007-10-12 Thread Neil Booth
Author: neil Date: Fri Oct 12 10:31:31 2007 New Revision: 42909 URL: http://llvm.org/viewvc/llvm-project?rev=42909&view=rev Log: Don't attempt to mask no bits Modified: llvm/trunk/lib/Support/APInt.cpp Modified: llvm/trunk/lib/Support/APInt.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/

Re: [llvm-commits] [llvm] r42870 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/X86/ test/CodeGen/X86/

2007-10-12 Thread Arnold Schwaighofer
On 10/12/07, Duncan Sands <[EMAIL PROTECTED]> wrote: > ... many comment corrections Will correct them. > Note that ECX may be used if there is a 'nest' parameter, see this line: > + // The 'nest' parameter, if any, is passed in ECX. > + CCIfNest>, > > How do you avoid collisions? I don't. A copy

Re: [llvm-commits] [llvm] r42870 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/X86/ test/CodeGen/X86/

2007-10-12 Thread Duncan Sands
Hi Arnold, > + /// tail call optimization. Target which want to do tail call optimization > + /// should implement this function. Target -> Targets. Also shouldn't it be "override" rather than "implement"? > + /// PerformTailCallOpt - This flag is enabled when the -tailcallopt is when the -

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

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 09:53:36 2007 New Revision: 42908 URL: http://llvm.org/viewvc/llvm-project?rev=42908&view=rev Log: Change the names used for internal labels to use the current function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) Modified: llvm/tru

[llvm-commits] [llvm] r42907 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 09:33:11 2007 New Revision: 42907 URL: http://llvm.org/viewvc/llvm-project?rev=42907&view=rev Log: Fix some corner cases with vectors in copyToRegs and copyFromRegs. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Modified: llvm/trunk/lib/CodeG

[llvm-commits] [llvm] r42906 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 09:13:46 2007 New Revision: 42906 URL: http://llvm.org/viewvc/llvm-project?rev=42906&view=rev Log: Add support to SplitVectorOp for powi, where the second operand is a scalar integer. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified: llvm/tr

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

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 09:09:42 2007 New Revision: 42905 URL: http://llvm.org/viewvc/llvm-project?rev=42905&view=rev Log: Mark vector ctpop, cttz, and ctlz as Expand on x86. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

[llvm-commits] [llvm] r42904 - /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

2007-10-12 Thread Dan Gohman
Author: djg Date: Fri Oct 12 09:08:57 2007 New Revision: 42904 URL: http://llvm.org/viewvc/llvm-project?rev=42904&view=rev Log: Mark vector pow, ctpop, cttz, and ctlz as Expand on PowerPC. Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPC

[llvm-commits] [llvm] r42900 - /llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 04:03:31 2007 New Revision: 42900 URL: http://llvm.org/viewvc/llvm-project?rev=42900&view=rev Log: EXTRACT_SUBREG test case. Added: llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll Added: llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.l

[llvm-commits] [llvm] r42901 - /llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 04:10:27 2007 New Revision: 42901 URL: http://llvm.org/viewvc/llvm-project?rev=42901&view=rev Log: Doh. Modified: llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll Modified: llvm/trunk/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll URL: http://

[llvm-commits] [llvm] r42903 - /llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 04:15:53 2007 New Revision: 42903 URL: http://llvm.org/viewvc/llvm-project?rev=42903&view=rev Log: Restrict EXTRACT_SUBREG coalescing to avoid negative performance impact. Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Modified: llvm/trunk/li

[llvm-commits] [test-suite] r42902 - /test-suite/trunk/Makefile.programs

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 04:13:15 2007 New Revision: 42902 URL: http://llvm.org/viewvc/llvm-project?rev=42902&view=rev Log: X86 llcbeta is now -tailcallopt. Modified: test-suite/trunk/Makefile.programs Modified: test-suite/trunk/Makefile.programs URL: http://llvm.org/viewvc/llvm-p

[llvm-commits] [llvm] r42899 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h include/llvm/CodeGen/LiveIntervalAnalysis.h include/llvm/CodeGen/MachineInstr.h include/llvm/CodeGen/SSARegMap.h incl

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 03:50:34 2007 New Revision: 42899 URL: http://llvm.org/viewvc/llvm-project?rev=42899&view=rev Log: EXTRACT_SUBREG coalescing support. The coalescer now treats EXTRACT_SUBREG like (almost) a register copy. However, it always coalesced to the register of the RHS (t

[llvm-commits] [llvm] r42898 - /llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 03:45:27 2007 New Revision: 42898 URL: http://llvm.org/viewvc/llvm-project?rev=42898&view=rev Log: Some clean up. Modified: llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp Modified: llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp URL: http://llvm.org/viewvc/ll

[llvm-commits] [llvm] r42897 - /llvm/trunk/include/llvm/CodeGen/RegisterCoalescer.h

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 03:40:44 2007 New Revision: 42897 URL: http://llvm.org/viewvc/llvm-project?rev=42897&view=rev Log: Cosmetic. Modified: llvm/trunk/include/llvm/CodeGen/RegisterCoalescer.h Modified: llvm/trunk/include/llvm/CodeGen/RegisterCoalescer.h URL: http://llvm.org/vi

[llvm-commits] [llvm] r42896 - /llvm/trunk/utils/TableGen/DAGISelEmitter.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 03:39:02 2007 New Revision: 42896 URL: http://llvm.org/viewvc/llvm-project?rev=42896&view=rev Log: Fix typos. Modified: llvm/trunk/utils/TableGen/DAGISelEmitter.cpp Modified: llvm/trunk/utils/TableGen/DAGISelEmitter.cpp URL: http://llvm.org/viewvc/llvm-pro

[llvm-commits] [llvm] r42895 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 03:38:01 2007 New Revision: 42895 URL: http://llvm.org/viewvc/llvm-project?rev=42895&view=rev Log: Fold load / store into MOV32to32_ and MOV16to16_. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.

[llvm-commits] [llvm] r42894 - /llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp

2007-10-12 Thread Evan Cheng
Author: evancheng Date: Fri Oct 12 02:55:53 2007 New Revision: 42894 URL: http://llvm.org/viewvc/llvm-project?rev=42894&view=rev Log: Flag MOV32to32_ with EXTRACT_SUBREG. They should not be scheduled apart. Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Modified: llvm/trunk/lib/Targ

[llvm-commits] [llvm] r42893 - /llvm/trunk/test/CodeGen/X86/tailcall1.ll

2007-10-12 Thread Arnold Schwaighofer
Author: arnolds Date: Fri Oct 12 02:49:48 2007 New Revision: 42893 URL: http://llvm.org/viewvc/llvm-project?rev=42893&view=rev Log: Added missing -march=x86 flag. Modified: llvm/trunk/test/CodeGen/X86/tailcall1.ll Modified: llvm/trunk/test/CodeGen/X86/tailcall1.ll URL: http://llvm.org/viewv

[llvm-commits] [llvm] r42892 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-10-12 Thread Gabor Greif
Author: ggreif Date: Fri Oct 12 02:44:54 2007 New Revision: 42892 URL: http://llvm.org/viewvc/llvm-project?rev=42892&view=rev Log: eliminate warning Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp URL: h