[llvm-commits] [llvm] r46914 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-09 Thread Chris Lattner
Author: lattner Date: Sat Feb 9 16:58:07 2008 New Revision: 46914 URL: http://llvm.org/viewvc/llvm-project?rev=46914view=rev Log: add some more notes, still not ready for review :) Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

[llvm-commits] [llvm] r46913 - in /llvm/trunk: LICENSE.TXT docs/BOOST_LICENSE_1_0.txt

2008-02-09 Thread Chris Lattner
Author: lattner Date: Sat Feb 9 16:50:06 2008 New Revision: 46913 URL: http://llvm.org/viewvc/llvm-project?rev=46913view=rev Log: scoped_ptr.h was removed. Removed: llvm/trunk/docs/BOOST_LICENSE_1_0.txt Modified: llvm/trunk/LICENSE.TXT Modified: llvm/trunk/LICENSE.TXT URL:

[llvm-commits] [llvm] r46918 - /llvm/trunk/lib/CodeGen/README.txt

2008-02-09 Thread Chris Lattner
Author: lattner Date: Sat Feb 9 19:01:35 2008 New Revision: 46918 URL: http://llvm.org/viewvc/llvm-project?rev=46918view=rev Log: add anote Modified: llvm/trunk/lib/CodeGen/README.txt Modified: llvm/trunk/lib/CodeGen/README.txt URL:

[llvm-commits] [llvm] r46920 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-09 Thread Chris Lattner
Author: lattner Date: Sun Feb 10 01:04:35 2008 New Revision: 46920 URL: http://llvm.org/viewvc/llvm-project?rev=46920view=rev Log: random notes Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

[llvm-commits] [llvm] r46900 - /llvm/trunk/lib/VMCore/Verifier.cpp

2008-02-08 Thread Chris Lattner
Author: lattner Date: Fri Feb 8 19:06:01 2008 New Revision: 46900 URL: http://llvm.org/viewvc/llvm-project?rev=46900view=rev Log: check that terminators only occur at the end of a block. This catches the common problem of putting two terminators in the same block. I can't write a testcase for

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

2008-02-08 Thread Chris Lattner
On Feb 8, 2008, at 6:07 PM, Ted Kremenek wrote: I'm wondering if we need to keep on adding specialized Add methods to FoldingSet. For example, APInt already has a Profile method for adding its profile to a FoldingSetNodeID, and APFloat could easily have a Profile method added to it. Now

Re: [llvm-commits] [llvm] r46854 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-07 Thread Chris Lattner
On Feb 7, 2008, at 8:28 AM, Dan Gohman wrote: if (Flags ISD::ParamFlags::ByVal) { return CreateCopyOfByValArgument(Arg, PtrOff, Chain, Flags, DAG); } - return DAG.getStore(Chain, Arg, PtrOff, NULL, 0); + return DAG.getStore(Chain, Arg, PtrOff, +

[llvm-commits] Fwd: [llvm-testresults] zeppo-ia64 ia64 nightly tester results

2008-02-07 Thread Chris Lattner
Begin forwarded message: Subject: [llvm-testresults] zeppo-ia64 ia64 nightly tester results New Test Failures: test/CodeGen/X86/fold-mul-lohi.ll [DEJAGNU] test/CodeGen/X86/stride-nine-with-base-reg.ll [DEJAGNU] test/CodeGen/X86/stride-reuse.ll [DEJAGNU] Anyone know why these are failing on

[llvm-commits] [llvm] r46816 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-06 Thread Chris Lattner
Author: lattner Date: Wed Feb 6 12:00:06 2008 New Revision: 46816 URL: http://llvm.org/viewvc/llvm-project?rev=46816view=rev Log: add a bunch of random notes and fix some issues noticed by Gabor. This is not ready for review or hacking, this is a work in progress :) Modified:

[llvm-commits] [llvm] r46817 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-06 Thread Chris Lattner
Author: lattner Date: Wed Feb 6 12:00:48 2008 New Revision: 46817 URL: http://llvm.org/viewvc/llvm-project?rev=46817view=rev Log: make it clear :) Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

Re: [llvm-commits] [llvm] r46817 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-06 Thread Chris Lattner
On Feb 6, 2008, at 10:13 AM, Eric Christopher wrote: +h1font color=redTHIS IS A WORK IN PROGRESS FOR THE LLVM 2.2 +RELEASE/font/h1 + You forgot the blink tag :) How about a javascript animation using canvas!? :) -Chris ___ llvm-commits mailing

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-06 Thread Chris Lattner
Ah, that's a good idea. Why not do that? :) Generally, putting the attribute on argument #0 means that the attribute applies to the function or the return value. Given that 'inreg' doesn't make any sense for a function, it would be fine to overload it for this, what do you think? Sound

Re: [llvm-commits] [llvm] r46810 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-06 Thread Chris Lattner
On Feb 6, 2008, at 5:33 AM, Gabor Greif wrote: Here my 2 cent: Thanks Gabor. I wasn't really ready for review, but I appreciate it :) +pThe a href=http://clang.llvm.org/;clang project/a is an effort +to build a set of new front-end technology for the LLVM optimizer and code

[llvm-commits] [llvm] r46818 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-06 Thread Chris Lattner
Author: lattner Date: Wed Feb 6 12:32:06 2008 New Revision: 46818 URL: http://llvm.org/viewvc/llvm-project?rev=46818view=rev Log: some more notes. Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-06 Thread Chris Lattner
Attaching this to the Function node went smoothly enough, but I actually need it on the Return node, which it appears isn't supported in the current IR, but is in the the machine-level RET node. I could transfer the info from the Function node to the RET node at some point, or even reference

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-06 Thread Chris Lattner
From the current SelectionDAG you can get a pointer to the Function object, which should have the attribute. Lowering for an ISD::RET can thus getting it from following this chain, I know, I just don't think that's the right way to do it. Why not? Everywhere else we use ParamAttrs

[llvm-commits] [llvm] r46739 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-02-04-GEPIdxBug.ll

2008-02-05 Thread Chris Lattner
Author: lattner Date: Mon Feb 4 22:45:32 2008 New Revision: 46739 URL: http://llvm.org/viewvc/llvm-project?rev=46739view=rev Log: Fix a bug compiling PR1978 (perhaps not the only one though) which was incorrectly simplifying x == (gep x, 1, i) into false, even though i could be negative. As it

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

2008-02-05 Thread Chris Lattner
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?rev=46727view=rev Log: Do not unconditionally redefine vec_ext_v16qi and vec_ext_v4si builtins. This is a hack; they should be

[llvm-commits] [llvm] r46741 - in /llvm/trunk/docs/tutorial: LangImpl4.html LangImpl5.html LangImpl6.html LangImpl7.html

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 00:18:42 2008 New Revision: 46741 URL: http://llvm.org/viewvc/llvm-project?rev=46741view=rev Log: dump the module *before* we delete it, not after. Modified: llvm/trunk/docs/tutorial/LangImpl4.html llvm/trunk/docs/tutorial/LangImpl5.html

[llvm-commits] [llvm] r46760 - in /llvm/trunk: Makefile.rules autoconf/configure.ac

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 13:43:40 2008 New Revision: 46760 URL: http://llvm.org/viewvc/llvm-project?rev=46760view=rev Log: Make the check for GCC version more robust, fix shared library dependencies in makefile, and fix llvm_cv_no_link_all_option on darwin. Patch by Shantonu Sen, more

[llvm-commits] [llvm] r46761 - /llvm/trunk/configure

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 13:43:53 2008 New Revision: 46761 URL: http://llvm.org/viewvc/llvm-project?rev=46761view=rev Log: regenerate Modified: llvm/trunk/configure Modified: llvm/trunk/configure URL:

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

2008-02-05 Thread Chris Lattner
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's better to leave target dependencies in the BE when possible. Even with SSE4.1, it's a good idea to lower them to extract

[llvm-commits] [llvm] r46767 - /llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

2008-02-05 Thread Chris Lattner
Author: lattner Date: Tue Feb 5 15:26:23 2008 New Revision: 46767 URL: http://llvm.org/viewvc/llvm-project?rev=46767view=rev Log: Make RenamePass faster by making the 'is this a new phi node' check more intelligent. This speeds up mem2reg from 5.29s to 0.79s on a synthetic testcase with tons

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

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 11:41 AM, Evan Cheng wrote: With or without... Right, I agree. The f.e. should do this unconditionally, -Chris 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

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 12:46 PM, Dale Johannesen wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46764view=rev Log: Implement sseregparm. Very nice. One thought about X86_SSECall: if it is only used to return float/ double in an xmm reg, you could get the same effect by having the CFE

Re: [llvm-commits] [llvm] r46764 - in /llvm/trunk: include/llvm/CallingConv.h lib/Target/X86/X86CallingConv.td lib/Target/X86/X86ISelLowering.cpp

2008-02-05 Thread Chris Lattner
On Feb 5, 2008, at 2:31 PM, Dale Johannesen wrote: I think the calling convention stuff that Evan has been working on is powerful enough to model though sort of stuff, but might need minor extensions. Do you think it would be reasonable do use this approach? Doing so would eliminate a magic

[llvm-commits] [llvm] r46810 - /llvm/trunk/docs/ReleaseNotes.html

2008-02-05 Thread Chris Lattner
Author: lattner Date: Wed Feb 6 00:30:34 2008 New Revision: 46810 URL: http://llvm.org/viewvc/llvm-project?rev=46810view=rev Log: a starter shell for 2.2 release notes Modified: llvm/trunk/docs/ReleaseNotes.html Modified: llvm/trunk/docs/ReleaseNotes.html URL:

[llvm-commits] [llvm-gcc-4.2] r46714 - /llvm-gcc-4.2/trunk/README.LLVM

2008-02-04 Thread Chris Lattner
Author: lattner Date: Mon Feb 4 13:01:58 2008 New Revision: 46714 URL: http://llvm.org/viewvc/llvm-project?rev=46714view=rev Log: An additional symlink is required to find libstdc++. Modified: llvm-gcc-4.2/trunk/README.LLVM Modified: llvm-gcc-4.2/trunk/README.LLVM URL:

[llvm-commits] [llvm] r46711 - /llvm/trunk/test/CodeGen/Generic/2008-01-30-LoadCrash.ll

2008-02-04 Thread Chris Lattner
Author: lattner Date: Mon Feb 4 12:02:37 2008 New Revision: 46711 URL: http://llvm.org/viewvc/llvm-project?rev=46711view=rev Log: remove target triple to make this test more generic Modified: llvm/trunk/test/CodeGen/Generic/2008-01-30-LoadCrash.ll Modified:

Re: [llvm-commits] [llvm] r46705 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

2008-02-04 Thread Chris Lattner
On Feb 4, 2008, at 1:29 AM, Duncan Sands wrote: Author: baldrick Date: Mon Feb 4 03:29:17 2008 New Revision: 46705 URL: http://llvm.org/viewvc/llvm-project?rev=46705view=rev Log: I don't see how NodeUpdated can be called with a ReadyToProcess node - add an assertion to check this. Add

Re: [llvm-commits] [llvm] r46681 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86.td lib/Target/X86/X86Instr64bit.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrSSE.td lib/

2008-02-04 Thread Chris Lattner
On Feb 2, 2008, at 11:18 PM, Nate Begeman wrote: +// Vector insert +let TargetPrefix = x86 in { // All intrinsics start with llvm.x86.. + def int_x86_sse41_pinsrb : GCCBuiltin__builtin_ia32_vec_set_v16qi, + Intrinsic[llvm_v16i8_ty, llvm_v16i8_ty, llvm_i32_ty,

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 Chris Lattner
On Feb 2, 2008, at 12:03 AM, Evan Cheng wrote: Nifty! Out of curiosity, why do you need a DECLARE MachineInstr? It seems like the 'recording' happens when the target-independent dag is selected to target-specific instructions, no? Right. They are not necessary now. But I think eventually

[llvm-commits] [llvm-gcc-4.2] r46668 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 12:55:42 2008 New Revision: 46668 URL: http://llvm.org/viewvc/llvm-project?rev=46668view=rev Log: correctly protect llvm-specific pieces with ENABLE_LLVM, fixing the non-llvm build. Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified:

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Chris Lattner
On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision: 4 URL: http://llvm.org/viewvc/llvm-project?rev=4view=rev Log: Don't use uninitialized values. Fixes vec_align.ll on X86 Linux. Oooh excellent detective work, thanks Nick!

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Chris Lattner
On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote: On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision: 4 URL: http://llvm.org/viewvc/llvm-project?rev=4view=rev Log

[llvm-commits] [llvm] r46672 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 20:05:04 2008 New Revision: 46672 URL: http://llvm.org/viewvc/llvm-project?rev=46672view=rev Log: add a -view-legalize-types-dags option, for viewing the dags going into legalize types. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

[llvm-commits] [llvm] r46673 - /llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 21:20:59 2008 New Revision: 46673 URL: http://llvm.org/viewvc/llvm-project?rev=46673view=rev Log: don't do ReplaceUses on a result that doesn't exist. Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Modified:

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

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 21:35:22 2008 New Revision: 46674 URL: http://llvm.org/viewvc/llvm-project?rev=46674view=rev Log: Generalize the SDOperand-SDOperand form of SelectionDAG::ReplaceAllUsesWith to handle replacement of an SDOperand with *any* sdoperand, not just one for a node with

[llvm-commits] [llvm] r46676 - in /llvm/trunk/lib/Target: ARM/ARMISelDAGToDAG.cpp Alpha/AlphaISelDAGToDAG.cpp IA64/IA64ISelDAGToDAG.cpp Sparc/SparcISelDAGToDAG.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 23:43:57 2008 New Revision: 46676 URL: http://llvm.org/viewvc/llvm-project?rev=46676view=rev Log: explicitly include Compiler.h instead of getting it from tblgen in the middle of a class. Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp

[llvm-commits] [llvm] r46677 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp utils/TableGen/DAGISelEmitter.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 00:49:24 2008 New Revision: 46677 URL: http://llvm.org/viewvc/llvm-project?rev=46677view=rev Log: Change the 'global modification' APIs in SelectionDAG to take a new DAGUpdateListener object pointer instead of just returning a vector of deleted nodes. This makes

[llvm-commits] [llvm] r46679 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:08:51 2008 New Revision: 46679 URL: http://llvm.org/viewvc/llvm-project?rev=46679view=rev Log: Use the new infrastructure for listening to node updates to keep the LegalizeTypes node flags up to date when doing a RAUW. This fixes a nasty bug that Duncan ran

[llvm-commits] [llvm] r46680 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:13:32 2008 New Revision: 46680 URL: http://llvm.org/viewvc/llvm-project?rev=46680view=rev Log: handle the case where a node can become ready to process multiple times due to a RAUW. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

[llvm-commits] [llvm] r46682 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:30:27 2008 New Revision: 46682 URL: http://llvm.org/viewvc/llvm-project?rev=46682view=rev Log: Fix typo Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp URL:

Re: [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/SelectionDA

2008-02-01 Thread Chris Lattner
On Feb 1, 2008, at 1:10 AM, Evan Cheng wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46635view=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 create a

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-01 Thread Chris Lattner
On Feb 1, 2008, at 8:07 PM, Evan Cheng wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46659view=rev Log: SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local

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

2008-02-01 Thread Chris Lattner
On Feb 1, 2008, at 9:06 PM, Evan Cheng wrote: Author: evancheng Date: Fri Feb 1 23:06:29 2008 New Revision: 46665 URL: http://llvm.org/viewvc/llvm-project?rev=46665view=rev Log: Unbreak ppc debug support. maybe these should be stored as a srcvalue to avoid legalizer issues? -Chris

Re: [llvm-commits] [llvm] r46617 - /llvm/trunk/lib/Support/APFloat.cpp

2008-01-31 Thread Chris Lattner
On Jan 31, 2008, at 10:34 AM, Dale Johannesen wrote: Author: johannes Date: Thu Jan 31 12:34:01 2008 New Revision: 46617 URL: http://llvm.org/viewvc/llvm-project?rev=46617view=rev Log: Chris' change to print an approximation to long doubles exposed a bug in APFloat's long double-double

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 Chris Lattner
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/inputs/rtf-test/ docCLAMexe.rtf (with props)

Re: [llvm-commits] [llvm] r46565 - in /llvm/trunk: lib/CodeGen/MachineModuleInfo.cpp test/DebugInfo/globalGetElementPtr.ll

2008-01-31 Thread Chris Lattner
On Jan 31, 2008, at 10:46 AM, Dale Johannesen wrote: No I'm not sure, but I know of no case where this is useful or desirable. The code in question is handling the debug info for global variables, specifically the part that points to the global variable itself. That's under the control of

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 Chris Lattner
On Jan 31, 2008, at 11:44 AM, Evan Cheng wrote: This is a static initializer, so it can't assume Type::Int8Ty has been initialized at this point. Can you take a look? Thanks. A good way to fix this is to replace direct use of the objects with simple accessors. This is how

Re: [llvm-commits] [llvm] r46625 - /llvm/trunk/include/llvm/ADT/StringMap.h

2008-01-31 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=46625view=rev Log: Add convenient std::string helpers to StringMap. Patch by Mikhail Glushenkov! Cool. Before David chimes in :) , I'll point out: + iterator find(const std::string Key) { +const char* key_start = Key[0]; +return

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 Chris Lattner
On Jan 31, 2008, at 11:37 AM, Evan Cheng wrote: All the Windows file are actually pretty tiny. The only big one is clamdoc.tar.gz. Perhaps we should take Edwin's advice and add links to test data from other benchmarks? I removed them because I thought they were left in by mistake. Ok, if

Re: [llvm-commits] [llvm] r46625 - /llvm/trunk/include/llvm/ADT/StringMap.h

2008-01-31 Thread Chris Lattner
On Jan 31, 2008, at 3:32 PM, Anton Korobeynikov wrote: Hello, Chris This sort of thing won't work when the string is empty and checking is enabled. Maybe something like this is enough: if (Key.empty()) return find(0,0); Will find() operate sane in such case (supplying NULL pointer as

Re: [llvm-commits] [llvm] r46555 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

2008-01-30 Thread Chris Lattner
On Jan 30, 2008, at 12:01 AM, Nick Lewycky wrote: Author: nicholas Date: Wed Jan 30 02:01:28 2008 New Revision: 46555 URL: http://llvm.org/viewvc/llvm-project?rev=46555view=rev Log: Remove a couple more cases of getNumUses() == 0. No need to walk the linked list just to see if whether

Re: [llvm-commits] [llvm] r46565 - in /llvm/trunk: lib/CodeGen/MachineModuleInfo.cpp test/DebugInfo/globalGetElementPtr.ll

2008-01-30 Thread Chris Lattner
On Jan 30, 2008, at 11:00 AM, Dale Johannesen wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46565view=rev Log: Accept getelementptr starting at GV with all 0 indices as a legitimate way of representing global variable GV in debug info. Thanks Dale, A minor simplification: +++

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-30 Thread Chris Lattner
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=46573view=rev Log: Add new benchmark ClamAV. Cool. Can we shrink the size of this though, to reduce the checkout size of

Re: [llvm-commits] [llvm] r46455 - /llvm/trunk/lib/Support/FileUtilities.cpp

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 10:56 AM, Evan Cheng wrote: URL: http://llvm.org/viewvc/llvm-project?rev=46455view=rev Log: Fix fpcmp infinite loop when comparing 29-266 with 29-268. +static bool isExpoentChar(char C) { Also, typo: Expoent - Exponent. Thanks Lauro, -Chris

[llvm-commits] [llvm] r46454 - /llvm/trunk/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll

2008-01-28 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 11:38:46 2008 New Revision: 46454 URL: http://llvm.org/viewvc/llvm-project?rev=46454view=rev Log: this test is now compiled into the right thing. Modified: llvm/trunk/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll Modified:

Re: [llvm-commits] [llvm] r46382 - /llvm/trunk/test/CFrontend/2008-01-25-ZeroSizedAggregate.c

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 11:15 AM, Tanya Lattner wrote: This test is failing for me. llvm-gcc-4.0 on x86/darwin8. ../../src/gcc/llvm-types.cpp:1426: failed assertion `0 Could not find field!' How long should we continue to support 4.0? I thought 2.2 was the last release for it? -Chris

Re: [llvm-commits] [llvm] r46483 - in /llvm/trunk: lib/Target/CellSPU/ test/CodeGen/CellSPU/

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 6:31 PM, Owen Anderson wrote: I'm getting a build failure after this commit: llvm[3]: Compiling SPUISelDAGToDAG.cpp for Release build SPUGenDAGISel.inc: In member function ‘llvm::SDNode* SPUDAGToDAGISel::Emit_5(const llvm::SDOperand, unsigned int, unsigned int,

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

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 9:24 PM, Dale Johannesen wrote: Can this be done in llvm-gcc? It seems better to only expose 'simplified' constraints to the llvm code generator. This means the target hooks would become wonderful macros in i386.h for example, but that seems tolerable. Sure, but you'd

[llvm-commits] [llvm] r46499 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/zero-point-zero-add.ll

2008-01-28 Thread Chris Lattner
Author: lattner Date: Tue Jan 29 00:52:45 2008 New Revision: 46499 URL: http://llvm.org/viewvc/llvm-project?rev=46499view=rev Log: eliminate additions of 0.0 when they are obviously dead. This has to be careful to avoid turning -0.0 + 0.0 - -0.0 which is incorrect. Added:

Re: [llvm-commits] [llvm] r46497 - /llvm/trunk/test/Transforms/DeadStoreElimination/memcpy.ll

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 10:40 PM, Owen Anderson wrote: Author: resistor Date: Tue Jan 29 00:40:32 2008 New Revision: 46497 URL: http://llvm.org/viewvc/llvm-project?rev=46497view=rev Log: Add a testcase for eliminating memcpy's at the end of functions. Forgot to commit this with my last

Re: [llvm-commits] [llvm] r46494 - /llvm/trunk/lib/Transforms/Scalar/DeadStoreElimination.cpp

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 10:18 PM, Owen Anderson wrote: Author: resistor Date: Tue Jan 29 00:18:36 2008 New Revision: 46494 URL: http://llvm.org/viewvc/llvm-project?rev=46494view=rev Log: Add support for eliminating memcpy's at the end of functions. Also fix some errors I noticed in the

Re: [llvm-commits] [llvm] r46499 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/zero-point-zero-add.ll

2008-01-28 Thread Chris Lattner
On Jan 28, 2008, at 10:56 PM, Nick Lewycky wrote: Chris Lattner wrote: +if (const IntrinsicInst *II = dyn_castIntrinsicInst(I)) + if (II-getIntrinsicID() == Intrinsic::sqrt) +return CannotBeNegativeZero(II-getOperand(1)); Unlike sqrt in libm, however, llvm.sqrt has

[llvm-commits] [llvm] r46500 - /llvm/trunk/docs/LangRef.html

2008-01-28 Thread Chris Lattner
Author: lattner Date: Tue Jan 29 01:00:44 2008 New Revision: 46500 URL: http://llvm.org/viewvc/llvm-project?rev=46500view=rev Log: llvm.sqrt(-0.0) is defined. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL:

[llvm-commits] [llvm] r46421 - /llvm/trunk/tools/llvm-ld/llvm-ld.cpp

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 16:58:59 2008 New Revision: 46421 URL: http://llvm.org/viewvc/llvm-project?rev=46421view=rev Log: Add support for frameworks. Patch by Shantonu Sen! Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp Modified: llvm/trunk/tools/llvm-ld/llvm-ld.cpp URL:

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

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 17:21:58 2008 New Revision: 46422 URL: http://llvm.org/viewvc/llvm-project?rev=46422view=rev Log: fix a crash on CodeGen/X86/vector-rem.ll Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified:

[llvm-commits] [llvm] r46423 - /llvm/trunk/test/CodeGen/ARM/fparith.ll

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 17:26:37 2008 New Revision: 46423 URL: http://llvm.org/viewvc/llvm-project?rev=46423view=rev Log: Update this test. Due to dag combiner improvements, we now compile f7/f11 to: _f7: eor r0, r0, #2, 2 @ -2147483648 bx lr _f11: bic r0, r0,

[llvm-commits] [llvm] r46425 - /llvm/trunk/docs/Makefile

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 17:43:26 2008 New Revision: 46425 URL: http://llvm.org/viewvc/llvm-project?rev=46425view=rev Log: Always for PACKAGEVERSION to 'mainline' for teh llvm web page. Modified: llvm/trunk/docs/Makefile Modified: llvm/trunk/docs/Makefile URL:

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

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 17:32:17 2008 New Revision: 46424 URL: http://llvm.org/viewvc/llvm-project?rev=46424view=rev Log: Fix PowerPC/./2007-10-18-PtrArithmetic.ll Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified:

[llvm-commits] [llvm] r46427 - in /llvm/trunk: lib/Transforms/Scalar/SCCP.cpp test/Transforms/SCCP/2008-01-27-UndefCorrelate.ll

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 18:32:30 2008 New Revision: 46427 URL: http://llvm.org/viewvc/llvm-project?rev=46427view=rev Log: Fix PR1938 by forcing the code that uses an undefined value to branch one way or the other. Rewriting the code itself prevents subsequent analysis passes from making

[llvm-commits] [llvm] r46428 - /llvm/trunk/docs/LangRef.html

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 18:36:27 2008 New Revision: 46428 URL: http://llvm.org/viewvc/llvm-project?rev=46428view=rev Log: make handling of overflow and undefined results much more clear. Patch by Eli Friedman, thanks! Modified: llvm/trunk/docs/LangRef.html Modified:

[llvm-commits] [llvm] r46429 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2008-01-27-FloatSelect.ll

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 18:58:18 2008 New Revision: 46429 URL: http://llvm.org/viewvc/llvm-project?rev=46429view=rev Log: Fix PR1932 by disabling an xform invalid for fdiv. Added: llvm/trunk/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll Modified:

[llvm-commits] [llvm] r46432 - /llvm/trunk/Makefile.rules

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 22:18:41 2008 New Revision: 46432 URL: http://llvm.org/viewvc/llvm-project?rev=46432view=rev Log: reduce duplicate -I flags passed to the compiler, cleaning up the VERBOSE output. Patch contributed by Sam Bishop! Modified: llvm/trunk/Makefile.rules

Re: [llvm-commits] Makefile.rules patch: remove redundant -I compiler flags

2008-01-27 Thread Chris Lattner
On Jan 15, 2008, at 9:07 AM, Sam Bishop wrote: The attached patch makes VERBOSE builds easier to wade through. It's likely to also permute the PROJ_* and LLVM_* includes, but I don't think that should matter. I've done a full-tree compile and everything seems to be working. Applied,

Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-27 Thread Chris Lattner
+ BuildMI(MBB, MBB.end(), TM.getInstrInfo()-get(PPC::NOP)); + } Is there any reason to actually make a machineinstr here? It seems like it would be possible to just emit nop to the .s file. The JIT doesn't need this. I initially had that, but I thought that it would be better to do

[llvm-commits] [test-suite] r46434 - in /test-suite/trunk/MultiSource/Benchmarks/VersaBench: ./ README.txt beamformer/ beamformer/Makefile beamformer/beamformer.c dbms/

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 23:17:19 2008 New Revision: 46434 URL: http://llvm.org/viewvc/llvm-project?rev=46434view=rev Log: add a benchmark from 'VersaBench'. Added: test-suite/trunk/MultiSource/Benchmarks/VersaBench/ test-suite/trunk/MultiSource/Benchmarks/VersaBench/README.txt

[llvm-commits] [test-suite] r46435 [1/4] - /test-suite/trunk/MultiSource/Benchmarks/VersaBench/dbms/

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 23:23:39 2008 New Revision: 46435 URL: http://llvm.org/viewvc/llvm-project?rev=46435view=rev Log: add a VersaBench benchmark. Added: test-suite/trunk/MultiSource/Benchmarks/VersaBench/dbms/Makefile

[llvm-commits] [test-suite] r46436 - in /test-suite/trunk/MultiSource/Benchmarks/VersaBench/8b10b: ./ Makefile calc.c calc.h input.txt main.c testbench.c testbench.h

2008-01-27 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 23:35:03 2008 New Revision: 46436 URL: http://llvm.org/viewvc/llvm-project?rev=46436view=rev Log: add the 8b10b benchmark, hacked to take enough time to run to be interesting. Added: test-suite/trunk/MultiSource/Benchmarks/VersaBench/8b10b/

[llvm-commits] [test-suite] r46438 - in /test-suite/trunk/MultiSource/Benchmarks/VersaBench/bmm: ./ Makefile bmm.c

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:10:47 2008 New Revision: 46438 URL: http://llvm.org/viewvc/llvm-project?rev=46438view=rev Log: add the bmm benchmark, hacked to not produce huge output nor use huge input. Added: test-suite/trunk/MultiSource/Benchmarks/VersaBench/bmm/

[llvm-commits] [test-suite] r46439 - in /test-suite/trunk/MultiSource/Benchmarks: Makefile VersaBench/Makefile VersaBench/README.txt

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:14:28 2008 New Revision: 46439 URL: http://llvm.org/viewvc/llvm-project?rev=46439view=rev Log: run versabench by default Added: test-suite/trunk/MultiSource/Benchmarks/VersaBench/Makefile Modified: test-suite/trunk/MultiSource/Benchmarks/Makefile

[llvm-commits] [test-suite] r46440 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran: ./ enc-3des/ enc-3des/Makefile enc-3des/des.c enc-3des/des.h

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:27:00 2008 New Revision: 46440 URL: http://llvm.org/viewvc/llvm-project?rev=46440view=rev Log: Add a benchmark from the trimaran collection Added: test-suite/trunk/MultiSource/Benchmarks/Trimaran/

[llvm-commits] [test-suite] r46441 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-md5: ./ Makefile md5.c md5.h

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:36:10 2008 New Revision: 46441 URL: http://llvm.org/viewvc/llvm-project?rev=46441view=rev Log: add an adapted version of md5 Added: test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-md5/

[llvm-commits] [test-suite] r46442 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-pc1: ./ Makefile pc1cod.c

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:52:21 2008 New Revision: 46442 URL: http://llvm.org/viewvc/llvm-project?rev=46442view=rev Log: add a really scary benchmark Added: test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-pc1/

[llvm-commits] [test-suite] r46443 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4: ./ Makefile rc4.c rc4.h

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 00:56:33 2008 New Revision: 46443 URL: http://llvm.org/viewvc/llvm-project?rev=46443view=rev Log: add a new benchmark. Added: test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/ test-suite/trunk/MultiSource/Benchmarks/Trimaran/enc-rc4/Makefile

[llvm-commits] [test-suite] r46447 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-url: packet.c packet.h url.c

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 01:23:41 2008 New Revision: 46447 URL: http://llvm.org/viewvc/llvm-project?rev=46447view=rev Log: make this program not read random memory Modified: test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-url/packet.c

[llvm-commits] [test-suite] r46448 - in /test-suite/trunk/MultiSource/Benchmarks: Makefile Trimaran/Makefile Trimaran/README.txt

2008-01-27 Thread Chris Lattner
Author: lattner Date: Mon Jan 28 01:26:07 2008 New Revision: 46448 URL: http://llvm.org/viewvc/llvm-project?rev=46448view=rev Log: Build trimaran benchmarks by default Added: test-suite/trunk/MultiSource/Benchmarks/Trimaran/Makefile

Re: [llvm-commits] [llvm] r46397 - /llvm/trunk/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll

2008-01-26 Thread Chris Lattner
On Jan 25, 2008, at 10:56 PM, Bill Wendling wrote: Author: void Date: Sat Jan 26 00:56:08 2008 New Revision: 46397 URL: http://llvm.org/viewvc/llvm-project?rev=46397view=rev Log: Need to convert to LLVM code and not C. This should also pass a darwin target triple to llc (or embed it in

Re: [llvm-commits] [llvm-gcc-4.2] r46373 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2008-01-26 Thread Chris Lattner
On Jan 25, 2008, at 9:58 PM, Duncan Sands wrote: If a function takes a byval parameter, it can't be readnone, we have to mark it readonly instead. This fixes test/CFrontend/2008-01-25-ByValReadNone.c Thanks for doing this! No problem, thanks for pointing out that it needed to be done. It

Re: [llvm-commits] [llvm] r46394 - in /llvm/trunk/lib: Target/PowerPC/PPCAsmPrinter.cpp Transforms/Scalar/SimplifyCFG.cpp

2008-01-26 Thread Chris Lattner
On Jan 25, 2008, at 10:51 PM, Bill Wendling wrote: Author: void Date: Sat Jan 26 00:51:24 2008 New Revision: 46394 URL: http://llvm.org/viewvc/llvm-project?rev=46394view=rev Log: If there are no machine instructions emitted for a function, then insert a nop instruction so that we

Re: [llvm-commits] [llvm] r46393 - in /llvm/trunk: lib/Transforms/Utils/InlineFunction.cpp test/CFrontend/2008-01-26-ReadOnlyByVal.c

2008-01-26 Thread Chris Lattner
On Jan 25, 2008, at 10:41 PM, Duncan Sands wrote: Author: baldrick Date: Sat Jan 26 00:41:49 2008 New Revision: 46393 URL: http://llvm.org/viewvc/llvm-project?rev=46393view=rev Log: Create an explicit copy for byval parameters even when inlining a readonly function. Are you sure this is

Re: [llvm-commits] [llvm-testresults] Grawp-PIC i386 nightly tester results

2008-01-26 Thread Chris Lattner
On Jan 26, 2008, at 6:16 AM, Apache wrote: New Test Failures: test/Transforms/Inline/byval2.ll [DEJAGNU] Hi Duncan, This is failing because inlining of readonly functions is making the memcpy after your change. Why is the memcpy needed here? Is this because stores to the byval argument

[llvm-commits] [llvm] r46401 - in /llvm/trunk: lib/CodeGen/SelectionDAG/DAGCombiner.cpp test/CodeGen/X86/stack-align.ll

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 13:45:50 2008 New Revision: 46401 URL: http://llvm.org/viewvc/llvm-project?rev=46401view=rev Log: Infer alignment of loads and increase their alignment when we can tell they are from the stack. This allows us to compile stack-align.ll to: _test: movsd

[llvm-commits] [llvm] r46400 - /llvm/trunk/test/CodeGen/X86/2007-08-10-LEA16Use32.ll

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 13:35:46 2008 New Revision: 46400 URL: http://llvm.org/viewvc/llvm-project?rev=46400view=rev Log: remove a useless xfailed test. Removed: llvm/trunk/test/CodeGen/X86/2007-08-10-LEA16Use32.ll Removed: llvm/trunk/test/CodeGen/X86/2007-08-10-LEA16Use32.ll URL:

[llvm-commits] [llvm] r46402 - /llvm/trunk/include/llvm/Support/MathExtras.h

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 13:50:30 2008 New Revision: 46402 URL: http://llvm.org/viewvc/llvm-project?rev=46402view=rev Log: make this 64-bit safe Modified: llvm/trunk/include/llvm/Support/MathExtras.h Modified: llvm/trunk/include/llvm/Support/MathExtras.h URL:

[llvm-commits] [llvm] r46403 - /llvm/trunk/test/CodeGen/X86/vec_align.ll

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 14:06:45 2008 New Revision: 46403 URL: http://llvm.org/viewvc/llvm-project?rev=46403view=rev Log: New test to verify that merging 4 loads into a vec load continues to work and continues to infer alignment info. Added: llvm/trunk/test/CodeGen/X86/vec_align.ll

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

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 14:07:42 2008 New Revision: 46404 URL: http://llvm.org/viewvc/llvm-project?rev=46404view=rev Log: Remove some code for inferring alignment info from the x86 backend now that the dag combiner does it. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

[llvm-commits] [llvm] r46406 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/fpextend.ll

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sat Jan 26 23:29:54 2008 New Revision: 46406 URL: http://llvm.org/viewvc/llvm-project?rev=46406view=rev Log: Fold fptrunc(add (fpextend x), (fpextend y)) - add(x,y), as GCC does. Added: llvm/trunk/test/Transforms/InstCombine/fpextend.ll Modified:

[llvm-commits] [llvm] r46407 - /llvm/trunk/lib/CodeGen/AsmPrinter.cpp

2008-01-26 Thread Chris Lattner
Author: lattner Date: Sun Jan 27 00:09:28 2008 New Revision: 46407 URL: http://llvm.org/viewvc/llvm-project?rev=46407view=rev Log: For long double constants, print an approximation of their value to the .s file to make it easier to read. Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp

<    1   2   3   4   5   6   7   8   9   10   >