[llvm-commits] [llvm] r43637 - /llvm/trunk/docs/tutorial/LangImpl6.html

2007-11-01 Thread Chris Lattner
Author: lattner Date: Fri Nov 2 00:54:25 2007 New Revision: 43637 URL: http://llvm.org/viewvc/llvm-project?rev=43637view=rev Log: fix typos Modified: llvm/trunk/docs/tutorial/LangImpl6.html Modified: llvm/trunk/docs/tutorial/LangImpl6.html URL:

[llvm-commits] [llvm] r43548 - /llvm/trunk/docs/tutorial/LangImpl5.html

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 02:29:43 2007 New Revision: 43548 URL: http://llvm.org/viewvc/llvm-project?rev=43548view=rev Log: okay, fine, make me finish this chapter. :) Feedback appreciated! Modified: llvm/trunk/docs/tutorial/LangImpl5.html Modified:

[llvm-commits] [llvm] r43549 - /llvm/trunk/docs/tutorial/LangImpl4.html

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 02:30:39 2007 New Revision: 43549 URL: http://llvm.org/viewvc/llvm-project?rev=43549view=rev Log: fix validation Modified: llvm/trunk/docs/tutorial/LangImpl4.html Modified: llvm/trunk/docs/tutorial/LangImpl4.html URL:

[llvm-commits] [llvm] r43596 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-10-31-RangeCrash.ll

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 21:18:41 2007 New Revision: 43596 URL: http://llvm.org/viewvc/llvm-project?rev=43596view=rev Log: Fix InstCombine/2007-10-31-RangeCrash.ll Added: llvm/trunk/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll Modified:

[llvm-commits] [llvm] r43597 - in /llvm/trunk: lib/VMCore/Constants.cpp test/Transforms/InstCombine/2007-10-31-StringCrash.ll

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 21:30:35 2007 New Revision: 43597 URL: http://llvm.org/viewvc/llvm-project?rev=43597view=rev Log: Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious (in hindsight) infinite recursion. Simplify the code. Added:

Re: [llvm-commits] [llvm] r43578 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-10-31 Thread Chris Lattner
On Oct 31, 2007, at 2:04 PM, Owen Anderson wrote: Author: resistor Date: Wed Oct 31 16:04:18 2007 New Revision: 43578 URL: http://llvm.org/viewvc/llvm-project?rev=43578view=rev Log: Add a preverifier pass to check that every basic block ends in a terminator, so that we don't segfault

[llvm-commits] [llvm] r43602 - /llvm/trunk/docs/GettingStarted.html

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 23:20:16 2007 New Revision: 43602 URL: http://llvm.org/viewvc/llvm-project?rev=43602view=rev Log: add a broken gcc version, thanks to P. Durante for pointing this out. Modified: llvm/trunk/docs/GettingStarted.html Modified:

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

2007-10-31 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 23:43:13 2007 New Revision: 43603 URL: http://llvm.org/viewvc/llvm-project?rev=43603view=rev Log: remove verifier command line option: this should be part of the API, not a command line optn. Modified: llvm/trunk/lib/VMCore/Verifier.cpp Modified:

[llvm-commits] [llvm] r43607 - in /llvm/trunk/docs/tutorial: LangImpl6.html index.html

2007-10-31 Thread Chris Lattner
; charset=utf-8 + meta name=author content=Chris Lattner + link rel=stylesheet href=../llvm.css type=text/css +/head + +body + +div class=doc_titleKaleidoscope: Extending the Language: Operator Overloading/div + +div class=doc_author + pWritten by a href=mailto:[EMAIL PROTECTED]Chris Lattner/a/p

[llvm-commits] [llvm] r43545 - /llvm/trunk/docs/FAQ.html

2007-10-30 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 00:53:31 2007 New Revision: 43545 URL: http://llvm.org/viewvc/llvm-project?rev=43545view=rev Log: __main is dead along with llvm-gcc3. Modified: llvm/trunk/docs/FAQ.html Modified: llvm/trunk/docs/FAQ.html URL:

[llvm-commits] [llvm] r43547 - /llvm/trunk/docs/tutorial/LangImpl5.html

2007-10-30 Thread Chris Lattner
Author: lattner Date: Wed Oct 31 01:47:39 2007 New Revision: 43547 URL: http://llvm.org/viewvc/llvm-project?rev=43547view=rev Log: add the code for expression code that we'll add, though most of the description is missing. Modified: llvm/trunk/docs/tutorial/LangImpl5.html Modified:

[llvm-commits] CVS: llvm-www/InTheNews.html

2007-10-29 Thread Chris Lattner
Changes in directory llvm-www: InTheNews.html updated: 1.24 - 1.25 --- Log message: Fix punctuation --- Diffs of the changes: (+2 -2) InTheNews.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/InTheNews.html diff -u llvm-www/InTheNews.html:1.24

[llvm-commits] [llvm] r43452 - /llvm/trunk/test/Transforms/InstCombine/stacksaverestore.ll

2007-10-29 Thread Chris Lattner
Author: lattner Date: Mon Oct 29 12:06:35 2007 New Revision: 43452 URL: http://llvm.org/viewvc/llvm-project?rev=43452view=rev Log: update testcase Modified: llvm/trunk/test/Transforms/InstCombine/stacksaverestore.ll Modified: llvm/trunk/test/Transforms/InstCombine/stacksaverestore.ll URL:

[llvm-commits] [llvm] r43426 - in /llvm/trunk: lib/Transforms/Utils/LoopSimplify.cpp test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll

2007-10-28 Thread Chris Lattner
Author: lattner Date: Sun Oct 28 21:30:37 2007 New Revision: 43426 URL: http://llvm.org/viewvc/llvm-project?rev=43426view=rev Log: Fix PR1752 and LoopSimplify/2007-10-28-InvokeCrash.ll: terminators can have uses too. Wouldn't it be nice if invoke didn't exist? :) Added:

[llvm-commits] [llvm] r43427 - in /llvm/trunk: lib/Target/TargetData.cpp test/Transforms/InstCombine/2007-10-28-EmptyField.ll

2007-10-28 Thread Chris Lattner
Author: lattner Date: Sun Oct 28 21:40:02 2007 New Revision: 43427 URL: http://llvm.org/viewvc/llvm-project?rev=43427view=rev Log: Fix PR1749 and InstCombine/2007-10-28-EmptyField.ll by handling zero-length fields better. Added: llvm/trunk/test/Transforms/InstCombine/2007-10-28-EmptyField.ll

[llvm-commits] [llvm] r43430 - in /llvm/trunk: lib/Target/X86/X86ATTAsmPrinter.cpp test/CodeGen/X86/2007-10-28-inlineasm-q-modifier.ll

2007-10-28 Thread Chris Lattner
Author: lattner Date: Sun Oct 28 22:09:07 2007 New Revision: 43430 URL: http://llvm.org/viewvc/llvm-project?rev=43430view=rev Log: Add support for the x86-64 'q' regigster modifier, and add support for the b/h/w/k/q inline asm memory modifiers, which are just ignored. This fixes PR1748 and

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

2007-10-28 Thread Chris Lattner
Author: lattner Date: Sun Oct 28 22:14:55 2007 New Revision: 43431 URL: http://llvm.org/viewvc/llvm-project?rev=43431view=rev Log: I am not sure this is a good idea to be an option, but rename the option for now. It conflicts with clang's -pedantic flag. Modified:

Re: [llvm-commits] [llvm] r43424 - /llvm/trunk/lib/VMCore/Verifier.cpp

2007-10-28 Thread Chris Lattner
On Oct 28, 2007, at 3:50 PM, Anton Korobeynikov wrote: Author: asl Date: Sun Oct 28 17:50:32 2007 New Revision: 43424 URL: http://llvm.org/viewvc/llvm-project?rev=43424view=rev Log: Add 'pedantic' mode to verifier rejecting syntactically valid, but 'bad' due to other reasons code I

[llvm-commits] [llvm] r43442 - in /llvm/trunk: include/llvm/Intrinsics.td test/Transforms/InstCombine/2007-10-28-stacksave.ll

2007-10-28 Thread Chris Lattner
Author: lattner Date: Mon Oct 29 00:47:52 2007 New Revision: 43442 URL: http://llvm.org/viewvc/llvm-project?rev=43442view=rev Log: Model stacksave and stackrestore as both writing memory, since we don't model their dependences on allocas correctly. This fixes PR1745. Added:

[llvm-commits] [llvm] r43444 - /llvm/trunk/lib/Target/X86/README-SSE.txt

2007-10-28 Thread Chris Lattner
Author: lattner Date: Mon Oct 29 01:19:48 2007 New Revision: 43444 URL: http://llvm.org/viewvc/llvm-project?rev=43444view=rev Log: add a note. Modified: llvm/trunk/lib/Target/X86/README-SSE.txt Modified: llvm/trunk/lib/Target/X86/README-SSE.txt URL:

[llvm-commits] [llvm] r43329 - /llvm/trunk/docs/tutorial/LangImpl4.html

2007-10-25 Thread Chris Lattner
Author: lattner Date: Thu Oct 25 01:23:36 2007 New Revision: 43329 URL: http://llvm.org/viewvc/llvm-project?rev=43329view=rev Log: Add chapter 4, feedback appreciated. Modified: llvm/trunk/docs/tutorial/LangImpl4.html Modified: llvm/trunk/docs/tutorial/LangImpl4.html URL:

Re: [llvm-commits] [llvm] r43270 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-25 Thread Chris Lattner
I discussed this with Bill today. The problem is that we have: llvm.memcpy(p, q, 8, 1/*alignment) this gets turned into an 8-byte load and an 8-byte store, but the alignment (of 1) from the memcpy isn't put onto the load or store, so the legalizer thinks they are properly aligned.

[llvm-commits] [llvm] r43350 - /llvm/trunk/docs/tutorial/LangImpl4.html

2007-10-25 Thread Chris Lattner
Author: lattner Date: Thu Oct 25 12:52:39 2007 New Revision: 43350 URL: http://llvm.org/viewvc/llvm-project?rev=43350view=rev Log: some minor edits, link to Passes.html, make one point I forgot about yesterday. Modified: llvm/trunk/docs/tutorial/LangImpl4.html Modified:

[llvm-commits] [llvm] r43351 - /llvm/trunk/docs/tutorial/LangImpl2.html

2007-10-25 Thread Chris Lattner
Author: lattner Date: Thu Oct 25 13:05:29 2007 New Revision: 43351 URL: http://llvm.org/viewvc/llvm-project?rev=43351view=rev Log: typo Modified: llvm/trunk/docs/tutorial/LangImpl2.html Modified: llvm/trunk/docs/tutorial/LangImpl2.html URL:

Re: [llvm-commits] [llvm] r43375 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/Target/X86/README.txt lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h lib/Transforms/Sca

2007-10-25 Thread Chris Lattner
On Oct 25, 2007, at 6:56 PM, Evan Cheng wrote: Author: evancheng Date: Thu Oct 25 20:56:11 2007 New Revision: 43375 URL: http://llvm.org/viewvc/llvm-project?rev=43375view=rev Log: Loosen up iv reuse to allow reuse of the same stride but a larger type when truncating from the larger

Re: [llvm-commits] [llvm] r43326 - in /llvm/trunk: lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll

2007-10-25 Thread Chris Lattner
On Oct 24, 2007, at 7:36 PM, Owen Anderson wrote: URL: http://llvm.org/viewvc/llvm-project?rev=43326view=rev Log: Fix for PR1741. Thanks Owen, this is the proper fix, but it doesn't fix the whole problem: ==

[llvm-commits] [llvm] r43290 - /llvm/trunk/utils/TableGen/DAGISelEmitter.cpp

2007-10-24 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 01:25:09 2007 New Revision: 43290 URL: http://llvm.org/viewvc/llvm-project?rev=43290view=rev Log: switch some calls to SelectionDAG::getTargetNode to use the one that takes an operand list instead of explicit operands. There is one left though, the more

Re: [llvm-commits] [llvm] r43289 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/and2.ll test/Transforms/InstCombine/or2.ll

2007-10-24 Thread Chris Lattner
On Oct 24, 2007, at 7:42 AM, Neil Booth wrote: Chris Lattner wrote:- Author: lattner Date: Wed Oct 24 00:38:08 2007 New Revision: 43289 URL: http://llvm.org/viewvc/llvm-project?rev=43289view=rev Log: Implement a couple of foldings for ordered and unordered comparisons, implementing

[llvm-commits] [llvm] r43304 - /llvm/trunk/include/llvm/ADT/APFloat.h

2007-10-24 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 13:54:28 2007 New Revision: 43304 URL: http://llvm.org/viewvc/llvm-project?rev=43304view=rev Log: add a nice predicate to check to see if nan Modified: llvm/trunk/include/llvm/ADT/APFloat.h Modified: llvm/trunk/include/llvm/ADT/APFloat.h URL:

[llvm-commits] [llvm] r43305 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-10-24 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 13:54:45 2007 New Revision: 43305 URL: http://llvm.org/viewvc/llvm-project?rev=43305view=rev Log: simplify some code by using the new isNaN predicate Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified:

Re: [llvm-commits] [llvm] r43289 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/and2.ll test/Transforms/InstCombine/or2.ll

2007-10-24 Thread Chris Lattner
On Oct 24, 2007, at 9:24 AM, Dale Johannesen wrote: On Oct 24, 2007, at 9:06 AM, Chris Lattner wrote: On Oct 24, 2007, at 7:42 AM, Neil Booth wrote: Chris Lattner wrote:- Author: lattner Date: Wed Oct 24 00:38:08 2007 New Revision: 43289 URL: http://llvm.org/viewvc/llvm-project?rev

Re: [llvm-commits] [llvm-gcc-4.0] r43294 - /llvm-gcc-4.0/trunk/gcc/llvm-types.cpp

2007-10-24 Thread Chris Lattner
On Oct 24, 2007, at 9:40 AM, Dale Johannesen wrote: Author: johannes URL: http://llvm.org/viewvc/llvm-project?rev=43294view=rev Log: Mark the sret bit correctly for functions defined with empty parameter list (treated as KR style internally, although it's equally valid and semantically

Re: [llvm-commits] [llvm] r43270 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-24 Thread Chris Lattner
If my memory is right, in this case, the frame object itself is aligned on 4-byte boundary. The memcpy size is 33, that is lowered into 4 pairs of 8-byte load / store and 1 pair of 1 byte load / store. It's issuing a 1-byte load from r1+32 and 4 8-byte loads from r1+8, r1+16, r1+24. It's

Re: [llvm-commits] [llvm] r43261 - in /llvm/trunk: include/llvm/Bitcode/Serialization.h lib/Bitcode/Reader/Deserialize.cpp lib/Bitcode/Writer/Serialize.cpp

2007-10-24 Thread Chris Lattner
On Oct 24, 2007, at 9:40 AM, Ted Kremenek wrote: No particular reason for 8, other than the custom codes start at 8 (which I know doesn't apply to block ids or records). I just picked 8 so that it wouldn't conflict with anything I knew of. Clearly this must be changed eventually.

[llvm-commits] [llvm] r43327 - /llvm/trunk/docs/tutorial/LangImpl3.html

2007-10-24 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 23:30:35 2007 New Revision: 43327 URL: http://llvm.org/viewvc/llvm-project?rev=43327view=rev Log: Run the verifier on generated code. Modified: llvm/trunk/docs/tutorial/LangImpl3.html Modified: llvm/trunk/docs/tutorial/LangImpl3.html URL:

[llvm-commits] [llvm] r43328 - /llvm/trunk/include/llvm/PassManager.h

2007-10-24 Thread Chris Lattner
Author: lattner Date: Thu Oct 25 00:19:24 2007 New Revision: 43328 URL: http://llvm.org/viewvc/llvm-project?rev=43328view=rev Log: remove unimplemented ctor, add some comments. Modified: llvm/trunk/include/llvm/PassManager.h Modified: llvm/trunk/include/llvm/PassManager.h URL:

[llvm-commits] [llvm] r43245 - in /llvm/trunk/docs/tutorial: LangImpl2.html LangImpl3.html

2007-10-23 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 01:23:57 2007 New Revision: 43245 URL: http://llvm.org/viewvc/llvm-project?rev=43245view=rev Log: complete the codegen chapter Modified: llvm/trunk/docs/tutorial/LangImpl2.html llvm/trunk/docs/tutorial/LangImpl3.html Modified:

[llvm-commits] [llvm] r43246 - in /llvm/trunk/docs/tutorial: LangImpl4.html index.html

2007-10-23 Thread Chris Lattner
content=Chris Lattner + link rel=stylesheet href=../llvm.css type=text/css +/head + +body + +div class=doc_titleKaleidoscope: Adding JIT and Optimizer Support/div + +div class=doc_author + pWritten by a href=mailto:[EMAIL PROTECTED]Chris Lattner/a/p +/div

[llvm-commits] [llvm] r43247 - in /llvm/trunk/docs/tutorial: LangImpl1.html LangImpl2.html LangImpl3.html LangImpl4.html

2007-10-23 Thread Chris Lattner
-validator/images/vcss; alt=Valid CSS!/a a href=http://validator.w3.org/check/referer;img - src=http://www.w3.org/Icons/valid-html401; alt=Valid HTML 4.01! //a + src=http://www.w3.org/Icons/valid-html401; alt=Valid HTML 4.01!/a a href=mailto:[EMAIL PROTECTED]Chris Lattner/abr a href=http

[llvm-commits] [llvm-gcc-4.0] r43253 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c

2007-10-23 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 13:08:05 2007 New Revision: 43253 URL: http://llvm.org/viewvc/llvm-project?rev=43253view=rev Log: Fix test/FrontendObjC/2007-10-23-GC-WriteBarrier.m, a bug where objc write barriers were emitted for non pointer values due to our ARRAY_REF hack. Modified:

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

2007-10-23 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 13:10:37 2007 New Revision: 43254 URL: http://llvm.org/viewvc/llvm-project?rev=43254view=rev Log: Fix test/FrontendObjC/2007-10-23-GC-WriteBarrier.m, a bug where objc write barriers were emitted for non pointer values due to our ARRAY_REF hack. Modified:

Re: [llvm-commits] [llvm] r43176 - in /llvm/trunk/lib/Target/ARM: ARMISelLowering.cpp ARMISelLowering.h

2007-10-23 Thread Chris Lattner
On Oct 23, 2007, at 6:36 AM, Rafael Espindola wrote: What I am trying to do is factor a bit of the memcpy expansion code among the various backends since I will need it on all of them to implement byval arguments. 2. The stores are unnecessarily serialized. Each of them should use the load

Re: [llvm-commits] [llvm] r43270 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-23 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=43270view=rev Log: If there's an unaligned memcpy to/from the stack, don't lower it. Just call the memcpy library function instead. Hey Bill, There is nothing specific about the stack here, please just make it depend on whether the alignment

Re: [llvm-commits] [llvm] r43259 - in /llvm/trunk: include/llvm/Analysis/PostDominators.h lib/Analysis/PostDominators.cpp lib/VMCore/Dominators.cpp

2007-10-23 Thread Chris Lattner
On Oct 23, 2007, at 1:58 PM, Owen Anderson wrote: URL: http://llvm.org/viewvc/llvm-project?rev=43259view=rev Log: Make DomTree and PostDomTree thin wrappers around DomTreeBase, rather than inheriting from it. Very nice! @@ -21,17 +21,39 @@ /// PostDominatorTree Class - Concrete subclass

Re: [llvm-commits] [llvm] r43270 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-23 Thread Chris Lattner
On Oct 23, 2007, at 5:11 PM, Bill Wendling wrote: On 10/23/07, Chris Lattner [EMAIL PROTECTED] wrote: URL: http://llvm.org/viewvc/llvm-project?rev=43270view=rev Log: If there's an unaligned memcpy to/from the stack, don't lower it. Just call the memcpy library function instead. Hey Bill

Re: [llvm-commits] [llvm] r43270 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/PowerPC/2007-10-23-UnalignedMemcpy.ll

2007-10-23 Thread Chris Lattner
On Oct 23, 2007, at 6:00 PM, Evan Cheng wrote: Now that I think about it some more. The bug Bill and I looked at appears to be just a PPC prologue / epilogue lowering bug. It doesn't seem to be rounding up the size of the stack correctly. Suppose the size of source frame object is 5, this

[llvm-commits] [llvm] r43286 - /llvm/trunk/tools/llvm-config/llvm-config.in.in

2007-10-23 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 23:35:54 2007 New Revision: 43286 URL: http://llvm.org/viewvc/llvm-project?rev=43286view=rev Log: Fix PR1739. Modified: llvm/trunk/tools/llvm-config/llvm-config.in.in Modified: llvm/trunk/tools/llvm-config/llvm-config.in.in URL:

[llvm-commits] [llvm] r43287 - /llvm/trunk/docs/tutorial/LangImpl3.html

2007-10-23 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 23:37:23 2007 New Revision: 43287 URL: http://llvm.org/viewvc/llvm-project?rev=43287view=rev Log: Fix instructions now that PR1739 is fixed. Modified: llvm/trunk/docs/tutorial/LangImpl3.html Modified: llvm/trunk/docs/tutorial/LangImpl3.html URL:

[llvm-commits] [llvm] r43288 - /llvm/trunk/docs/tutorial/LangImpl3.html

2007-10-23 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 00:09:48 2007 New Revision: 43288 URL: http://llvm.org/viewvc/llvm-project?rev=43288view=rev Log: further simplify run options, thanks to gordonh for pointing this out Modified: llvm/trunk/docs/tutorial/LangImpl3.html Modified:

[llvm-commits] [llvm] r43289 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/and2.ll test/Transforms/InstCombine/or2.ll

2007-10-23 Thread Chris Lattner
Author: lattner Date: Wed Oct 24 00:38:08 2007 New Revision: 43289 URL: http://llvm.org/viewvc/llvm-project?rev=43289view=rev Log: Implement a couple of foldings for ordered and unordered comparisons, implementing cases related to PR1738. Added: llvm/trunk/test/Transforms/InstCombine/and2.ll

[llvm-commits] [llvm] r43218 - in /llvm/trunk/docs/tutorial: LangImpl1.html LangImpl2.html index.html

2007-10-22 Thread Chris Lattner
and AST/title + meta http-equiv=Content-Type content=text/html; charset=utf-8 + meta name=author content=Chris Lattner + link rel=stylesheet href=../llvm.css type=text/css +/head + +body + +div class=doc_titleKaleidoscope: Implementing a Parser and AST/div + +div class=doc_author + pWritten

[llvm-commits] [llvm] r43221 - in /llvm/trunk/docs/tutorial: LangImpl3.html index.html

2007-10-22 Thread Chris Lattner
content=Chris Lattner + link rel=stylesheet href=../llvm.css type=text/css +/head + +body + +div class=doc_titleKaleidoscope: Code generation to LLVM IR/div + +div class=doc_author + pWritten by a href=mailto:[EMAIL PROTECTED]Chris Lattner/a/p +/div

Re: [llvm-commits] [llvm] r43191 - in /llvm/trunk: lib/CodeGen/BranchFolding.cpp test/CFrontend/2007-10-15-VoidPtr.c test/Transforms/BranchFolding/ test/Transforms/BranchFolding/2007-10-19-InlineAsmDi

2007-10-22 Thread Chris Lattner
On Oct 20, 2007, at 11:49 AM, Dale Johannesen wrote: On Oct 20, 2007, at 10:29 AM, Chris Lattner wrote: This is just a really ugly compatibility hack. Apparently GCC doesn't do cross jumping of inline asm statements as much as we do, and we've hit a significant body of code that depends

[llvm-commits] [llvm] r43222 - /llvm/trunk/docs/tutorial/LangImpl2.html

2007-10-22 Thread Chris Lattner
Author: lattner Date: Mon Oct 22 11:44:31 2007 New Revision: 43222 URL: http://llvm.org/viewvc/llvm-project?rev=43222view=rev Log: fit in 80 cols :) Modified: llvm/trunk/docs/tutorial/LangImpl2.html Modified: llvm/trunk/docs/tutorial/LangImpl2.html URL:

Re: [llvm-commits] [llvm] r43171 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-22 Thread Chris Lattner
On Oct 21, 2007, at 10:34 AM, Duncan Sands wrote: Hi Chris, Assuming an expansion from i64 to 2x i32, the code above will work for sextinreg amounts between 1 and 32. For greater amounts, the top part should get a sextinreg, and the bottom part should or togther the top and bottom shifted

[llvm-commits] [llvm] r43226 - /llvm/trunk/tools/llvmc/llvmc.cpp

2007-10-22 Thread Chris Lattner
Author: lattner Date: Mon Oct 22 14:41:46 2007 New Revision: 43226 URL: http://llvm.org/viewvc/llvm-project?rev=43226view=rev Log: add a 'don't use me' marker. Modified: llvm/trunk/tools/llvmc/llvmc.cpp Modified: llvm/trunk/tools/llvmc/llvmc.cpp URL:

Re: [llvm-commits] [llvm] r43221 - in /llvm/trunk/docs/tutorial: LangImpl3.html index.html

2007-10-22 Thread Chris Lattner
On Oct 22, 2007, at 3:05 PM, Dan Gohman wrote: Value is the class used to represent a register in LLVM. The Codegen() method says to emit IR for that AST It would be good to mention that the registers here cannot be reassigned, as the word register might seem to imply. Good idea. I

[llvm-commits] [llvm] r43238 - /llvm/trunk/docs/tutorial/LangImpl3.html

2007-10-22 Thread Chris Lattner
Author: lattner Date: Mon Oct 22 23:51:30 2007 New Revision: 43238 URL: http://llvm.org/viewvc/llvm-project?rev=43238view=rev Log: Finish up expr codegen. Modified: llvm/trunk/docs/tutorial/LangImpl3.html Modified: llvm/trunk/docs/tutorial/LangImpl3.html URL:

[llvm-commits] [llvm] r43237 - in /llvm/trunk/docs/tutorial: LangImpl2.html LangImpl3.html

2007-10-22 Thread Chris Lattner
Author: lattner Date: Mon Oct 22 23:27:44 2007 New Revision: 43237 URL: http://llvm.org/viewvc/llvm-project?rev=43237view=rev Log: several improvements suggested by Dan, thanks! Modified: llvm/trunk/docs/tutorial/LangImpl2.html llvm/trunk/docs/tutorial/LangImpl3.html Modified:

[llvm-commits] [llvm] r43239 - /llvm/trunk/docs/tutorial/LangImpl2.html

2007-10-22 Thread Chris Lattner
Author: lattner Date: Tue Oct 23 00:43:01 2007 New Revision: 43239 URL: http://llvm.org/viewvc/llvm-project?rev=43239view=rev Log: Fix up a broken #include, move code to its own section, add conclusions. Modified: llvm/trunk/docs/tutorial/LangImpl2.html Modified:

[llvm-commits] [llvm] r43207 - /llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

2007-10-21 Thread Chris Lattner
Author: lattner Date: Sun Oct 21 17:58:11 2007 New Revision: 43207 URL: http://llvm.org/viewvc/llvm-project?rev=43207view=rev Log: LoadLibraryPermanently doesn't throw. Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp Modified: llvm/trunk/lib/ExecutionEngine/ExecutionEngine.cpp

[llvm-commits] [llvm] r43209 - /llvm/trunk/lib/ExecutionEngine/JIT/Intercept.cpp

2007-10-21 Thread Chris Lattner
Author: lattner Date: Sun Oct 21 21:39:47 2007 New Revision: 43209 URL: http://llvm.org/viewvc/llvm-project?rev=43209view=rev Log: llvm-gcc3 is dead, along with it __main. Modified: llvm/trunk/lib/ExecutionEngine/JIT/Intercept.cpp Modified: llvm/trunk/lib/ExecutionEngine/JIT/Intercept.cpp

[llvm-commits] [llvm] r43210 - in /llvm/trunk: include/llvm/ExecutionEngine/ExecutionEngine.h lib/ExecutionEngine/ExecutionEngine.cpp lib/ExecutionEngine/JIT/Intercept.cpp

2007-10-21 Thread Chris Lattner
Author: lattner Date: Sun Oct 21 21:50:12 2007 New Revision: 43210 URL: http://llvm.org/viewvc/llvm-project?rev=43210view=rev Log: add a mechanism for the JIT to invoke a function to lazily create functions as they are referenced. Modified:

[llvm-commits] [llvm] r43213 - in /llvm/trunk/docs/tutorial: JITTutorial1.html Tutorial1.html index.html

2007-10-21 Thread Chris Lattner
Author: lattner Date: Sun Oct 21 22:12:24 2007 New Revision: 43213 URL: http://llvm.org/viewvc/llvm-project?rev=43213view=rev Log: rename tutorial 1 - JITTutorial1, make unimplemented links not be dead links. Added: llvm/trunk/docs/tutorial/JITTutorial1.html - copied unchanged from

[llvm-commits] [llvm] r43214 - /llvm/trunk/docs/tutorial/index.html

2007-10-21 Thread Chris Lattner
Author: lattner Date: Sun Oct 21 22:19:07 2007 New Revision: 43214 URL: http://llvm.org/viewvc/llvm-project?rev=43214view=rev Log: add an outline for part 2. Modified: llvm/trunk/docs/tutorial/index.html Modified: llvm/trunk/docs/tutorial/index.html URL:

[llvm-commits] [llvm] r43215 - in /llvm/trunk/docs/tutorial: LangImpl1.html index.html

2007-10-21 Thread Chris Lattner
=author content=Chris Lattner + link rel=stylesheet href=../llvm.css type=text/css +/head + +body + +div class=doc_titleKaleidoscope: The basic language, with its lexer/div + +div class=doc_author + pWritten by a href=mailto:[EMAIL PROTECTED]Chris Lattner/a/p +/div

Re: [llvm-commits] [llvm] r43191 - in /llvm/trunk: lib/CodeGen/BranchFolding.cpp test/CFrontend/2007-10-15-VoidPtr.c test/Transforms/BranchFolding/ test/Transforms/BranchFolding/2007-10-19-InlineAsmDi

2007-10-20 Thread Chris Lattner
On Oct 20, 2007, at 2:02 AM, Bill Wendling wrote: On Oct 20, 2007, at 1:53 AM, Duncan Sands wrote: Don't branch fold inline asm statements. I'm curious to know why not... I didn't understand the problem with the testcase. There are a few projects that depend upon a specific ordering of

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

2007-10-20 Thread Chris Lattner
Author: lattner Date: Sat Oct 20 17:57:56 2007 New Revision: 43204 URL: http://llvm.org/viewvc/llvm-project?rev=43204view=rev Log: Add promote operand support for [su]int_to_fp. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

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

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 23:09:48 2007 New Revision: 43198 URL: http://llvm.org/viewvc/llvm-project?rev=43198view=rev Log: simplify some code. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp URL:

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

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 23:07:07 2007 New Revision: 43197 URL: http://llvm.org/viewvc/llvm-project?rev=43197view=rev Log: Implement promote and expand for operands of memcpy and friends. This fixes CodeGen/X86/mem*.ll. Modified:

Re: [llvm-commits] [llvm] r43083 - in /llvm/trunk: lib/Transforms/IPO/RaiseAllocations.cpp test/Transforms/RaiseAllocations/2007-10-17-InvokeFree.ll

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:36 AM, Duncan Sands wrote: Hi Devang, Do not raise free() call that is called through invoke instruction. why not? As far as I know free cannot raise an exception, If this is guaranteed then raiseallocs needs to do cleanup and break link between bb with inovke

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

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 11:47:35 2007 New Revision: 43181 URL: http://llvm.org/viewvc/llvm-project?rev=43181view=rev Log: Fix a really nasty vector miscompilation bill recently introduced. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified:

Re: [llvm-commits] [llvm] r43171 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:31 AM, Duncan Sands wrote: Hi Chris, +void DAGTypeLegalizer:: +ExpandResult_SIGN_EXTEND_INREG(SDNode *N, SDOperand Lo, SDOperand Hi) { + GetExpandedOp(N-getOperand(0), Lo, Hi); + + // sext_inreg the low part if needed. + Lo =

Re: [llvm-commits] ranlib problems

2007-10-19 Thread Chris Lattner
On Oct 19, 2007, at 1:37 AM, Bill Wendling wrote: Hi all, Is anyone seeing this? ar cru /Users/wendling/llvm/llvm.obj/Debug/lib/libLLVMSystem.a /Users/ wendling/llvm/llvm.obj/lib/System/Debug/Alarm.o /Users/wendling/llvm/ llvm.obj/lib/System/Debug/Disassembler.o /Users/wendling/llvm/

[llvm-commits] [llvm] r43177 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-10-19 Thread Chris Lattner
Author: lattner Date: Fri Oct 19 10:28:47 2007 New Revision: 43177 URL: http://llvm.org/viewvc/llvm-project?rev=43177view=rev Log: rename ExpandOperation to ExpandOperationResult, as suggested by Duncan Modified: llvm/trunk/include/llvm/Target/TargetLowering.h

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 01:17:07 2007 New Revision: 43116 URL: http://llvm.org/viewvc/llvm-project?rev=43116view=rev Log: legalizing the ret operation on f64 shouldn't introduce a new i64 bit convert needlessly. Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Modified:

Re: [llvm-commits] [llvm] r43120 - in /llvm/trunk: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 1:32 AM, Bill Wendling wrote: Author: void Date: Thu Oct 18 03:32:37 2007 New Revision: 43120 URL: http://llvm.org/viewvc/llvm-project?rev=43120view=rev Log: Pointer arithmetic should be done with the index the same size as the pointer. Nice catch Bill. Should

Re: [llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

2007-10-18 Thread Chris Lattner
In the case of this fix, we don't want to use even _Unwind_SjLj_Resume (it's what I tried initially and got the same type of error). So how do you continue unwinding exceptions? If code should never get to the unwind block then you can always make the unwind-resume function be a call to

[llvm-commits] [llvm] r43127 - /llvm/trunk/lib/Support/Makefile

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 10:57:29 2007 New Revision: 43127 URL: http://llvm.org/viewvc/llvm-project?rev=43127view=rev Log: This requires rtti info because tblgen uses commandline, and tblgen requires rtti. Modified: llvm/trunk/lib/Support/Makefile Modified:

[llvm-commits] [llvm] r43128 - /llvm/trunk/include/llvm/PassSupport.h

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 11:10:17 2007 New Revision: 43128 URL: http://llvm.org/viewvc/llvm-project?rev=43128view=rev Log: update comment. Modified: llvm/trunk/include/llvm/PassSupport.h Modified: llvm/trunk/include/llvm/PassSupport.h URL:

[llvm-commits] [llvm] r43129 - /llvm/trunk/lib/VMCore/Instructions.cpp

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 11:10:48 2007 New Revision: 43129 URL: http://llvm.org/viewvc/llvm-project?rev=43129view=rev Log: fix typo Modified: llvm/trunk/lib/VMCore/Instructions.cpp Modified: llvm/trunk/lib/VMCore/Instructions.cpp URL:

[llvm-commits] [llvm] r43130 - /llvm/trunk/lib/VMCore/Pass.cpp

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 11:11:18 2007 New Revision: 43130 URL: http://llvm.org/viewvc/llvm-project?rev=43130view=rev Log: Reduce reliance on rtti info Modified: llvm/trunk/lib/VMCore/Pass.cpp Modified: llvm/trunk/lib/VMCore/Pass.cpp URL:

[llvm-commits] [llvm] r43126 - /llvm/trunk/utils/TableGen/Makefile

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 10:54:45 2007 New Revision: 43126 URL: http://llvm.org/viewvc/llvm-project?rev=43126view=rev Log: tblgen uses dynamic_cast heavily, so it needs rtti info Modified: llvm/trunk/utils/TableGen/Makefile Modified: llvm/trunk/utils/TableGen/Makefile URL:

[llvm-commits] [llvm] r43131 - /llvm/trunk/include/llvm/Support/TypeInfo.h

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 11:12:54 2007 New Revision: 43131 URL: http://llvm.org/viewvc/llvm-project?rev=43131view=rev Log: remove dead file Removed: llvm/trunk/include/llvm/Support/TypeInfo.h Removed: llvm/trunk/include/llvm/Support/TypeInfo.h URL:

[llvm-commits] [llvm] r43133 - /llvm/trunk/lib/VMCore/Constants.cpp

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 11:26:24 2007 New Revision: 43133 URL: http://llvm.org/viewvc/llvm-project?rev=43133view=rev Log: this doesn't need dynamic_cast. Modified: llvm/trunk/lib/VMCore/Constants.cpp Modified: llvm/trunk/lib/VMCore/Constants.cpp URL:

[llvm-commits] [llvm] r43141 - in /llvm/trunk: lib/Transforms/IPO/DeadArgumentElimination.cpp test/Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 13:49:29 2007 New Revision: 43141 URL: http://llvm.org/viewvc/llvm-project?rev=43141view=rev Log: Fix PR1735 and Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll by fixing some obviously broken code :( Added:

Re: [llvm-commits] [llvm-gcc-4.0] r43134 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: darwin-ldouble.c darwin-libgcc.10.4.ver darwin-libgcc.10.5.ver darwin.h

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 9:57 AM, Dale Johannesen wrote: URL: http://llvm.org/viewvc/llvm-project?rev=43134view=rev Log: Enable 128-bit long double on PPC darwin. Remove hacks in library functions and build which worked around its absence. Nice! Many llvm local changes going away, /* Use

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 23:32:47 2007 New Revision: 43170 URL: http://llvm.org/viewvc/llvm-project?rev=43170view=rev Log: Implement expansion of SINT_TO_FP and UINT_TO_FP operands. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 23:46:45 2007 New Revision: 43171 URL: http://llvm.org/viewvc/llvm-project?rev=43171view=rev Log: Implement a few new operations. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 23:14:36 2007 New Revision: 43169 URL: http://llvm.org/viewvc/llvm-project?rev=43169view=rev Log: implement support for custom expansion of any node type, in one place. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 22:58:25 2007 New Revision: 43167 URL: http://llvm.org/viewvc/llvm-project?rev=43167view=rev Log: Make use of TLI.ExpandOperation, remove softfloat stuff. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified:

[llvm-commits] [llvm] r43164 - /llvm/trunk/lib/Target/ARM/README.txt

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 22:29:26 2007 New Revision: 43164 URL: http://llvm.org/viewvc/llvm-project?rev=43164view=rev Log: Add an easy microoptimization I noticed. Modified: llvm/trunk/lib/Target/ARM/README.txt Modified: llvm/trunk/lib/Target/ARM/README.txt URL:

Re: [llvm-commits] [llvm-gcc-4.0] r43134 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: darwin-ldouble.c darwin-libgcc.10.4.ver darwin-libgcc.10.5.ver darwin.h

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 4:00 PM, Dale Johannesen wrote: On Oct 18, 2007, at 3:51 PM, Chris Lattner wrote: On Oct 18, 2007, at 2:09 PM, Dale Johannesen wrote: On Oct 18, 2007, at 1:04 PM, Chris Lattner wrote: /* Use fused multiply-add to get low part of a * c. */ -/* APPLE LOCAL begin

Re: [llvm-commits] [llvm] r43120 - in /llvm/trunk: lib/CodeGen/SelectionDAG/LegalizeDAG.cpp test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 10:58 AM, Bill Wendling wrote: On 10/18/07, Chris Lattner [EMAIL PROTECTED] wrote: On Oct 18, 2007, at 1:32 AM, Bill Wendling wrote: Author: void Date: Thu Oct 18 03:32:37 2007 New Revision: 43120 URL: http://llvm.org/viewvc/llvm-project?rev=43120view=rev Log

Re: [llvm-commits] [llvm] r43150 - in /llvm/trunk: include/llvm/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Target/X86/

2007-10-18 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=43150view=rev Log: Use SmallVectorImpl instead of SmallVector with hardcoded size in MRegister public interface. Cool, one additional thing: +++ llvm/trunk/include/llvm/Target/MRegisterInfo.h Thu Oct 18 16:29:24 2007 @@ -508,9 +508,9 @@

Re: [llvm-commits] [llvm-gcc-4.0] r43134 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: darwin-ldouble.c darwin-libgcc.10.4.ver darwin-libgcc.10.5.ver darwin.h

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 2:09 PM, Dale Johannesen wrote: On Oct 18, 2007, at 1:04 PM, Chris Lattner wrote: /* Use fused multiply-add to get low part of a * c. */ -/* APPLE LOCAL begin LLVM */ -#ifndef __llvm__ /* FIXME: no long double support! */ asm (fmsub %0,%1,%2,%3 : =f(tau) : f

Re: [llvm-commits] [llvm] r43150 - in /llvm/trunk: include/llvm/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerPC/ lib/Target/Sparc/ lib/Target/X86/

2007-10-18 Thread Chris Lattner
On Oct 18, 2007, at 6:43 PM, Evan Cheng wrote: +++ llvm/trunk/include/llvm/Target/MRegisterInfo.h Thu Oct 18 16:29:24 2007 @@ -508,9 +508,9 @@ const TargetRegisterClass *RC) const = 0; virtual void storeRegToAddr(MachineFunction MF, unsigned SrcReg,

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

2007-10-18 Thread Chris Lattner
Author: lattner Date: Thu Oct 18 22:31:45 2007 New Revision: 43165 URL: http://llvm.org/viewvc/llvm-project?rev=43165view=rev Log: add a new target hook. Modified: llvm/trunk/include/llvm/Target/TargetLowering.h llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Modified:

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

2007-10-17 Thread Chris Lattner
Author: lattner Date: Wed Oct 17 01:02:13 2007 New Revision: 43066 URL: http://llvm.org/viewvc/llvm-project?rev=43066view=rev Log: fix some funny indentation, add comments. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp URL:

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

2007-10-17 Thread Chris Lattner
Author: lattner Date: Wed Oct 17 01:17:29 2007 New Revision: 43068 URL: http://llvm.org/viewvc/llvm-project?rev=43068view=rev Log: Change fp to sint legalization on x86-32 to do 2 x i32 loads instead of 1 x i64 loads. This doesn't change any functionality yet. Modified:

<    5   6   7   8   9   10   11   12   13   14   >