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

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 01:59:45 2008 New Revision: 47001 URL: http://llvm.org/viewvc/llvm-project?rev=47001view=rev Log: Unbreak various insert_vector_elt and extract_vector_elt tests in presence of SSE4. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified:

Re: [llvm-commits] [llvm] r46949 - in /llvm/trunk/lib/Target: TargetSelectionDAG.td X86/README-SSE.txt X86/X86ISelLowering.cpp X86/X86ISelLowering.h X86/X86InstrSSE.td

2008-02-12 Thread Evan Cheng
On Feb 10, 2008, at 8:19 PM, Nate Begeman wrote: + + if (Subtarget-hasSSE41()) { ... ... +if (Subtarget-is64Bit()) { + setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2i64, Legal); + setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2f64, Legal); + +

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

2008-02-12 Thread Devang Patel
Author: dpatel Date: Tue Feb 12 12:20:50 2008 New Revision: 47012 URL: http://llvm.org/viewvc/llvm-project?rev=47012view=rev Log: Remove dead code. Modified: llvm/trunk/utils/buildit/build_llvm Modified: llvm/trunk/utils/buildit/build_llvm URL:

Re: [llvm-commits] [llvm] r46827 - memoperands #1

2008-02-12 Thread Dan Gohman
Hi Chris, Thanks for the careful review! I've responded to parts of it already, and I'll be responding to more soon. On Feb 10, 2008, at 11:56 AM, Chris Lattner wrote: Instead of Size here, would it make sense to store an MVT? That would seem to capture strictly more information, thought

[llvm-commits] [llvm] r47018 - in /llvm/trunk/test/CodeGen/X86: fold-mul-lohi.ll stride-nine-with-base-reg.ll stride-reuse.ll

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 13:11:29 2008 New Revision: 47018 URL: http://llvm.org/viewvc/llvm-project?rev=47018view=rev Log: Don't mask the isel bug. Modified: llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll

[llvm-commits] [llvm] r47017 - /llvm/trunk/test/CodeGen/X86/peep-vector-extract-concat.ll

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 13:11:08 2008 New Revision: 47017 URL: http://llvm.org/viewvc/llvm-project?rev=47017view=rev Log: This test assumes no SSE4.1. Modified: llvm/trunk/test/CodeGen/X86/peep-vector-extract-concat.ll Modified:

[llvm-commits] [llvm] r47032 - /llvm/trunk/include/llvm/ADT/APInt.h

2008-02-12 Thread Dan Gohman
Author: djg Date: Tue Feb 12 15:47:33 2008 New Revision: 47032 URL: http://llvm.org/viewvc/llvm-project?rev=47032view=rev Log: Change APInt::getBitsSet to accept a half-open range, where the hiBit parameter marks the index one past the last desired set bit. Modified:

Re: [llvm-commits] [llvm] r46827 - memoperands #1

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 11:27 AM, Dan Gohman wrote: Hi Chris, Thanks for the careful review! I've responded to parts of it already, and I'll be responding to more soon. Thanks Dan! On Feb 10, 2008, at 11:56 AM, Chris Lattner wrote: Instead of Size here, would it make sense to store an MVT?

Re: [llvm-commits] [llvm] r47027 - /llvm/trunk/docs/CFEBuildInstrs.html

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 1:23 PM, Duncan Sands wrote: Author: baldrick Date: Tue Feb 12 15:22:58 2008 New Revision: 47027 URL: http://llvm.org/viewvc/llvm-project?rev=47027view=rev Log: Add instructions for building Ada and Fortran. Adjust mentions of gcc4 to be 4.0/4.2 agnostic. This file

[llvm-commits] [llvm] r47028 - /llvm/trunk/docs/CFEBuildInstrs.html

2008-02-12 Thread Duncan Sands
Author: baldrick Date: Tue Feb 12 15:28:39 2008 New Revision: 47028 URL: http://llvm.org/viewvc/llvm-project?rev=47028view=rev Log: Add more spacing. Modified: llvm/trunk/docs/CFEBuildInstrs.html Modified: llvm/trunk/docs/CFEBuildInstrs.html URL:

[llvm-commits] [llvm] r47027 - /llvm/trunk/docs/CFEBuildInstrs.html

2008-02-12 Thread Duncan Sands
Author: baldrick Date: Tue Feb 12 15:22:58 2008 New Revision: 47027 URL: http://llvm.org/viewvc/llvm-project?rev=47027view=rev Log: Add instructions for building Ada and Fortran. Adjust mentions of gcc4 to be 4.0/4.2 agnostic. This file should probably be renamed tor GCCFEBuildInstrs.html...

Re: [llvm-commits] [llvm] r46949 - in /llvm/trunk/lib/Target: TargetSelectionDAG.td X86/README-SSE.txt X86/X86ISelLowering.cpp X86/X86ISelLowering.h X86/X86InstrSSE.td

2008-02-12 Thread Nate Begeman
On Feb 12, 2008, at 12:00 AM, Evan Cheng wrote: On Feb 10, 2008, at 8:19 PM, Nate Begeman wrote: + + if (Subtarget-hasSSE41()) { ... ... +if (Subtarget-is64Bit()) { + setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2i64, Legal); +

[llvm-commits] [llvm] r47035 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86Instr64bit.td X86InstrFormats.td X86InstrSSE.td

2008-02-12 Thread Nate Begeman
Author: sampo Date: Tue Feb 12 16:51:28 2008 New Revision: 47035 URL: http://llvm.org/viewvc/llvm-project?rev=47035view=rev Log: SSE4.1 64b integer insert/extract pattern support Move formats into the formats file Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

[llvm-commits] [llvm] r47047 - in /llvm/trunk/test/CodeGen/X86: coalescer-commute1.ll coalescer-commute2.ll coalescer-commute3.ll

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 21:23:53 2008 New Revision: 47047 URL: http://llvm.org/viewvc/llvm-project?rev=47047view=rev Log: New tests. Added: llvm/trunk/test/CodeGen/X86/coalescer-commute1.ll llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll

[llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 21:01:43 2008 New Revision: 47046 URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev Log: Initial support for copy elimination by commuting its definition MI. PR1877. A3 = op A2 B0kill

Re: [llvm-commits] [llvm] r47042 - in /llvm/trunk: include/llvm/CodeGen/MachineRegisterInfo.h lib/CodeGen/MachineRegisterInfo.cpp

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 6:45 PM, Evan Cheng wrote: URL: http://llvm.org/viewvc/llvm-project?rev=47042view=rev Log: Added debugging routine dumpUses. Nice. +++ llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h Tue Feb 12 20:45:38 2008 +#ifndef NDEBUG + void dumpUses(unsigned RegNo)

[llvm-commits] [llvm] r47045 - /llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td

2008-02-12 Thread Nate Begeman
Author: sampo Date: Tue Feb 12 20:58:33 2008 New Revision: 47045 URL: http://llvm.org/viewvc/llvm-project?rev=47045view=rev Log: Make register scavenging happy by not using a reg (CR0) that isn't defined Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Modified:

[llvm-commits] [llvm] r47044 - in /llvm/trunk: include/llvm/CodeGen/LiveInterval.h lib/CodeGen/LiveInterval.cpp

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 20:48:26 2008 New Revision: 47044 URL: http://llvm.org/viewvc/llvm-project?rev=47044view=rev Log: - Added removeValNo() to remove all live ranges of a particular value#. - removeRange() can now update value# information. Modified:

[llvm-commits] [llvm] r47043 - in /llvm/trunk/lib: CodeGen/TargetInstrInfoImpl.cpp Target/PowerPC/PPCInstrInfo.cpp Target/X86/X86InstrInfo.cpp

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 20:46:49 2008 New Revision: 47043 URL: http://llvm.org/viewvc/llvm-project?rev=47043view=rev Log: commuteInstr() can now commute non-ssa machine instrs. Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp

[llvm-commits] [llvm] r47042 - in /llvm/trunk: include/llvm/CodeGen/MachineRegisterInfo.h lib/CodeGen/MachineRegisterInfo.cpp

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 20:45:38 2008 New Revision: 47042 URL: http://llvm.org/viewvc/llvm-project?rev=47042view=rev Log: Added debugging routine dumpUses. Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp Modified:

[llvm-commits] [llvm] r47037 - in /llvm/trunk/lib/Target: ARM/ARMAsmPrinter.cpp X86/X86AsmPrinter.cpp

2008-02-12 Thread Dale Johannesen
Author: johannes Date: Tue Feb 12 17:35:09 2008 New Revision: 47037 URL: http://llvm.org/viewvc/llvm-project?rev=47037view=rev Log: __DATA not __DATA__ is the right segment name on darwin. Spotted by Nick Kledzik. Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp

[llvm-commits] [llvm] r47036 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

2008-02-12 Thread Nate Begeman
Author: sampo Date: Tue Feb 12 16:54:40 2008 New Revision: 47036 URL: http://llvm.org/viewvc/llvm-project?rev=47036view=rev Log: Remove some dead code Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp URL:

[llvm-commits] [poolalloc] r47023 - /poolalloc/trunk/include/poolalloc/PoolAllocate.h

2008-02-12 Thread John Criswell
Author: criswell Date: Tue Feb 12 14:33:14 2008 New Revision: 47023 URL: http://llvm.org/viewvc/llvm-project?rev=47023view=rev Log: Added getPoolType() method which allows other passes to determine the type of pool descriptors added by the Automatic Pool Allocation pass. Modified:

[llvm-commits] [test-suite] r47025 - /test-suite/trunk/SingleSource/Benchmarks/Misc/oourafft.c

2008-02-12 Thread Lauro Ramos Venancio
Author: laurov Date: Tue Feb 12 14:59:25 2008 New Revision: 47025 URL: http://llvm.org/viewvc/llvm-project?rev=47025view=rev Log: Reduce test size. Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/oourafft.c Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/oourafft.c URL:

[llvm-commits] [test-suite] r47022 - in /test-suite/trunk/SingleSource/Benchmarks/Misc-C++: ray.cpp sphereflake.cpp

2008-02-12 Thread Lauro Ramos Venancio
Author: laurov Date: Tue Feb 12 14:16:49 2008 New Revision: 47022 URL: http://llvm.org/viewvc/llvm-project?rev=47022view=rev Log: Define SMALL_PROBLEM_SIZE. Modified: test-suite/trunk/SingleSource/Benchmarks/Misc-C++/ray.cpp

[llvm-commits] [llvm] r47020 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 13:25:12 2008 New Revision: 47020 URL: http://llvm.org/viewvc/llvm-project?rev=47020view=rev Log: Revert r46916 PPCTargetAsmInfo.cpp. Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

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

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 13:20:46 2008 New Revision: 47019 URL: http://llvm.org/viewvc/llvm-project?rev=47019view=rev Log: Only using x86-64 rip relative addressing in non-staic mode? Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Modified:

[llvm-commits] CVS: llvm-www/pubs/index.html

2008-02-12 Thread Chris Lattner
Changes in directory llvm-www/pubs: index.html updated: 1.63 - 1.64 --- Log message: add to index page --- Diffs of the changes: (+3 -0) index.html |3 +++ 1 files changed, 3 insertions(+) Index: llvm-www/pubs/index.html diff -u llvm-www/pubs/index.html:1.63

[llvm-commits] CVS: llvm-www/pubs/2008-02-23-TRANSACT-TangerObjBased.html 2008-02-23-TRANSACT-TangerObjBased.pdf

2008-02-12 Thread Chris Lattner
Changes in directory llvm-www/pubs: 2008-02-23-TRANSACT-TangerObjBased.html added (r1.1) 2008-02-23-TRANSACT-TangerObjBased.pdf added (r1.1) --- Log message: new paper from Torvald Riegel --- Diffs of the changes: (+49 -0) 2008-02-23-TRANSACT-TangerObjBased.html | 49

Re: [llvm-commits] [llvm] r47046 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/SimpleRegisterCoalescing.cpp lib/CodeGen/SimpleRegisterCoalescing.h

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 7:01 PM, Evan Cheng wrote: Author: evancheng Date: Tue Feb 12 21:01:43 2008 New Revision: 47046 URL: http://llvm.org/viewvc/llvm-project?rev=47046view=rev Log: Initial support for copy elimination by commuting its definition MI. Yay, thanks for tackling this Evan!

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

2008-02-12 Thread Dan Gohman
Author: djg Date: Tue Feb 12 12:52:52 2008 New Revision: 47015 URL: http://llvm.org/viewvc/llvm-project?rev=47015view=rev Log: Add a doxygen comment for SrcValueSDNode, to make its purpose clear and to clarify how it differs from MemOperandSDNode. Modified:

Re: [llvm-commits] [llvm] r46827 - MemOperands #2/2

2008-02-12 Thread Evan Cheng
On Feb 12, 2008, at 10:38 AM, Dan Gohman wrote: On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote: + +// Save loads/stores matched by a pattern. +if (!N-isLeaf() N-getName().empty()) { + std::string EnumName = N-getOperator()- getValueAsString(Opcode); + if (EnumName ==

Re: [llvm-commits] [llvm] r46827 - MemOperands #2/2

2008-02-12 Thread Dan Gohman
On Feb 12, 2008, at 12:12 AM, Evan Cheng wrote: + +// Save loads/stores matched by a pattern. +if (!N-isLeaf() N-getName().empty()) { + std::string EnumName = N-getOperator()- getValueAsString(Opcode); + if (EnumName == ISD::LOAD || + EnumName == ISD::STORE) {

Re: [llvm-commits] [llvm] r47006 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp

2008-02-12 Thread Dan Gohman
Hi Eli, Could you add a regression test from the testcase in the PR, to verify that the load is optimized out? Thanks, Dan On Feb 12, 2008, at 4:08 AM, Eli Friedman wrote: Author: efriedma Date: Tue Feb 12 06:08:14 2008 New Revision: 47006 URL:

[llvm-commits] [test-suite] r47011 - /test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/plot2fig/plot.c

2008-02-12 Thread Lauro Ramos Venancio
Author: laurov Date: Tue Feb 12 12:16:07 2008 New Revision: 47011 URL: http://llvm.org/viewvc/llvm-project?rev=47011view=rev Log: Fix test case. Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/plot2fig/plot.c Modified:

[llvm-commits] [llvm] r47031 - /llvm/trunk/docs/CFEBuildInstrs.html

2008-02-12 Thread Duncan Sands
Author: baldrick Date: Tue Feb 12 15:40:21 2008 New Revision: 47031 URL: http://llvm.org/viewvc/llvm-project?rev=47031view=rev Log: Note that these instructions are for x86-32 linux (the only platform on which the Ada compiler even builds). Modified: llvm/trunk/docs/CFEBuildInstrs.html

Re: [llvm-commits] [llvm] r46916 - /llvm/trunk/lib/Target/PowerPC/PPCTargetAsmInfo.cpp

2008-02-12 Thread Nick Lewycky
Evan Cheng wrote: Any idea what the differences mean? .rodata.cst4 makes it possible to be merged? Was there a reason to change it or than to match gcc? You're right, this is a bad patch. I changed it because I was getting errors in the assembler with it, but then, that's not what changed to

[llvm-commits] [llvm] r47026 - in /llvm/trunk: include/llvm/Analysis/MemoryDependenceAnalysis.h lib/Analysis/MemoryDependenceAnalysis.cpp lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/memcpy.ll

2008-02-12 Thread Owen Anderson
Author: resistor Date: Tue Feb 12 15:15:18 2008 New Revision: 47026 URL: http://llvm.org/viewvc/llvm-project?rev=47026view=rev Log: Re-apply the patch to improve the optimizations of memcpy's, with several bugs fixed. This now passes PPC bootstrap. Modified:

[llvm-commits] [llvm] r47006 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp

2008-02-12 Thread Eli Friedman
Author: efriedma Date: Tue Feb 12 06:08:14 2008 New Revision: 47006 URL: http://llvm.org/viewvc/llvm-project?rev=47006view=rev Log: Fix for bug 1996: optimize out loads of undef. This code basically just checks for a malloc/alloca immediately followed by a load. Modified:

Re: [llvm-commits] [llvm] r47007 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 7:09 AM, Wojciech Matyjewicz wrote: Author: wmat Date: Tue Feb 12 09:09:36 2008 New Revision: 47007 URL: http://llvm.org/viewvc/llvm-project?rev=47007view=rev Log: Fix PR2002. Suppose n is the initial value for the induction variable (with step 1) and m is its final

Re: [llvm-commits] [llvm-gcc-4.2] r46966 - in /llvm-gcc-4.2/trunk/gcc: config/i386/i386.h config/rs6000/rs6000.h llvm-abi.h

2008-02-12 Thread Dale Johannesen
On Feb 12, 2008, at 5:17 AM, Duncan Sands wrote: Hi Dale, Treat struct { long long: 29; }; as int sized and aligned, rather than long long. ABI issue. if you look at the DECL_SIZE of the bitfield, rather than the type size, I think it gives you 29. If so, DECL_SIZE should simplify

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

2008-02-12 Thread Nate Begeman
Author: sampo Date: Wed Feb 13 00:43:04 2008 New Revision: 47048 URL: http://llvm.org/viewvc/llvm-project?rev=47048view=rev Log: Support legalizing insert_vector_elt on targets where the element type is not legal. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified:

[llvm-commits] [llvm] r47049 - /llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll

2008-02-12 Thread Nate Begeman
Author: sampo Date: Wed Feb 13 00:48:40 2008 New Revision: 47049 URL: http://llvm.org/viewvc/llvm-project?rev=47049view=rev Log: Add testcase for recent legalizer change Added: llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll Added: llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll URL:

[llvm-commits] [llvm] r47009 - in /llvm/trunk/test/Analysis/ScalarEvolution: 2007-07-15-NegativeStride.ll 2007-08-06-Unsigned.ll 2007-09-27-LargeStepping.ll 2007-11-18-OrInstruction.ll SolveQuadraticE

2008-02-12 Thread Wojciech Matyjewicz
Author: wmat Date: Tue Feb 12 09:12:40 2008 New Revision: 47009 URL: http://llvm.org/viewvc/llvm-project?rev=47009view=rev Log: Now that ScalarEvolution::print writes to the correct stream, there is no need to redirect stderr into stdout. Modified:

[llvm-commits] [llvm] r47008 - /llvm/trunk/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll

2008-02-12 Thread Wojciech Matyjewicz
Author: wmat Date: Tue Feb 12 09:10:35 2008 New Revision: 47008 URL: http://llvm.org/viewvc/llvm-project?rev=47008view=rev Log: Change negative grep into positive one in my yesterday's testcase. Modified: llvm/trunk/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll Modified:

Re: [llvm-commits] [llvm] r47039 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/CellSPU/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Ta

2008-02-12 Thread Chris Lattner
On Feb 12, 2008, at 4:35 PM, Dan Gohman wrote: Convert SelectionDAG::ComputeMaskedBits to use APInt instead of uint64_t. Add an overload that supports the uint64_t interface for use by clients that haven't been updated yet. Great! Thanks for tackling this Dan! +++

[llvm-commits] [llvm] r47050 - /llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll

2008-02-12 Thread Eli Friedman
Author: efriedma Date: Wed Feb 13 00:55:57 2008 New Revision: 47050 URL: http://llvm.org/viewvc/llvm-project?rev=47050view=rev Log: Add test for PR1996. (This is my first time adding a test for a transform, so please review.) Added: llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll

Re: [llvm-commits] [llvm] r47050 - /llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll

2008-02-12 Thread Nick Lewycky
Eli Friedman wrote: Author: efriedma Date: Wed Feb 13 00:55:57 2008 New Revision: 47050 URL: http://llvm.org/viewvc/llvm-project?rev=47050view=rev Log: Add test for PR1996. (This is my first time adding a test for a transform, so please review.) Added:

[llvm-commits] [llvm] r47007 - in /llvm/trunk: lib/Analysis/ScalarEvolution.cpp test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll

2008-02-12 Thread Wojciech Matyjewicz
Author: wmat Date: Tue Feb 12 09:09:36 2008 New Revision: 47007 URL: http://llvm.org/viewvc/llvm-project?rev=47007view=rev Log: Fix PR2002. Suppose n is the initial value for the induction variable (with step 1) and m is its final value. Then, the correct trip count is SMAX(m,n)-n. Previously,

[llvm-commits] [llvm] r47051 - in /llvm/trunk/lib/Target: PowerPC/README_ALTIVEC.txt X86/README-SSE.txt

2008-02-12 Thread Nate Begeman
Author: sampo Date: Wed Feb 13 01:06:12 2008 New Revision: 47051 URL: http://llvm.org/viewvc/llvm-project?rev=47051view=rev Log: readme updates Modified: llvm/trunk/lib/Target/PowerPC/README_ALTIVEC.txt llvm/trunk/lib/Target/X86/README-SSE.txt Modified:

Re: [llvm-commits] [llvm-gcc-4.2] r46966 - in /llvm-gcc-4.2/trunk/gcc: config/i386/i386.h config/rs6000/rs6000.h llvm-abi.h

2008-02-12 Thread Duncan Sands
Hi Dale, Treat struct { long long: 29; }; as int sized and aligned, rather than long long. ABI issue. if you look at the DECL_SIZE of the bitfield, rather than the type size, I think it gives you 29. If so, DECL_SIZE should simplify things for you. In fact as far as I can see you

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

2008-02-12 Thread Chris Lattner
Author: lattner Date: Wed Feb 13 01:25:05 2008 New Revision: 47052 URL: http://llvm.org/viewvc/llvm-project?rev=47052view=rev Log: teach dag combiner how to eliminate MERGE_VALUES nodes. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified:

[llvm-commits] [llvm] r47053 - in /llvm/trunk/lib/Target: ARM/ARMISelLowering.cpp CellSPU/SPUISelLowering.cpp PowerPC/PPCISelLowering.cpp

2008-02-12 Thread Chris Lattner
Author: lattner Date: Wed Feb 13 01:35:30 2008 New Revision: 47053 URL: http://llvm.org/viewvc/llvm-project?rev=47053view=rev Log: don't try to avoid inserting loads when lowering FORMAL_ARGUMENTS. DAGCombine is now quite good at zapifying them. Modified:

[llvm-commits] [llvm] r47054 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/X86/arg-cast.ll

2008-02-12 Thread Chris Lattner
Author: lattner Date: Wed Feb 13 01:39:09 2008 New Revision: 47054 URL: http://llvm.org/viewvc/llvm-project?rev=47054view=rev Log: In SDISel, for targets that support FORMAL_ARGUMENTS nodes, lower this node as soon as we create it in SDISel. Previously we would lower it in legalize. The problem

[llvm-commits] [llvm] r47055 - /llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll

2008-02-12 Thread Eli Friedman
Author: efriedma Date: Wed Feb 13 01:56:04 2008 New Revision: 47055 URL: http://llvm.org/viewvc/llvm-project?rev=47055view=rev Log: Add a note pointing to PR1996. Modified: llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll Modified: llvm/trunk/test/Transforms/GVN/2008-02-12UndefLoad.ll