[llvm-commits] [llvm] r43550 - in /llvm/trunk: include/llvm/CodeGen/MachineDominators.h lib/CodeGen/MachineDominators.cpp lib/CodeGen/StrongPHIElimination.cpp

2007-10-31 Thread Duncan Sands
Author: baldrick Date: Wed Oct 31 03:49:24 2007 New Revision: 43550 URL: http://llvm.org/viewvc/llvm-project?rev=43550&view=rev Log: Add a newline at the end of the file. Modified: llvm/trunk/include/llvm/CodeGen/MachineDominators.h llvm/trunk/lib/CodeGen/MachineDominators.cpp llvm/tr

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

2007-10-31 Thread Duncan Sands
Author: baldrick Date: Wed Oct 31 03:57:43 2007 New Revision: 43551 URL: http://llvm.org/viewvc/llvm-project?rev=43551&view=rev Log: Promotion of sdiv/srem/udiv/urem. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAGT

[llvm-commits] [llvm] r43552 - in /llvm/trunk/lib/Target: ARM/ARMISelLowering.cpp ARM/ARMSubtarget.h X86/X86ISelLowering.cpp X86/X86Subtarget.cpp X86/X86Subtarget.h

2007-10-31 Thread Rafael Espindola
Author: rafael Date: Wed Oct 31 06:52:06 2007 New Revision: 43552 URL: http://llvm.org/viewvc/llvm-project?rev=43552&view=rev Log: Make ARM an X86 memcpy expansion more similar to each other. Now both subtarget define getMaxInlineSizeThreshold and the expansion uses it. This should not change gen

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

2007-10-31 Thread John Criswell
Changes in directory llvm-www: Users.html updated: 1.23 -> 1.24 --- Log message: Changed "Academic/Research" to "Academic Research" per Vikram's request. --- Diffs of the changes: (+2 -2) Users.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/Users.html

[llvm-commits] [llvm] r43553 - /llvm/trunk/lib/Transforms/Scalar/LICM.cpp

2007-10-31 Thread Dan Gohman
Author: djg Date: Wed Oct 31 09:35:39 2007 New Revision: 43553 URL: http://llvm.org/viewvc/llvm-project?rev=43553&view=rev Log: Fix a typo in a comment. Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LICM.cpp URL: http://llvm.org/viewvc/llvm-p

[llvm-commits] [llvm] r43554 - in /llvm/trunk/lib/Target: ARM/ARMISelLowering.cpp ARM/ARMISelLowering.h ARM/ARMSubtarget.h X86/X86ISelLowering.cpp

2007-10-31 Thread Rafael Espindola
Author: rafael Date: Wed Oct 31 09:39:58 2007 New Revision: 43554 URL: http://llvm.org/viewvc/llvm-project?rev=43554&view=rev Log: Make ARM and X86 LowerMEMCPY identical by moving the isThumb check into getMaxInlineSizeThreshold and by restructuring the X86 version. New I just have to move this

[llvm-commits] [llvm] r43559 - /llvm/trunk/include/llvm/ADT/FoldingSet.h

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 12:12:47 2007 New Revision: 43559 URL: http://llvm.org/viewvc/llvm-project?rev=43559&view=rev Log: Changed access control within FoldingSet for some ivars from "private" to "protected". This allows iterators to work. Modified: llvm/trunk/include/llvm/ADT/Fol

[llvm-commits] [llvm] r43565 - in /llvm/trunk: include/llvm/Bitcode/Serialize.h lib/Bitcode/Writer/Serialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 13:23:21 2007 New Revision: 43565 URL: http://llvm.org/viewvc/llvm-project?rev=43565&view=rev Log: Added Serializer::EmitRef to deal with emitting arbitrary references. Modified Serializer::EmitPtr to handle const pointers. Modified: llvm/trunk/include/llvm/B

[llvm-commits] [llvm] r43570 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 14:58:32 2007 New Revision: 43570 URL: http://llvm.org/viewvc/llvm-project?rev=43570&view=rev Log: Implemented deserialization of references. References are handled just like pointers, except that they cannot be backpatched. This means that references are essent

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

2007-10-31 Thread Owen Anderson
Author: resistor Date: Wed Oct 31 16:04:18 2007 New Revision: 43578 URL: http://llvm.org/viewvc/llvm-project?rev=43578&view=rev Log: Add a preverifier pass to check that every basic block ends in a terminator, so that we don't segfault when verifying invalid code. Modified: llvm/trunk/lib/VM

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

2007-10-31 Thread Devang Patel
Why can't you check this at the beginning of Verifier::visitBasicBlock() ? - Devang // verifyBasicBlock - Verify that a basic block is well formed... // void Verifier::visitBasicBlock(BasicBlock &BB) { On Oct 31, 2007, at 2:04 PM, Owen Anderson wrote: > Author: resistor > Date: Wed Oct 31 16:0

[llvm-commits] [llvm] r43579 - /llvm/trunk/lib/VMCore/ConstantFold.cpp

2007-10-31 Thread Dan Gohman
Author: djg Date: Wed Oct 31 16:36:31 2007 New Revision: 43579 URL: http://llvm.org/viewvc/llvm-project?rev=43579&view=rev Log: Fix a regression in test/CodeGen/X86/2007-04-24-VectorCrash.ll introduced by r43510. Gracefully handle constants with vector type that aren't ConstantVector or ConstantAg

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

2007-10-31 Thread Anton Korobeynikov
> Why can't you check this at the beginning of > Verifier::visitBasicBlock() ? I think due to this: >AU.addRequired(); DomTree crashes on invalid CFG. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University. _

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

2007-10-31 Thread Devang Patel
On Oct 31, 2007, at 2:30 PM, Anton Korobeynikov wrote: > >> Why can't you check this at the beginning of >> Verifier::visitBasicBlock() ? > I think due to this: > >> AU.addRequired(); > > DomTree crashes on invalid CFG. aha. ok. - Devang ___ llvm-commi

[llvm-commits] [llvm] r43583 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 17:42:03 2007 New Revision: 43583 URL: http://llvm.org/viewvc/llvm-project?rev=43583&view=rev Log: constified several pointer arguments for methods in the Deserializer. Modified: llvm/trunk/include/llvm/Bitcode/Deserialize.h llvm/trunk/lib/Bitcode/Reader/

[llvm-commits] [llvm] r43594 - /llvm/trunk/include/llvm/ADT/DenseMap.h

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 19:54:57 2007 New Revision: 43594 URL: http://llvm.org/viewvc/llvm-project?rev=43594&view=rev Log: Added typedef "value_type" to DenseMap (similar typedef appears in std::map). Added method FindAndConstruct() to DenseMap, which does the same thing as operator[],

[llvm-commits] [llvm] r43595 - in /llvm/trunk: include/llvm/Bitcode/Deserialize.h lib/Bitcode/Reader/Deserialize.cpp

2007-10-31 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 31 19:57:37 2007 New Revision: 43595 URL: http://llvm.org/viewvc/llvm-project?rev=43595&view=rev Log: Rewrote backpatcher. Backpatcher now stores the "has final pointer" flag in the **key** of the backpatch map, as opposed to the mapped value which contains either t

[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=43596&view=rev Log: Fix InstCombine/2007-10-31-RangeCrash.ll Added: llvm/trunk/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll Modified: llvm/trunk/lib/Transforms/Scalar/In

[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=43597&view=rev Log: Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious (in hindsight) infinite recursion. Simplify the code. Added: llvm/trunk/test/Transforms/InstCom

[llvm-commits] [llvm] r43598 - /llvm/trunk/test/CodeGen/X86/2007-10-31-extractelement-i64.ll

2007-10-31 Thread Dale Johannesen
Author: johannes Date: Wed Oct 31 21:38:24 2007 New Revision: 43598 URL: http://llvm.org/viewvc/llvm-project?rev=43598&view=rev Log: Test that expand_vector_elt(v2i64) works in 32-bit mode. Added: llvm/trunk/test/CodeGen/X86/2007-10-31-extractelement-i64.ll Added: llvm/trunk/test/CodeGen/X8

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=43578&view=rev > Log: > Add a preverifier pass to check that every basic block ends in a > terminator, so that we don't se

[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=43602&view=rev Log: add a broken gcc version, thanks to P. Durante for pointing this out. Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.htm

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

2007-10-31 Thread Owen Anderson
Author: resistor Date: Wed Oct 31 22:54:23 2007 New Revision: 43601 URL: http://llvm.org/viewvc/llvm-project?rev=43601&view=rev Log: Now with less tabs! Modified: llvm/trunk/lib/VMCore/Verifier.cpp Modified: llvm/trunk/lib/VMCore/Verifier.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/tr

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

[llvm-commits] [llvm] r43605 - in /llvm/trunk: lib/Transforms/Scalar/DeadStoreElimination.cpp test/Transforms/DeadStoreElimination/PartialStore.ll

2007-10-31 Thread Owen Anderson
Author: resistor Date: Thu Nov 1 00:29:16 2007 New Revision: 43605 URL: http://llvm.org/viewvc/llvm-project?rev=43605&view=rev Log: Fix test/Transforms/DeadStoreElimination/PartialStore.ll, which had been silently failing because of an incorrect run line for some time. Modified: llvm/trunk/l

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

2007-10-31 Thread Evan Cheng
Author: evancheng Date: Thu Nov 1 01:22:48 2007 New Revision: 43606 URL: http://llvm.org/viewvc/llvm-project?rev=43606&view=rev Log: - Coalesce extract_subreg when both intervals are relatively small. - Some code clean up. Modified: llvm/trunk/include/llvm/CodeGen/SimpleRegisterCoalescing.h

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

2007-10-31 Thread Chris Lattner
Author: lattner Date: Thu Nov 1 01:49:54 2007 New Revision: 43607 URL: http://llvm.org/viewvc/llvm-project?rev=43607&view=rev Log: Add the start of chapter 6, still much to go. Added: llvm/trunk/docs/tutorial/LangImpl6.html Modified: llvm/trunk/docs/tutorial/index.html Added: llvm/trunk