[llvm-commits] [llvm-top] r38529 - /llvm-top/trunk/cfe/trunk/ModuleInfo.txt

2007-07-11 Thread Reid Spencer
Author: reid Date: Wed Jul 11 02:26:01 2007 New Revision: 38529 URL: http://llvm.org/viewvc/llvm-project?rev=38529view=rev Log: Add a comment describing what this file is for. Modified: llvm-top/trunk/cfe/trunk/ModuleInfo.txt Modified: llvm-top/trunk/cfe/trunk/ModuleInfo.txt URL:

[llvm-commits] [llvm-top] r38530 - /llvm-top/trunk/cfe/

2007-07-11 Thread Reid Spencer
Author: reid Date: Wed Jul 11 02:40:41 2007 New Revision: 38530 URL: http://llvm.org/viewvc/llvm-project?rev=38530view=rev Log: Delete this, its in the wrong place Removed: llvm-top/trunk/cfe/ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu

[llvm-commits] [llvm] r38534 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

2007-07-11 Thread Evan Cheng
Author: evancheng Date: Wed Jul 11 03:47:44 2007 New Revision: 38534 URL: http://llvm.org/viewvc/llvm-project?rev=38534view=rev Log: No longer need to track last def / use. Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp URL:

[llvm-commits] [llvm] r38535 - /llvm/trunk/lib/CodeGen/BranchFolding.cpp

2007-07-11 Thread Duncan Sands
Author: baldrick Date: Wed Jul 11 03:47:55 2007 New Revision: 38535 URL: http://llvm.org/viewvc/llvm-project?rev=38535view=rev Log: If assertions are not enabled, we should return False here. Modified: llvm/trunk/lib/CodeGen/BranchFolding.cpp Modified:

Re: [llvm-commits] [llvm] r38534 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

2007-07-11 Thread Anton Korobeynikov
Hello, Evan No longer need to track last def / use. Late night hacking broke things(tm) :) Testcase is attached. Run it via 'llc -mcpu=athlon'. PS: Bugzilla doesn't answer right now, thus posting here. -- With best regards, Anton Korobeynikov. Faculty of Mathematics Mechanics, Saint

Re: [llvm-commits] [llvm] r38506 - in /llvm/trunk: lib/VMCore/Verifier.cpp test/Verifier/byval-1.ll test/Verifier/byval-2.ll test/Verifier/byval-3.ll test/Verifier/byval-4.ll

2007-07-11 Thread Duncan Sands
Hi Rafael, +Assert(!Attrs-paramHasAttr(0, ParamAttr::ByVal), + Attribute ByVal should not apply to functions!); why not? +Attribute ByVal should only apply to pointer to structs!, F); Why? Why are arrays not allowed? Here's my take on this whole area.

[llvm-commits] PATCH: regarding PR1546

2007-07-11 Thread Gabor Greif
I do not consider PR1546 closed just yet. What I mentioned in the PR was only two of ca. 140 Solaris failures. Most of them complain that llc cannot choose between C and MSIL output formats. The below prototypical patch corrects this type of failure. Is this the right way of handling it? Why

Re: [llvm-commits] PATCH: regarding PR1546

2007-07-11 Thread Anton Korobeynikov
Hello, Gabor. The below prototypical patch corrects this type of failure. It seems, that this is not correct patch. I think the idea was to let llc select current target and generate code for it. Why does llc only fail on Solaris and not on Darwin? I think because we handle

Re: [llvm-commits] PATCH: regarding PR1546

2007-07-11 Thread Chris Lattner
On Jul 11, 2007, at 5:36 AM, Gabor Greif wrote: I do not consider PR1546 closed just yet. What I mentioned in the PR was only two of ca. 140 Solaris failures. Hrm, this is very strange. Is this on solaris/sparc? If so, the sparc target should autodetect that and override msil and C.

[llvm-commits] [llvm] r39142 - /llvm/trunk/lib/Target/Sparc/SparcTargetMachine.cpp

2007-07-11 Thread Chris Lattner
Author: lattner Date: Wed Jul 11 11:32:10 2007 New Revision: 39142 URL: http://llvm.org/viewvc/llvm-project?rev=39142view=rev Log: Fix an oversight: for modules with no other identifying target info, the sparc backend should be preferred when running on sparcs. Modified:

Re: [llvm-commits] [llvm] r38517 - in /llvm/trunk: include/llvm/LinkAllPasses.h include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread David A. Greene
On Tuesday 10 July 2007 19:46, Owen Anderson wrote: Author: resistor Date: Tue Jul 10 19:46:18 2007 New Revision: 38517 URL: http://llvm.org/viewvc/llvm-project?rev=38517view=rev Log: Add FastDSE, a new algorithm for doing dead store elimination. This algorithm is not as accurate as the

[llvm-commits] [llvm] r39732 - /llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp

2007-07-11 Thread Duncan Sands
Author: baldrick Date: Wed Jul 11 11:59:20 2007 New Revision: 39732 URL: http://llvm.org/viewvc/llvm-project?rev=39732view=rev Log: Exception handling has been implemented. Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp Modified: llvm/trunk/lib/CodeGen/LLVMTargetMachine.cpp URL:

[llvm-commits] [llvm] r39737 - in /llvm/trunk/lib/Target: Alpha/AlphaISelLowering.cpp IA64/IA64ISelLowering.cpp Mips/MipsISelLowering.cpp Mips/MipsISelLowering.h PowerPC/PPCISelLowering.cpp Sparc/Spar

2007-07-11 Thread Lauro Ramos Venancio
Author: laurov Date: Wed Jul 11 12:19:51 2007 New Revision: 39737 URL: http://llvm.org/viewvc/llvm-project?rev=39737view=rev Log: Assert when TLS is not implemented. Modified: llvm/trunk/lib/Target/Alpha/AlphaISelLowering.cpp llvm/trunk/lib/Target/IA64/IA64ISelLowering.cpp

[llvm-commits] [129262] A function that only has cleanups (destructors) to run when an exception is raised

2007-07-11 Thread clattner
Revision: 129262 Author: clattner Date: 2007-07-11 10:27:26 -0700 (Wed, 11 Jul 2007) Log Message: --- A function that only has cleanups (destructors) to run when an exception is raised currently is not assigned a personality function because we don't bother creating a call to

[llvm-commits] [test-suite] r39742 - /test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/main.c

2007-07-11 Thread Evan Cheng
Author: evancheng Date: Wed Jul 11 13:26:40 2007 New Revision: 39742 URL: http://llvm.org/viewvc/llvm-project?rev=39742view=rev Log: Temporarily disable TimberWolfMC. llc is hanging when compiling it for some targets. Modified:

[llvm-commits] [llvm] r39743 - /llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-07-11 Thread Dale Johannesen
Author: johannes Date: Wed Jul 11 13:32:38 2007 New Revision: 39743 URL: http://llvm.org/viewvc/llvm-project?rev=39743view=rev Log: Fix hang compiling TimberWolf (allow for islands of size other than 4). Modified: llvm/trunk/lib/Target/ARM/ARMConstantIslandPass.cpp Modified:

[llvm-commits] [llvm] r39744 - in /llvm/trunk: include/llvm/Transforms/Utils/Local.h lib/Transforms/Utils/DemoteRegToStack.cpp

2007-07-11 Thread Tanya Lattner
Author: tbrethou Date: Wed Jul 11 13:41:34 2007 New Revision: 39744 URL: http://llvm.org/viewvc/llvm-project?rev=39744view=rev Log: Adding ability to demote phi to stack. Modified: llvm/trunk/include/llvm/Transforms/Utils/Local.h llvm/trunk/lib/Transforms/Utils/DemoteRegToStack.cpp

Re: [llvm-commits] [llvm] r38517 - in /llvm/trunk: include/llvm/LinkAllPasses.h include/llvm/Transforms/Scalar.h lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Chris Lattner
On Jul 11, 2007, at 9:37 AM, David A. Greene wrote: On Tuesday 10 July 2007 19:46, Owen Anderson wrote: Author: resistor Date: Tue Jul 10 19:46:18 2007 New Revision: 38517 URL: http://llvm.org/viewvc/llvm-project?rev=38517view=rev Log: Add FastDSE, a new algorithm for doing dead store

[llvm-commits] [test-suite] r39745 - /test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/main.c

2007-07-11 Thread Evan Cheng
Author: evancheng Date: Wed Jul 11 13:46:05 2007 New Revision: 39745 URL: http://llvm.org/viewvc/llvm-project?rev=39745view=rev Log: Now fixed! Thx Dale. Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/TimberWolfMC/main.c Modified:

[llvm-commits] [llvm] r39748 - /llvm/trunk/lib/CodeGen/VirtRegMap.cpp

2007-07-11 Thread Evan Cheng
Author: evancheng Date: Wed Jul 11 14:17:18 2007 New Revision: 39748 URL: http://llvm.org/viewvc/llvm-project?rev=39748view=rev Log: Missed a couple of places where new instructions are added due to spill / restore. Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp Modified:

[llvm-commits] [llvm] r39749 - /llvm/trunk/test/CodeGen/X86/2007-07-10-StackerAssert.ll

2007-07-11 Thread Evan Cheng
Author: evancheng Date: Wed Jul 11 14:29:05 2007 New Revision: 39749 URL: http://llvm.org/viewvc/llvm-project?rev=39749view=rev Log: Add test case for PR1545. Added: llvm/trunk/test/CodeGen/X86/2007-07-10-StackerAssert.ll Added: llvm/trunk/test/CodeGen/X86/2007-07-10-StackerAssert.ll URL:

[llvm-commits] [llvm] r39751 - /llvm/trunk/tools/llvm2cpp/CppWriter.cpp

2007-07-11 Thread Anton Korobeynikov
Author: asl Date: Wed Jul 11 14:51:06 2007 New Revision: 39751 URL: http://llvm.org/viewvc/llvm-project?rev=39751view=rev Log: Emit correct linkage. Patch by Roman Samoilov. Modified: llvm/trunk/tools/llvm2cpp/CppWriter.cpp Modified: llvm/trunk/tools/llvm2cpp/CppWriter.cpp URL:

[llvm-commits] [llvm] r39752 - in /llvm/trunk: lib/Target/CBackend/CBackend.cpp test/CodeGen/CBackend/2007-07-11-PackedStruct.ll

2007-07-11 Thread Lauro Ramos Venancio
Author: laurov Date: Wed Jul 11 14:56:53 2007 New Revision: 39752 URL: http://llvm.org/viewvc/llvm-project?rev=39752view=rev Log: Handle packed structs in the CBackend. Added: llvm/trunk/test/CodeGen/CBackend/2007-07-11-PackedStruct.ll Modified:

[llvm-commits] [llvm] r39753 - /llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Owen Anderson
Author: resistor Date: Wed Jul 11 15:38:34 2007 New Revision: 39753 URL: http://llvm.org/viewvc/llvm-project?rev=39753view=rev Log: Handle eliminating stores that occur right before a free. Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp Modified:

[llvm-commits] [llvm] r39754 - /llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Owen Anderson
Author: resistor Date: Wed Jul 11 16:06:56 2007 New Revision: 39754 URL: http://llvm.org/viewvc/llvm-project?rev=39754view=rev Log: Add support for eliminate stores to stack-allocated memory locations at the end of a function. Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp Modified:

[llvm-commits] [llvm-gcc-4-2] r39757 - /llvm-gcc-4-2/trunk/README.LLVM

2007-07-11 Thread Devang Patel
Author: dpatel Date: Wed Jul 11 17:08:46 2007 New Revision: 39757 URL: http://llvm.org/viewvc/llvm-project?rev=39757view=rev Log: Copy README from llvm-gcc-4.0 Added: llvm-gcc-4-2/trunk/README.LLVM Added: llvm-gcc-4-2/trunk/README.LLVM URL:

[llvm-commits] [llvm] r39747 - /llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Owen Anderson
Author: resistor Date: Wed Jul 11 14:03:09 2007 New Revision: 39747 URL: http://llvm.org/viewvc/llvm-project?rev=39747view=rev Log: Clean up a few things based on Chris' feedback. Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp Modified: llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

[llvm-commits] [llvm] r39758 - /llvm/trunk/lib/Target/Mips/MipsMachineFunction.h

2007-07-11 Thread Bruno Cardoso Lopes
Author: bruno Date: Wed Jul 11 17:44:21 2007 New Revision: 39758 URL: http://llvm.org/viewvc/llvm-project?rev=39758view=rev Log: Added MipsMachineFunction class, to hold Mips dinamic stack info when inserting Prologue/Epilog Added: llvm/trunk/lib/Target/Mips/MipsMachineFunction.h Added:

[llvm-commits] [llvm] r39759 - /llvm/trunk/lib/Target/Mips/MipsInstrInfo.td

2007-07-11 Thread Bruno Cardoso Lopes
Author: bruno Date: Wed Jul 11 17:47:02 2007 New Revision: 39759 URL: http://llvm.org/viewvc/llvm-project?rev=39759view=rev Log: Removed unused immediate PatLeaf, fixed lui instruction Modified: llvm/trunk/lib/Target/Mips/MipsInstrInfo.td Modified:

[llvm-commits] [llvm] r39760 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp

2007-07-11 Thread Bruno Cardoso Lopes
Author: bruno Date: Wed Jul 11 18:16:16 2007 New Revision: 39760 URL: http://llvm.org/viewvc/llvm-project?rev=39760view=rev Log: Fixed AddLiveOut issues FI's created the write way to represent Mips stack Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Modified:

[llvm-commits] [llvm] r39762 - /llvm/trunk/lib/Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Owen Anderson
Author: resistor Date: Wed Jul 11 18:19:17 2007 New Revision: 39762 URL: http://llvm.org/viewvc/llvm-project?rev=39762view=rev Log: Handle the case where an entire structure is freed, and its dependency is a store to a field within that structure. Also, refactor the runOnBasicBlock() function,

[llvm-commits] [llvm] r39763 - /llvm/trunk/lib/Target/Mips/MipsRegisterInfo.cpp

2007-07-11 Thread Bruno Cardoso Lopes
Author: bruno Date: Wed Jul 11 18:21:31 2007 New Revision: 39763 URL: http://llvm.org/viewvc/llvm-project?rev=39763view=rev Log: Added support for framepointer Prologue/Epilogue support fp,ra save/restore and use the stack frame the right way! Modified:

[llvm-commits] [llvm] r39764 - in /llvm/trunk/lib/Target/Mips: MipsAsmPrinter.cpp MipsISelDAGToDAG.cpp

2007-07-11 Thread Bruno Cardoso Lopes
Author: bruno Date: Wed Jul 11 18:24:41 2007 New Revision: 39764 URL: http://llvm.org/viewvc/llvm-project?rev=39764view=rev Log: Added support for Mips specific GAS directives Fixed print immediate Fixed Identation on MipsISelDAGToDAG.cpp Modified:

[llvm-commits] [llvm] r39766 - /llvm/trunk/Makefile

2007-07-11 Thread David Greene
Author: greened Date: Wed Jul 11 18:44:08 2007 New Revision: 39766 URL: http://llvm.org/viewvc/llvm-project?rev=39766view=rev Log: Get rid of annoying spaces. Modified: llvm/trunk/Makefile Modified: llvm/trunk/Makefile URL:

[llvm-commits] [llvm] r39767 - /llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp

2007-07-11 Thread Devang Patel
Author: dpatel Date: Wed Jul 11 18:47:28 2007 New Revision: 39767 URL: http://llvm.org/viewvc/llvm-project?rev=39767view=rev Log: Preserve analysis info. Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopRotation.cpp URL:

[llvm-commits] [llvm] r39769 - in /llvm/trunk/lib: Analysis/MemoryDependenceAnalysis.cpp Transforms/Scalar/FastDSE.cpp

2007-07-11 Thread Owen Anderson
Author: resistor Date: Wed Jul 11 19:06:21 2007 New Revision: 39769 URL: http://llvm.org/viewvc/llvm-project?rev=39769view=rev Log: Let MemoryDependenceAnalysis take care of updating AliasAnalysis. Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp