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)
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
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
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
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/
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
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
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
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
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
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
> 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
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
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
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
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
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".
>> 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
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
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
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:
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
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
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
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
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
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
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
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
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
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
>>> 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
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
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
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/
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
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
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
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/
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
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 -
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
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
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
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
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
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
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://
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
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
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
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
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
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
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.
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
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
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
58 matches
Mail list logo