[llvm-commits] [llvm] r47290 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Target/X86/X86ISelLowerin

2008-02-18 Thread Evan Cheng
Author: evancheng Date: Mon Feb 18 17:04:32 2008 New Revision: 47290 URL: http://llvm.org/viewvc/llvm-project?rev=47290&view=rev Log: - When DAG combiner is folding a bit convert into a BUILD_VECTOR, it should check if it's essentially a SCALAR_TO_VECTOR. Avoid turning (v8i16) <10, u, u, u> to <

Re: [llvm-commits] [llvm] r47247 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp

2008-02-18 Thread Evan Cheng
Hi Resistor, This breaks MultiSource/Benchmarks/Prolangs-C++/city under x86-64. Please take a look. Thanks, Evan On Feb 17, 2008, at 1:29 PM, Owen Anderson wrote: > Author: resistor > Date: Sun Feb 17 15:29:08 2008 > New Revision: 47247 > > URL: http://llvm.org/viewvc/llvm-project?rev=47247&

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

2008-02-18 Thread Evan Cheng
Author: evancheng Date: Mon Feb 18 12:56:31 2008 New Revision: 47281 URL: http://llvm.org/viewvc/llvm-project?rev=47281&view=rev Log: - Remove the previous check which broke coalescer-commute3.ll - For now, conservatively ignore copy MI whose source is a physical register. Commuting its def MI ca

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

2008-02-18 Thread Evan Cheng
Author: evancheng Date: Mon Feb 18 02:40:53 2008 New Revision: 47262 URL: http://llvm.org/viewvc/llvm-project?rev=47262&view=rev Log: For now, avoid commuting def MI for copy MI's whose source is not killed. That simply trade a live interval for another and because only the non-two-address opera

Re: [llvm-commits] [llvm] r47086 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

2008-02-17 Thread Evan Cheng
Ping. Is this fixed? Does it affect build with -Werror set? Evan On Feb 13, 2008, at 5:22 PM, Bill Wendling wrote: > Hi Dan, > >> +uint32_t APInt::countTrailingOnes() const { >> + if (isSingleWord()) >> +return std::min(uint32_t(CountTrailingOnes_64(VAL)), BitWidth); >> + uint32_t Count =

Re: [llvm-commits] [llvm] r47213 - in /llvm/trunk/lib: CodeGen/SelectionDAG/LegalizeDAG.cpp Target/ARM/ARMISelLowering.cpp Target/CBackend/CBackend.cpp Target/CellSPU/SPUISelLowering.cpp Target/IA64/I

2008-02-17 Thread Evan Cheng
Thanks. Evan On Feb 16, 2008, at 6:46 AM, Andrew Lenharth wrote: > Author: alenhar2 > Date: Sat Feb 16 08:46:26 2008 > New Revision: 47213 > > URL: http://llvm.org/viewvc/llvm-project?rev=47213&view=rev > Log: > I cannot find a libgcc function for this builtin. Therefor > expanding it to a noo

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

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 21:34:45 2008 New Revision: 47209 URL: http://llvm.org/viewvc/llvm-project?rev=47209&view=rev Log: Back out 47205. It's breaking ppc build. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: http://llvm

Re: [llvm-commits] [llvm-gcc-4.2] r47205 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2008-02-15 Thread Evan Cheng
Hi Andrew, I think this might be breaking ppc build. "/tmp/llvmgcc42.roots/llvmgcc42~obj/obj-i686-powerpc/./gcc/xgcc" "-B/ tmp/llvmgcc42.roots/llvmgcc42~obj/obj-i686-powerpc/./gcc/" -B/ Developer/usr/llvm-gcc-4.2/powerpc-apple-darwin9/bin/ -B/Developer/usr/ llvm-gc\ c-4.2/powerpc-apple-darwin9

[llvm-commits] [llvm] r47208 - in /llvm/trunk/lib/CodeGen: SimpleRegisterCoalescing.cpp SimpleRegisterCoalescing.h

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 20:32:17 2008 New Revision: 47208 URL: http://llvm.org/viewvc/llvm-project?rev=47208&view=rev Log: Refactor some code; check if commuteInstruction is able to commute the instruction. Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp llvm/tru

Re: [llvm-commits] [llvm] r47177 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

2008-02-15 Thread Evan Cheng
;m working to understand the dance between target SDNodes and > MachineInstrs and I mistook what was going on there. Can you point me > to > an example where an instruction has def operands that aren't first, > not > counting ImplicitDefs defs? > > Dan > > On Feb 15, 20

Re: [llvm-commits] [llvm] r47177 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

2008-02-15 Thread Evan Cheng
Hi Dan, This is not right. You are assuming def operands must be first in the operand list. But that's not necessary the case. Evan On Feb 15, 2008, at 12:59 PM, Dan Gohman wrote: > Author: djg > Date: Fri Feb 15 14:59:17 2008 > New Revision: 47177 > > URL: http://llvm.org/viewvc/llvm-project

[llvm-commits] [llvm] r47189 - /llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 17:06:21 2008 New Revision: 47189 URL: http://llvm.org/viewvc/llvm-project?rev=47189&view=rev Log: This test is not interesting. Removed: llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll Removed: llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll URL: http

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

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 15:36:51 2008 New Revision: 47179 URL: http://llvm.org/viewvc/llvm-project?rev=47179&view=rev Log: The copy instruction being coalesced will be removed, it is not a kill. Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Modified: llvm/trunk/lib

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

2008-02-15 Thread Evan Cheng
:19 AM, Chris Lattner wrote: > > On Feb 15, 2008, at 10:24 AM, Evan Cheng wrote: > >> Author: evancheng >> Date: Fri Feb 15 12:24:29 2008 >> New Revision: 47167 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=47167&view=rev >> Log: >> -

[llvm-commits] [llvm] r47166 - in /llvm/trunk: include/llvm/Target/TargetInstrInfo.h lib/CodeGen/TargetInstrInfoImpl.cpp

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 12:21:33 2008 New Revision: 47166 URL: http://llvm.org/viewvc/llvm-project?rev=47166&view=rev Log: Added CommuteChangesDestination(). This returns true if commuting the specified machine instr will change its definition register. Modified: llvm/trunk/include

[llvm-commits] [llvm] r47164 - /llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp

2008-02-15 Thread Evan Cheng
Author: evancheng Date: Fri Feb 15 12:12:09 2008 New Revision: 47164 URL: http://llvm.org/viewvc/llvm-project?rev=47164&view=rev Log: Remove unnecessary #include. Modified: llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp Modified: llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp URL: http://llvm.org

Re: [llvm-commits] [llvm] r47143 - in /llvm/trunk: lib/Target/CellSPU/SPUSubtarget.h lib/Target/PowerPC/PPCAsmPrinter.cpp lib/Target/PowerPC/PPCSubtarget.cpp lib/Target/PowerPC/PPCSubtarget.h utils/Ta

2008-02-14 Thread Evan Cheng
Thanks. Since you are hacking on this, can you check something for me? I seem to be getting this annoying warning (something like "generating 64-bit code for 32-bit cpu") when I do (for example) -march=x86-64 - mattr=-sse41. Any idea what's causing this bogus warning? Is it when - mattr is us

Re: [llvm-commits] [llvm] r47122 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/

2008-02-14 Thread Evan Cheng
On Feb 14, 2008, at 9:28 AM, Duncan Sands wrote: > Author: baldrick > Date: Thu Feb 14 11:28:50 2008 > New Revision: 47122 > > URL: http://llvm.org/viewvc/llvm-project?rev=47122&view=rev > Log: > In TargetLowering::LowerCallTo, don't assert that > the return value is zero-extended if it isn't > s

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

2008-02-14 Thread Evan Cheng
This is not a new issue. But I am wondering if this may be a compile time issue if the number of legal FP immediate is sufficiently large? Should we build a hash table for it instead? Evan On Feb 14, 2008, at 12:57 AM, Nate Begeman wrote: > > switch (TLI.getOperationAction(ISD::ConstantF

[llvm-commits] [llvm] r47102 - /llvm/trunk/test/CodeGen/X86/arg-cast.ll

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 19:32:53 2008 New Revision: 47102 URL: http://llvm.org/viewvc/llvm-project?rev=47102&view=rev Log: Fix test. Modified: llvm/trunk/test/CodeGen/X86/arg-cast.ll Modified: llvm/trunk/test/CodeGen/X86/arg-cast.ll URL: http://llvm.org/viewvc/llvm-project/llvm/t

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

2008-02-13 Thread Evan Cheng
On Feb 13, 2008, at 9:31 AM, Chris Lattner wrote: > On Feb 13, 2008, at 1:47 AM, Evan Cheng wrote: >>> Very nice, does it also help shootout/fib? >> >> bh speedup doesn't seem real. It doesn't help fib. > > Ok, once things have settled, please take a look

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

2008-02-13 Thread Evan Cheng
Does this mean some of the custom lowering in X86ISelLowering.cpp can be eliminated? Thanks, Evan On Feb 12, 2008, at 10:43 PM, Nate Begeman wrote: > Author: sampo > Date: Wed Feb 13 00:43:04 2008 > New Revision: 47048 > > URL: http://llvm.org/viewvc/llvm-project?rev=47048&view=rev > Log: > S

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

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 03:56:03 2008 New Revision: 47060 URL: http://llvm.org/viewvc/llvm-project?rev=47060&view=rev Log: Some code clean up. Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp URL: http://l

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

2008-02-13 Thread Evan Cheng
On Feb 12, 2008, at 9:56 PM, Chris Lattner wrote: > 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=47046&view=rev >> L

[llvm-commits] [llvm] r47059 - /llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 03:18:16 2008 New Revision: 47059 URL: http://llvm.org/viewvc/llvm-project?rev=47059&view=rev Log: Simplify. Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h URL: http://llvm.

[llvm-commits] [llvm] r47058 - /llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 03:13:21 2008 New Revision: 47058 URL: http://llvm.org/viewvc/llvm-project?rev=47058&view=rev Log: Simplify. Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp URL: http://llvm.org/viewvc/llvm-

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

2008-02-13 Thread Evan Cheng
On Feb 12, 2008, at 9:59 PM, Chris Lattner wrote: > > On Feb 12, 2008, at 6:46 PM, Evan Cheng wrote: > >> Author: evancheng >> Date: Tue Feb 12 20:46:49 2008 >> New Revision: 47043 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=47043&view=rev >&g

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

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 03:06:18 2008 New Revision: 47057 URL: http://llvm.org/viewvc/llvm-project?rev=47057&view=rev Log: Fix a potential serious problem where kills belonging to the val# defined by a two-address instruction is also on the val# that defines the input. Modified: l

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

2008-02-13 Thread Evan Cheng
Author: evancheng Date: Wed Feb 13 02:41:08 2008 New Revision: 47056 URL: http://llvm.org/viewvc/llvm-project?rev=47056&view=rev Log: * Cannot safely commute an instruction there are other defs which can reach its uses. * Ignore copy instructions which have already been coalesced. Modified:

[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=47047&view=rev Log: New tests. Added: llvm/trunk/test/CodeGen/X86/coalescer-commute1.ll llvm/trunk/test/CodeGen/X86/coalescer-commute2.ll llvm/trunk/test/CodeGen/X86/coale

[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=47046&view=rev Log: Initial support for copy elimination by commuting its definition MI. PR1877. A3 = op A2 B0

[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=47044&view=rev Log: - Added removeValNo() to remove all live ranges of a particular value#. - removeRange() can now update value# information. Modified: llvm/trunk/include/llvm/Co

[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=47043&view=rev Log: commuteInstr() can now commute non-ssa machine instrs. Modified: llvm/trunk/lib/CodeGen/TargetInstrInfoImpl.cpp llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.

[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=47042&view=rev Log: Added debugging routine dumpUses. Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h llvm/trunk/lib/CodeGen/MachineRegisterInfo.cpp Modified:

[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=47020&view=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=47019&view=rev Log: Only using x86-64 rip relative addressing in non-staic mode? Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Modified: llvm/trunk/lib/Target/X86/X86IS

[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=47018&view=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/trunk/tes

[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=47017&view=rev Log: This test assumes no SSE4.1. Modified: llvm/trunk/test/CodeGen/X86/peep-vector-extract-concat.ll Modified: llvm/trunk/test/CodeGen/X86/peep-vector-extract-con

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()) { >>

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

2008-02-12 Thread Evan Cheng
= = = = = = = = = = --- llvm/trunk/utils/TableGen/DAGISelEmitter.cpp (original) +++ llvm/trunk/utils/TableGen/DAGISelEmitter.cpp Wed Feb 6 16:27:42 2008 @@ -313,6 +313,12 @@ std::vector > OrigChains; std::set Duplicates

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); > + > + se

[llvm-commits] [llvm] r47002 - /llvm/trunk/lib/Target/X86/X86Subtarget.h

2008-02-12 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 01:59:55 2008 New Revision: 47002 URL: http://llvm.org/viewvc/llvm-project?rev=47002&view=rev Log: Update comment. Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h URL: http://llvm.org/viewvc/llvm-projec

[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=47001&view=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: llvm/tr

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

2008-02-11 Thread Evan Cheng
Author: evancheng Date: Tue Feb 12 01:22:46 2008 New Revision: 46998 URL: http://llvm.org/viewvc/llvm-project?rev=46998&view=rev Log: Fix some test cases. Modified: llvm/trunk/test/CodeGen/X86/fold-mul-lohi.ll llvm/trunk/test/CodeGen/X86/stride-nine-with-base-reg.ll llvm/trunk/test/Co

[llvm-commits] [llvm] r46953 - in /llvm/trunk: lib/CodeGen/RegAllocLocal.cpp test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll

2008-02-11 Thread Evan Cheng
Author: evancheng Date: Mon Feb 11 02:30:52 2008 New Revision: 46953 URL: http://llvm.org/viewvc/llvm-project?rev=46953&view=rev Log: Determine whether a spill kills the register it's spilling before insertion rather than trying to undo the kill marker afterwards. Added: llvm/trunk/test/Code

Re: [llvm-commits] [llvm] r46922 - /llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2008-02-10 Thread Evan Cheng
What is this fixing? I would expect SelectionDAG to constant evaluating it to a constant node? Evan On Feb 10, 2008, at 12:10 AM, Bill Wendling wrote: > Author: void > Date: Sun Feb 10 02:10:24 2008 > New Revision: 46922 > > URL: http://llvm.org/viewvc/llvm-project?rev=46922&view=rev > Log: >

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

2008-02-10 Thread Evan Cheng
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? Thanks, Evan On Feb 9, 2008, at 4:03 PM, Nick Lewycky wrote: > Author: nicholas > Date: Sat Feb 9 18:03:54 2008 > New Revision: 46916 > > URL: http://llvm.or

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

2008-02-09 Thread Evan Cheng
Author: evancheng Date: Sat Feb 9 02:36:28 2008 New Revision: 46903 URL: http://llvm.org/viewvc/llvm-project?rev=46903&view=rev Log: Remove unused hidden option. Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp URL:

Re: [llvm-commits] [llvm] r46893 - in /llvm/trunk: include/llvm/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Target/X86/ tes

2008-02-08 Thread Evan Cheng
Sorry, committed. I seem to have some issues with my setup. Evan On Feb 8, 2008, at 1:58 PM, Andrew Lenharth wrote: > This breaks the build. I think you forgot some files in /lib/Codegen. > > Andrew > > On 2/8/08, Evan Cheng <[EMAIL PROTECTED]> wrote: >> Author: ev

[llvm-commits] [llvm] r46896 - in /llvm/trunk/lib/CodeGen: LiveIntervalAnalysis.cpp RegAllocBigBlock.cpp VirtRegMap.cpp

2008-02-08 Thread Evan Cheng
Author: evancheng Date: Fri Feb 8 16:05:27 2008 New Revision: 46896 URL: http://llvm.org/viewvc/llvm-project?rev=46896&view=rev Log: Forgot these files. Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp llvm/trunk/lib/CodeGen/RegAllocBigBlock.cpp llvm/trunk/lib/CodeGen/VirtRe

[llvm-commits] [llvm] r46895 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp

2008-02-08 Thread Evan Cheng
Author: evancheng Date: Fri Feb 8 16:05:07 2008 New Revision: 46895 URL: http://llvm.org/viewvc/llvm-project?rev=46895&view=rev Log: Also print alignment. Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp URL: http://llvm.org/viewvc/llvm-pr

[llvm-commits] [llvm] r46893 - in /llvm/trunk: include/llvm/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Target/X86/ test/Co

2008-02-08 Thread Evan Cheng
Author: evancheng Date: Fri Feb 8 15:20:40 2008 New Revision: 46893 URL: http://llvm.org/viewvc/llvm-project?rev=46893&view=rev Log: It's not always safe to fold movsd into xorpd, etc. Check the alignment of the load address first to make sure it's 16 byte aligned. Added: llvm/trunk/test/Co

[llvm-commits] [llvm] r46866 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.cpp test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll

2008-02-07 Thread Evan Cheng
Author: evancheng Date: Thu Feb 7 18:12:56 2008 New Revision: 46866 URL: http://llvm.org/viewvc/llvm-project?rev=46866&view=rev Log: Added missing entries in X86 load / store folding tables. Added: llvm/trunk/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll Modified: llvm/trunk/lib/Target/X

[llvm-commits] [llvm] r46861 - /llvm/trunk/lib/CodeGen/RegAllocLocal.cpp

2008-02-07 Thread Evan Cheng
Author: evancheng Date: Thu Feb 7 13:46:55 2008 New Revision: 46861 URL: http://llvm.org/viewvc/llvm-project?rev=46861&view=rev Log: Remove remnant of load folding in local register allocator. Patch by Holger Schurig. Modified: llvm/trunk/lib/CodeGen/RegAllocLocal.cpp Modified: llvm/trunk/

[llvm-commits] [llvm] r46850 - in /llvm/trunk: lib/Target/X86/X86ISelDAGToDAG.cpp lib/Target/X86/X86Instr64bit.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86Subtarget.cpp lib/Target/X86/X86Subta

2008-02-07 Thread Evan Cheng
Author: evancheng Date: Thu Feb 7 02:53:49 2008 New Revision: 46850 URL: http://llvm.org/viewvc/llvm-project?rev=46850&view=rev Log: Fix a x86-64 codegen deficiency. Allow gv + offset when using rip addressing mode. Before: _main: subq$8, %rsp leaq_X(%rip), %rax m

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

2008-02-07 Thread Evan Cheng
Author: evancheng Date: Thu Feb 7 02:29:53 2008 New Revision: 46849 URL: http://llvm.org/viewvc/llvm-project?rev=46849&view=rev Log: In some cases, e.g. ADD32ri, no transformation is made. Guide against it. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified: llvm/trunk/lib/Target

[llvm-commits] [llvm] r46825 - /llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll

2008-02-06 Thread Evan Cheng
Author: evancheng Date: Wed Feb 6 16:07:17 2008 New Revision: 46825 URL: http://llvm.org/viewvc/llvm-project?rev=46825&view=rev Log: It's PR1925, not PR1609. Modified: llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll Modified: llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBu

[llvm-commits] [llvm] r46821 - in /llvm/trunk: lib/CodeGen/RegAllocLocal.cpp test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll

2008-02-06 Thread Evan Cheng
Author: evancheng Date: Wed Feb 6 13:16:53 2008 New Revision: 46821 URL: http://llvm.org/viewvc/llvm-project?rev=46821&view=rev Log: Fix a number of local register allocator issues: PR1609. Added: llvm/trunk/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll Modified: llvm/trunk/lib/CodeGen

[llvm-commits] [llvm] r46813 - /llvm/trunk/lib/CodeGen/RegAllocLocal.cpp

2008-02-06 Thread Evan Cheng
Author: evancheng Date: Wed Feb 6 02:00:32 2008 New Revision: 46813 URL: http://llvm.org/viewvc/llvm-project?rev=46813&view=rev Log: RegAllocaLocal still *requires* LiveVariables since it runs PHIElimination, followed by TwoAddress which requires LiveVariables. We cannot run LiveVariables on no

[llvm-commits] [llvm] r46776 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAG.cpp test/CodeGen/X86/2008-02-05-ISelCrash.ll utils/TableGen/DAGISelEmitter.cpp

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 16:50:29 2008 New Revision: 46776 URL: http://llvm.org/viewvc/llvm-project?rev=46776&view=rev Log: Fix PR1975: dag isel emitter produces patterns that isel wrong flag result. Added: llvm/trunk/test/CodeGen/X86/2008-02-05-ISelCrash.ll Modified: llvm/trunk

[llvm-commits] [llvm] r46775 - /llvm/trunk/lib/Target/CellSPU/SPUISelLowering.cpp

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 16:44:06 2008 New Revision: 46775 URL: http://llvm.org/viewvc/llvm-project?rev=46775&view=rev Log: Move to getCALLSEQ_END to ensure CALLSEQ_END node produces a flag. This is consistent with the definition in td file. Modified: llvm/trunk/lib/Target/CellSPU/

[llvm-commits] [llvm] r46763 - in /llvm/trunk: lib/CodeGen/LiveVariables.cpp test/CodeGen/PowerPC/2008-02-05-LiveIntervalsAssert.ll

2008-02-05 Thread Evan Cheng
Author: evancheng Date: Tue Feb 5 14:04:18 2008 New Revision: 46763 URL: http://llvm.org/viewvc/llvm-project?rev=46763&view=rev Log: If a vr is already marked alive in a bb, then it has PHI uses that are visited earlier, then it is not killed in the def block (i.e. not dead). Added: llvm/tr

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Evan Cheng
With or without... On Feb 5, 2008, at 11:39 AM, Chris Lattner wrote: > > On Feb 5, 2008, at 11:37 AM, Evan Cheng wrote: > >>> That means you have to know whether you've got SSE4.1 in the FE. >>> This is not an insuperable obstacle, but I think it&#x

Re: [llvm-commits] [llvm] r46730 - /llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp

2008-02-05 Thread Evan Cheng
Yes it did. Evan On Feb 5, 2008, at 10:38 AM, Anton Korobeynikov wrote: > Evan, > >> This should also work on x86 now. > But this this worked on PPC before then? > > -- > With best regards, Anton Korobeynikov. > > Faculty of Mathematics & Mechanics, Saint Petersburg State University. > > >

Re: [llvm-commits] [llvm] r46727 - /llvm/trunk/include/llvm/IntrinsicsX86.td

2008-02-05 Thread Evan Cheng
On Feb 5, 2008, at 9:43 AM, Dale Johannesen wrote: > > On Feb 4, 2008, at 9:07 PM, Chris Lattner wrote: > >> >> On Feb 4, 2008, at 3:27 PM, Dale Johannesen wrote: >> >>> Author: johannes >>> Date: Mon Feb 4 17:27:29 2008 >>> New Revision: 46727 >>> >>> URL: http://llvm.org/viewvc/llvm-project?re

[llvm-commits] [llvm] r46730 - /llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp

2008-02-04 Thread Evan Cheng
Author: evancheng Date: Mon Feb 4 18:25:31 2008 New Revision: 46730 URL: http://llvm.org/viewvc/llvm-project?rev=46730&view=rev Log: This should also work on x86 now. Modified: llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.cpp Modified: llvm/trunk/test/C++Frontend/2006-11-06-StackTrace.

[llvm-commits] [llvm] r46729 - /llvm/trunk/include/llvm/CodeGen/AsmPrinter.h

2008-02-04 Thread Evan Cheng
Author: evancheng Date: Mon Feb 4 18:25:13 2008 New Revision: 46729 URL: http://llvm.org/viewvc/llvm-project?rev=46729&view=rev Log: Unbreak teh build. Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h Modified: llvm/trunk/include/llvm/CodeGen/AsmPrinter.h URL: http://llvm.org/viewvc/

[llvm-commits] [llvm] r46725 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2008-02-04 Thread Evan Cheng
Author: evancheng Date: Mon Feb 4 17:10:38 2008 New Revision: 46725 URL: http://llvm.org/viewvc/llvm-project?rev=46725&view=rev Log: Typo. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified: llvm/trunk/include/llvm

[llvm-commits] [llvm] r46724 - in /llvm/trunk: lib/CodeGen/AsmPrinter.cpp lib/Target/ARM/ARMISelDAGToDAG.cpp lib/Target/Alpha/AlphaISelDAGToDAG.cpp lib/Target/CellSPU/SPUISelDAGToDAG.cpp lib/Target/IA

2008-02-04 Thread Evan Cheng
Author: evancheng Date: Mon Feb 4 17:06:48 2008 New Revision: 46724 URL: http://llvm.org/viewvc/llvm-project?rev=46724&view=rev Log: Dwarf requires variable entries to be in the source order. Right now, since we are recording variable information at isel time this means parameters would appear

[llvm-commits] [llvm] r46667 - in /llvm/trunk: lib/CodeGen/AsmPrinter.cpp lib/Target/ARM/ARMAsmPrinter.cpp lib/Target/Alpha/AlphaAsmPrinter.cpp lib/Target/CellSPU/SPUAsmPrinter.cpp lib/Target/IA64/IA6

2008-02-02 Thread Evan Cheng
Author: evancheng Date: Sat Feb 2 02:39:46 2008 New Revision: 46667 URL: http://llvm.org/viewvc/llvm-project?rev=46667&view=rev Log: Get rid of the annoying blank lines before labels. Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp llvm/tru

Re: [llvm-commits] [llvm] r46659 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ l

2008-02-02 Thread Evan Cheng
On Feb 1, 2008, at 8:13 PM, Chris Lattner wrote: > On Feb 1, 2008, at 8:07 PM, Evan Cheng wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46659&view=rev >> Log: >> SDIsel processes llvm.dbg.declare by recording the variable debug >> information descriptor an

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

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 23:06:29 2008 New Revision: 46665 URL: http://llvm.org/viewvc/llvm-project?rev=46665&view=rev Log: Unbreak ppc debug support. Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp URL: http:

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

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 22:10:17 2008 New Revision: 46660 URL: http://llvm.org/viewvc/llvm-project?rev=46660&view=rev Log: For ByVal parameter, no need to alloca a home for it on the callee frame since it's available on the caller frame. Modified: llvm-gcc-4.2/trunk/gcc/llvm-conve

[llvm-commits] [llvm] r46659 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ lib/T

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 22:07:54 2008 New Revision: 46659 URL: http://llvm.org/viewvc/llvm-project?rev=46659&view=rev Log: SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only w

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

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 18:17:00 2008 New Revision: 46655 URL: http://llvm.org/viewvc/llvm-project?rev=46655&view=rev Log: Frame index can be negative. Modified: llvm/trunk/include/llvm/Target/MRegisterInfo.h llvm/trunk/lib/Target/MRegisterInfo.cpp llvm/trunk/lib/Target/X86

[llvm-commits] [llvm-gcc-4.2] r46643 - /llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 13:25:13 2008 New Revision: 46643 URL: http://llvm.org/viewvc/llvm-project?rev=46643&view=rev Log: int_size_in_bytes() returns the type size in bytes, not bits. So compare against 16, not 128. Modified: llvm-gcc-4.2/trunk/gcc/config/i386/llvm-i386.cpp Modi

Re: [llvm-commits] [llvm] r46556 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h include/llvm/Value.h lib/CodeGen/PseudoSourceValue.cpp

2008-02-01 Thread Evan Cheng
Some comments on the patch: + +// Save loads/stores matched by a pattern. +if (!N->isLeaf() && N->getName().empty() && +((N->getOperator()->getName() == "ld") || + (N->getOperator()->getName() == "st") || + (N->getOperator()->getName() == "ist"))) { + LSI.pus

Re: [llvm-commits] [llvm] r46556 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h include/llvm/Value.h lib/CodeGen/PseudoSourceValue.cpp

2008-02-01 Thread Evan Cheng
Sorry, I forgot to reply last night. The patch tested out ok. Thanks! Evan On Jan 31, 2008, at 6:08 PM, Dan Gohman wrote: > Attached is an updated version of this change (46556 and 46585) > with what I believe is a fix for the static initializer problem, > but I don't have access to a system whe

[llvm-commits] [llvm-gcc-4.2] r46637 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 03:12:58 2008 New Revision: 46637 URL: http://llvm.org/viewvc/llvm-project?rev=46637&view=rev Log: Do not emit an entry stop point. llvm.dbg.func.start implicitly defines one now. Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Modified: llvm-gcc-4.2/trunk/

[llvm-commits] [llvm] r46636 - /llvm/trunk/docs/SourceLevelDebugging.html

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 03:12:11 2008 New Revision: 46636 URL: http://llvm.org/viewvc/llvm-project?rev=46636&view=rev Log: Update llvm.dbg.func.start. Modified: llvm/trunk/docs/SourceLevelDebugging.html Modified: llvm/trunk/docs/SourceLevelDebugging.html URL: http://llvm.org/view

[llvm-commits] [llvm] r46635 - in /llvm/trunk: include/llvm/CodeGen/AsmPrinter.h lib/CodeGen/AsmPrinter.cpp lib/CodeGen/DwarfWriter.cpp lib/CodeGen/PrologEpilogInserter.cpp lib/CodeGen/SelectionDAG/Sc

2008-02-01 Thread Evan Cheng
Author: evancheng Date: Fri Feb 1 03:10:45 2008 New Revision: 46635 URL: http://llvm.org/viewvc/llvm-project?rev=46635&view=rev Log: Remove the nasty LABEL hack with a much less evil one. Now llvm.dbg.func.start implies a stoppoint is set. SelectionDAGISel records a new source line but does not

[llvm-commits] [llvm] r46628 - in /llvm/trunk: include/llvm/CodeGen/MachineModuleInfo.h lib/CodeGen/MachineModuleInfo.cpp lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2008-01-31 Thread Evan Cheng
Author: evancheng Date: Thu Jan 31 20:05:57 2008 New Revision: 46628 URL: http://llvm.org/viewvc/llvm-project?rev=46628&view=rev Log: Rename RecordLabel to RecordSourceLine because that's what it is doing. Modified: llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h llvm/trunk/lib/CodeGe

Re: [llvm-commits] [llvm] r46556 - in /llvm/trunk: include/llvm/CodeGen/PseudoSourceValue.h include/llvm/Value.h lib/CodeGen/PseudoSourceValue.cpp

2008-01-31 Thread Evan Cheng
Hi Dan, This patch has caused wide spread breakage. All the dejagnu tests are broken, etc. FAIL: /Users/echeng/LLVM/llvm/test/CodeGen/ARM/branch.ll Failed with signal(SIGABRT) at line 1 while running: llvm-upgrade < /Users/echeng/LLVM/llvm/test/CodeGen/ARM/ branch.ll | llvm-as | llc -march=arm

Re: [llvm-commits] [test-suite] r46573 [1/3] - in /test-suite/trunk/MultiSource/Applications: ./ ClamAV/ ClamAV/dbdir/ ClamAV/inputs/ ClamAV/inputs/rtf-test/ ClamAV/scripts/

2008-01-31 Thread Evan Cheng
wrote: > > On Jan 31, 2008, at 12:15 AM, Evan Cheng wrote: > >>>> Doc22.rtf (with props) >>>> test-suite/trunk/MultiSource/Applications/ClamAV/inputs/rtf-test/ >>>> doc3.rtf (with props) >>>> test-suite/trunk/MultiSource/Applications/ClamAV

[llvm-commits] [llvm] r46610 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

2008-01-31 Thread Evan Cheng
Author: evancheng Date: Thu Jan 31 04:05:13 2008 New Revision: 46610 URL: http://llvm.org/viewvc/llvm-project?rev=46610&view=rev Log: Add a comment for a nasty short term hack. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/Schedul

[llvm-commits] [llvm] r46609 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/CellSPU/ lib/Target/PowerPC/ lib/Target/X86/ utils/TableGen/

2008-01-31 Thread Evan Cheng
Author: evancheng Date: Thu Jan 31 03:59:15 2008 New Revision: 46609 URL: http://llvm.org/viewvc/llvm-project?rev=46609&view=rev Log: Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc labels. This fixes the EH breakage. However I am not convinced this is *the* so

Re: [llvm-commits] [test-suite] r46573 [1/3] - in /test-suite/trunk/MultiSource/Applications: ./ ClamAV/ ClamAV/dbdir/ ClamAV/inputs/ ClamAV/inputs/rtf-test/ ClamAV/scripts/

2008-01-31 Thread Evan Cheng
On Jan 30, 2008, at 4:59 PM, Chris Lattner wrote: > > On Jan 30, 2008, at 1:17 PM, Evan Cheng wrote: > >> Author: evancheng >> Date: Wed Jan 30 15:17:10 2008 >> New Revision: 46573 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=46573&view=rev &g

[llvm-commits] [test-suite] r46608 - in /test-suite/trunk/MultiSource/Applications/ClamAV: Makefile clamscan_clamscan.c inputs/clamdoc.pdf inputs/clamdoc.tar.gz

2008-01-31 Thread Evan Cheng
Author: evancheng Date: Thu Jan 31 02:14:31 2008 New Revision: 46608 URL: http://llvm.org/viewvc/llvm-project?rev=46608&view=rev Log: Slightly shrinkify inputs, slightly increase test size. Added: test-suite/trunk/MultiSource/Applications/ClamAV/inputs/clamdoc.tar.gz (with props) Removed:

Re: [llvm-commits] [llvm] r46587 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/CodeGen/SelectionDAG/

2008-01-31 Thread Evan Cheng
How about changing it to FLT_ROUND (no s) or something else? Using a trailing '_' seems silly. Thanks, Evan On Jan 30, 2008, at 4:41 PM, Dan Gohman wrote: > Author: djg > Date: Wed Jan 30 18:41:03 2008 > New Revision: 46587 > > URL: http://llvm.org/viewvc/llvm-project?rev=46587&view=rev > Log

[llvm-commits] [test-suite] r46607 - /test-suite/trunk/MultiSource/Applications/ClamAV/ClamAV-srcflat.tar.gz

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Thu Jan 31 01:54:34 2008 New Revision: 46607 URL: http://llvm.org/viewvc/llvm-project?rev=46607&view=rev Log: Not needed. Removed: test-suite/trunk/MultiSource/Applications/ClamAV/ClamAV-srcflat.tar.gz Removed: test-suite/trunk/MultiSource/Applications/ClamAV/ClamAV-s

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

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 22:06:00 2008 New Revision: 46598 URL: http://llvm.org/viewvc/llvm-project?rev=46598&view=rev Log: Add x86 specific getFrameIndexOffset(). This fixes local variable debugging info. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp llvm/trunk/lib/T

[llvm-commits] [llvm] r46597 - in /llvm/trunk: include/llvm/Target/MRegisterInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/MRegisterInfo.cpp

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 21:37:28 2008 New Revision: 46597 URL: http://llvm.org/viewvc/llvm-project?rev=46597&view=rev Log: MRegisterInfo::getLocation() is a really bad idea. Its function is to calculate the offset from frame pointer to a stack slot and then storing the delta in a Mach

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

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 21:33:38 2008 New Revision: 46596 URL: http://llvm.org/viewvc/llvm-project?rev=46596&view=rev Log: Makes the same change in ppc backend: avoid inserting prologue before debug labels. Modified: llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.cpp Modified: llv

[llvm-commits] [llvm] r46586 - /llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 18:27:49 2008 New Revision: 46586 URL: http://llvm.org/viewvc/llvm-project?rev=46586&view=rev Log: Also avoid adding callee save code before debug labels. Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Modified: llvm/trunk/lib/CodeGen/PrologEpilo

[llvm-commits] [llvm] r46579 - /llvm/trunk/lib/CodeGen/LiveInterval.cpp

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 16:44:55 2008 New Revision: 46579 URL: http://llvm.org/viewvc/llvm-project?rev=46579&view=rev Log: Fixed a bug in MergeValueInAsValue() pointed out by David Greene. Replace val# with previous liverange's. Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp M

[llvm-commits] [llvm] r46571 - in /llvm/trunk/lib: CodeGen/SelectionDAG/ScheduleDAG.cpp Target/X86/X86RegisterInfo.cpp

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 14:08:35 2008 New Revision: 46571 URL: http://llvm.org/viewvc/llvm-project?rev=46571&view=rev Log: Treat the label for the first @llvm.dbg.stoppoint the same way as the dbg_func_start label. Make sure nothing else is inserted before them. Note this solution migh

[llvm-commits] [llvm] r46568 - in /llvm/trunk: include/llvm/CodeGen/ScheduleDAG.h lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 13:35:32 2008 New Revision: 46568 URL: http://llvm.org/viewvc/llvm-project?rev=46568&view=rev Log: A semi-gross fix for a debug info issue. When inserting the "function start" label (i.e. first label in the entry block) take care to insert it at the beginning o

[llvm-commits] [llvm] r46562 - in /llvm/trunk: include/llvm/Target/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/CellSPU/ lib/Target/IA64/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Target/X86/

2008-01-30 Thread Evan Cheng
Author: evancheng Date: Wed Jan 30 12:18:23 2008 New Revision: 46562 URL: http://llvm.org/viewvc/llvm-project?rev=46562&view=rev Log: Even though InsertAtEndOfBasicBlock is an ugly hack it still deserves a proper name. Rename it to EmitInstrWithCustomInserter since it does not necessarily insert

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

2008-01-29 Thread Evan Cheng
Author: evancheng Date: Tue Jan 29 21:57:33 2008 New Revision: 46546 URL: http://llvm.org/viewvc/llvm-project?rev=46546&view=rev Log: Skip over the label which marks the beginning of the function before inserting prologue code. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp Modifie

[llvm-commits] [llvm] r46527 - in /llvm/trunk/lib/Target/X86: X86FloatingPoint.cpp X86ISelDAGToDAG.cpp X86ISelLowering.cpp X86ISelLowering.h X86Instr64bit.td X86InstrFPStack.td

2008-01-29 Thread Evan Cheng
Author: evancheng Date: Tue Jan 29 13:34:22 2008 New Revision: 46527 URL: http://llvm.org/viewvc/llvm-project?rev=46527&view=rev Log: Work in progress. This patch *fixes* x86-64 calls which are modelled as StructRet but really should be return in registers, e.g. _Complex long double, some 128-bi

  1   2   3   4   5   6   7   8   9   10   >