mirror of
				https://github.com/Cisco-Talos/clamav.git
				synced 2025-11-04 10:00:56 +00:00 
			
		
		
		
	
	
		
			1 commit
		
	
	
	| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 
							 | 
						ae1be98809 | 
							
							
								
								Update to LLVM upstream r92222.
							
							
							
							
							
							
							
							Squashed commit of the following:
commit 4d06dfc51403e0e54eb688a3a9fb1839ea2136a6
Author: Benjamin Kramer <benny.kra@googlemail.com>
Date:   Mon Dec 28 12:27:56 2009 +0000
    Add missing include (for inline PATypeHolder::get).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92222 91177308-0d34-0410-b5e6-96231b3b80d8
commit e05a9ea766a0b81c710a044887cfc22d6f36a664
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 09:32:10 2009 +0000
    avoid a completely unneeded linear walk.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92221 91177308-0d34-0410-b5e6-96231b3b80d8
commit 104369f82cb166e9c446c3e844136811466916b3
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 09:24:53 2009 +0000
    Eliminate two bits of ugliness in MDNode::replaceElement:
    eliminate the temporary smallvector, and only do FindNodeOrInsertPos
    twice if the first one succeeds and we delete a node.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92220 91177308-0d34-0410-b5e6-96231b3b80d8
commit a7bbe9111b1caea1c424c73bbba6338eedd96d65
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 09:12:35 2009 +0000
    rearrange some methods, no functionality change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92219 91177308-0d34-0410-b5e6-96231b3b80d8
commit cc1d027f0654706031bf0e6d7c57ede4dfc41373
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 09:10:16 2009 +0000
    avoid temporary CallbackVH's.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92218 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3716bc64a3ee906a6e40e6847ac915daa01e4919
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 09:07:21 2009 +0000
    Rewrite the function-local validation logic for MDNodes (most of r91708).
    Among other benefits, this doesn't leak the SmallPtrSet, has the verifier
    code in the verifier pass, actually does the verification at the end,
    and is considerably simpler.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92217 91177308-0d34-0410-b5e6-96231b3b80d8
commit 894c992754b4095a0546181a0701674a3a696477
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:48:12 2009 +0000
    rename MDNode instance variables to something meaningful.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92216 91177308-0d34-0410-b5e6-96231b3b80d8
commit a89d238baa1ac500515df35491d0c7480ec87bf0
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:30:43 2009 +0000
    snip one more #include from Metadata.h
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92214 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4ba716d8d60ff7b6e0e07bce48bcb68bcffa1388
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:26:43 2009 +0000
    prune #includes more.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92213 91177308-0d34-0410-b5e6-96231b3b80d8
commit 62a41720e49584820202799556c757518e23d3cf
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:24:16 2009 +0000
    prune some #includes
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92212 91177308-0d34-0410-b5e6-96231b3b80d8
commit 749a4129c976d4895f231f0fbfddf9c54c17ac1b
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:20:46 2009 +0000
    Metadata.h doesn't need to include ValueHandle.h anymore.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92211 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6c8fe40711f3cf363831d95a63322a5963233f0a
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:14:54 2009 +0000
    change the strange MetadataContext::getMDs function to expose less
    irrelevant internal implementation details to clients.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92210 91177308-0d34-0410-b5e6-96231b3b80d8
commit febd655fa44c568fa3a80af56aed9955ff797157
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 08:07:14 2009 +0000
    change NamedMDNode to use a pimpl for its operand list instead
    of making it a declared part of the value.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92209 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3f465e4a2ed122934f187b6e0761c9268a200cb0
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 07:57:01 2009 +0000
    eliminate the elem_* iterator stuff from NamedMDNode.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92208 91177308-0d34-0410-b5e6-96231b3b80d8
commit da60d2e518af314a29eb38402e70a77b05fc5d32
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 07:41:54 2009 +0000
    move ElementVH out of the MDNode class into the MDNode.cpp file.  Among
    other things, this avoids vtable and rtti data for it being splatted in
    every translation unit that uses it.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92207 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2df342071750e4ecc7dfec0fc108efd69967401d
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 28 07:41:18 2009 +0000
    move these out of their own timer groups into the 'uncategorized' groups.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92206 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4f6dce81500015dbe2f7763bc88a74df9dc177f7
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Mon Dec 28 04:53:24 2009 +0000
    Fixed llc crash for zext (i1 -> i8) loads.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92201 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2f6348092dd3411c4bf41fb146945b6f5f387562
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Mon Dec 28 02:40:33 2009 +0000
    Allow targets to specify the return type of libcalls that are generated for floating point comparisons, rather than hard-coding them as i32.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92199 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4ab9372471bf169547c6c11eb1432d2c3fa06615
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 02:07:00 2009 +0000
    Mark variable used by 'assert' as 'unused'.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92198 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4e0224c4aa4b517723e2e950c00850422a7f083a
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 02:05:36 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92197 91177308-0d34-0410-b5e6-96231b3b80d8
commit 39dd182871d4a9068a18d8d84e63983fc3a9d256
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 02:04:53 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92196 91177308-0d34-0410-b5e6-96231b3b80d8
commit f7e76f7cae0da2b59d8e6173723007f69a769f70
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 02:01:06 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92195 91177308-0d34-0410-b5e6-96231b3b80d8
commit 83e5f56eb04727ac461cfa6354882bd9649f6f7f
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 02:00:30 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92194 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0077d08de74578e474f611872454275c125a0656
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:57:39 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92193 91177308-0d34-0410-b5e6-96231b3b80d8
commit e9c887a2902d05fa600b59ccda2b22f2af1ed76d
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:54:15 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192 91177308-0d34-0410-b5e6-96231b3b80d8
commit a18ebc30a2abf0fe66b55af79518ed8c4b06f7c6
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:53:00 2009 +0000
    Remove dead store and simplify code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92191 91177308-0d34-0410-b5e6-96231b3b80d8
commit 70ef837cf7e36be18d866d67bf374ed62a58f6fb
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:51:30 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92190 91177308-0d34-0410-b5e6-96231b3b80d8
commit a6d452859e652c22b193c00abadb48aefc427ef4
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:48:56 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92189 91177308-0d34-0410-b5e6-96231b3b80d8
commit 96d90c5c9b8a19e5e4f902e28430353fda2a2dd0
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:47:48 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92188 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4a223745a9f77c21863ca8b2725836092b38977a
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:44:39 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92187 91177308-0d34-0410-b5e6-96231b3b80d8
commit c3e9be4e2bd703b642872ad835a93ebf79f8f465
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:42:12 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92186 91177308-0d34-0410-b5e6-96231b3b80d8
commit 94fff552bffee0a421218b26f228ebd0d1f7a7d0
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:41:12 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92185 91177308-0d34-0410-b5e6-96231b3b80d8
commit da097dc64ce517757c11b1345dab55dfa19bb14e
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:36:02 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92184 91177308-0d34-0410-b5e6-96231b3b80d8
commit b537cbf815f7aa6a62504cb9b69ec0402a1313f5
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:34:57 2009 +0000
    Mark some debug variables as 'unused' to quiet compiler and analyzer.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92183 91177308-0d34-0410-b5e6-96231b3b80d8
commit dc6c4ad2c7f1b207357abbe2f954c4df14b6f455
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:31:11 2009 +0000
    Remove dead store. The initial value was never used, but always overridden.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92182 91177308-0d34-0410-b5e6-96231b3b80d8
commit b1e55ab7b75ee6d8bc8418f06b36fa77234276a8
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:20:29 2009 +0000
    Add an "ATTRIBUTE_UNUSED" macro (and use it). It's for variables which are
    mainly used in debugging and/or assert situations. It should make the compiler
    and the static analyzer stop nagging us about them.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92181 91177308-0d34-0410-b5e6-96231b3b80d8
commit 89b41234a06c9062f112e6f9f9b2a0311c8166ff
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:02:21 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92180 91177308-0d34-0410-b5e6-96231b3b80d8
commit 26af2111a96acb02a4f7dfa6815381a1979336eb
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:01:14 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92179 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8eb19339daa81669e709d65a479c1e837874a5b1
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 28 01:00:12 2009 +0000
    Remove dead variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92178 91177308-0d34-0410-b5e6-96231b3b80d8
commit c53dde98400a169d8a2aee60fd9e9749a0f1de3f
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 26 22:58:39 2009 +0000
    lit: Add setuptools support.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92169 91177308-0d34-0410-b5e6-96231b3b80d8
commit c989d308a138180b0188cbe3d3c89497167a1a0b
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 26 22:58:23 2009 +0000
    lit: Sink code into a 'lit' package.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92168 91177308-0d34-0410-b5e6-96231b3b80d8
commit 824050a388d1beb1428686ea886b1ea77d4dee94
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Sat Dec 26 20:08:30 2009 +0000
    PR5886: Make sure IMUL32m is marked as setting EFLAGS, so scheduling doesn't
    do illegal stuff around it.  No testcase because the issue is very fragile.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92167 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7c5c0b12976c75ccdfd95a241525281e6061908c
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:50:18 2009 +0000
    Avoid assigning to Changed when it won't be used after the return.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92160 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0f0db31d8ee1ee48e20755a0fa6d4da5100aade2
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:45:50 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92159 91177308-0d34-0410-b5e6-96231b3b80d8
commit 90cd35e334e96b73cb0e68b126377e8f65d519fc
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:44:36 2009 +0000
    Remove dead store from copy-pasto.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92158 91177308-0d34-0410-b5e6-96231b3b80d8
commit d5cc74ccc7b1398736393e1634fa1e37a22ea2c3
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:39:58 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92157 91177308-0d34-0410-b5e6-96231b3b80d8
commit ea340ea46c96dec8ba5dcb655474a3e811e956ca
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:37:27 2009 +0000
    Remove dead store.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92156 91177308-0d34-0410-b5e6-96231b3b80d8
commit 220675b0f99b21cf7cb8a92f77d581708787ac3e
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 25 13:35:40 2009 +0000
    Use the 'MadeChange' variable instead of returning 'false' all of the time.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92155 91177308-0d34-0410-b5e6-96231b3b80d8
commit a1c4df64381a1795a44ac6f6342a40b024fa07e1
Author: John McCall <rjmccall@apple.com>
Date:   Thu Dec 24 23:18:09 2009 +0000
    Implement support for converting to string at "natural precision", and fix some
    major bugs in long-precision conversion.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92150 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9825c55a5a3a557c54c1af48bfb5954ddfbafc6c
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Thu Dec 24 21:15:37 2009 +0000
    Move the two definitions of operator<< into namespace llvm, so they
    will be found by argument-dependent lookup. As with the previous
    commit, GCC is allowing ill-formed code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92146 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1e69877669f44c5efd3b1f989aa32cdb362f3d27
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Thu Dec 24 21:11:45 2009 +0000
    Define the new operator<< for sets into namespace std, so that
    argument-dependent lookup can find it. This is another case where an
    LLVM bug (not making operator<< visible) was masked by a GCC bug
    (looking in the global namespace when it shouldn't).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92144 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3e573a9f0b82197ece967593d38d55799ada0572
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Thu Dec 24 17:49:28 2009 +0000
    Don't emit trailing semicolon.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92133 91177308-0d34-0410-b5e6-96231b3b80d8
commit 08cdb8a64f60f7737892f16ccab52acd1057d8e1
Author: John McCall <rjmccall@apple.com>
Date:   Thu Dec 24 12:16:56 2009 +0000
    Substantially optimize APFloat::toString() by doing a single large divide to
    cut the significand down to the desired precision *before* entering the
    core divmod loop.  Makes the overall algorithm logarithmic in the exponent.
    There's still a lot of room for improvement here, but this gets the
    performance back down to acceptable-for-diagnostics levels, even for
    long doubles.
    negligible, even on long doubles.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92130 91177308-0d34-0410-b5e6-96231b3b80d8
commit f7d9cb2b8c27f4785f1d5a50a13fbb74b9a6e028
Author: John McCall <rjmccall@apple.com>
Date:   Thu Dec 24 08:56:26 2009 +0000
    Add accessors for the largest-magnitude, smallest-magnitude, and
    smallest-normalized-magnitude values in a given FP semantics.
    Provide an APFloat-to-string conversion which I am quite ready to admit could
    be much more efficient.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92126 91177308-0d34-0410-b5e6-96231b3b80d8
commit c77cc1794d1e2f70ad0b1b8ccd5e1661cd1c55c2
Author: John McCall <rjmccall@apple.com>
Date:   Thu Dec 24 08:52:06 2009 +0000
    Set Remainder before Quotient in case Quotient and LHS alias.  The new
    order should be immune to such problems.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92124 91177308-0d34-0410-b5e6-96231b3b80d8
commit f35785f5df44d1908b82d87c9edd3d2b93f84022
Author: Dale Johannesen <dalej@apple.com>
Date:   Thu Dec 24 01:10:43 2009 +0000
    Testcase for llvm-gcc checkin 92108.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92110 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1d0ad3b99ec52705b0256dfd0421344511028b32
Author: Chris Lattner <sabre@nondot.org>
Date:   Thu Dec 24 01:07:17 2009 +0000
    handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a
    compare.  On other targets we end up with a call to memcmp because we don't
    want 16 individual byte loads.  We should be able to use movups as well, but
    we're failing to select the generated icmp.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92107 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6d922b408462129adb924b960e81ac65077fab5a
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:39:02 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92099 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8a34688bac4bb0ec549e82da03d912282d364492
Author: Chris Lattner <sabre@nondot.org>
Date:   Thu Dec 24 00:37:38 2009 +0000
    move an optimization for memcmp out of simplifylibcalls and into
    SDISel.  This optimization was causing simplifylibcalls to
    introduce type-unsafe nastiness.  This is the first step, I'll be
    expanding the memcmp optimizations shortly, covering things that
    we really really wouldn't want simplifylibcalls to do.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92098 91177308-0d34-0410-b5e6-96231b3b80d8
commit 55f2a677a444fb3db1cf6b679f261d242b8636d1
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:34:21 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92097 91177308-0d34-0410-b5e6-96231b3b80d8
commit 259191f8260ce170bac8eba3e221c35e93d2778e
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:31:35 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92096 91177308-0d34-0410-b5e6-96231b3b80d8
commit 32c864e1d29d12c6156ce242458f4668e5acb211
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:27:55 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92094 91177308-0d34-0410-b5e6-96231b3b80d8
commit c0e0771a5c8a082bffed6d4bcea8d6f41b186bfb
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:14:25 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92093 91177308-0d34-0410-b5e6-96231b3b80d8
commit 081d4ccced881523716f5017bf619546a2e7ab43
Author: David Greene <greened@obbligato.org>
Date:   Thu Dec 24 00:06:26 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92092 91177308-0d34-0410-b5e6-96231b3b80d8
commit b74668684da4ed870af49851ef26b0d526c77401
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:47:53 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92091 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3a94535216c37f5c33a40b1a88a32a735077c3ff
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:38:28 2009 +0000
    Change errs() to dbgs().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92088 91177308-0d34-0410-b5e6-96231b3b80d8
commit ff374c2b59fe114b6910a40285deed40230f1208
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:29:28 2009 +0000
    Change dbgs() back to errs() as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92086 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4151dd0bbf6a685586b8fecf4037a7a27456f944
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:27:15 2009 +0000
    Change dbgs() back to errs() as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92085 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5878b32788cee3c581890e775e1d8fcc8d55ccc5
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 23 23:24:51 2009 +0000
    reorder to follow a normal fall-through style, no functionality change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92084 91177308-0d34-0410-b5e6-96231b3b80d8
commit aa3571123711181442ca28841946762622336a2b
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:23:15 2009 +0000
    Clarify how dbgs() operates.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92083 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5e0a6b7dfd1f5ea140018bf1e30f1924d0a1c87e
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:19:43 2009 +0000
    Fix a comment.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92082 91177308-0d34-0410-b5e6-96231b3b80d8
commit 702481a81b95fed36e43478d719bf0f0deebd262
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:14:41 2009 +0000
    Change dbgs() back to errs() for assert messages as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92081 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6350f81d59920edcfd8b44ac6b66af0c7ff18113
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:09:39 2009 +0000
    Change dbgs() back to errs() for assert messages as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92080 91177308-0d34-0410-b5e6-96231b3b80d8
commit aeeb42419cc76d1fd44b1fe3fd4f4140ee2c3961
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 23 23:03:24 2009 +0000
    sizeof(char) is always 1.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92079 91177308-0d34-0410-b5e6-96231b3b80d8
commit d5fad3b9406fcfda51c31bd559edd61d7ef44d27
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 23:00:50 2009 +0000
    Change dbgs() back to errs() for assert messages as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92077 91177308-0d34-0410-b5e6-96231b3b80d8
commit dfea7e628a030fc5f15cbdd757ff661b7d834fd8
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:59:29 2009 +0000
    Change dbgs() back to errs() for assert messages as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92076 91177308-0d34-0410-b5e6-96231b3b80d8
commit ce4d5136399a6a07388495c762e294986895d926
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:58:38 2009 +0000
    Remove dump routine and the associated Debug.h from a header.  Patch up
    other files to compensate.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92075 91177308-0d34-0410-b5e6-96231b3b80d8
commit 053e91a4308e9fa66c1af1a7019ce45c71606f28
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:49:57 2009 +0000
    Change dbgs() back to errs() as Chris requested.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92073 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0a32a9d73bc8035a13c6241433d6e70a2d4290fb
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:35:10 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92071 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9561c821ce2afaad4926e2830ed9f30cb27f29d7
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:28:01 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92068 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6778bc905cce16db6b5b1be049a42ad1e0c9fddb
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:18:14 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92067 91177308-0d34-0410-b5e6-96231b3b80d8
commit dc874baf87b0799d6f6c576b718b33691d7259dd
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 22:10:20 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92066 91177308-0d34-0410-b5e6-96231b3b80d8
commit 96a47017353e6883b2484cc5811c72118fbbd404
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 21:58:29 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92063 91177308-0d34-0410-b5e6-96231b3b80d8
commit ce32cf00cc1f35e1d4cc5e00d611bcde720ce9da
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 21:48:18 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92060 91177308-0d34-0410-b5e6-96231b3b80d8
commit 01295bc07f8f0a55e3498827a5bfc3ee0a386f50
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 23 21:34:03 2009 +0000
    Move kill flags when the same register occurs more than once in a sequence.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92058 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2a98a2f5a8b106b2abfcb2b1e8b6c2cb49311951
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 23 21:28:42 2009 +0000
    Handle undef operands properly.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92054 91177308-0d34-0410-b5e6-96231b3b80d8
commit ecae21aaf03469b5b0dd06b256425ae03a560b47
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 23 21:28:37 2009 +0000
    Make insert position available to MergeOpsUpdate.
    Rearrange arguments.
    No functional changes
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92053 91177308-0d34-0410-b5e6-96231b3b80d8
commit 07be4590c1626617747d7b7922e17273a73e4c17
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 23 21:28:31 2009 +0000
    Perform kill flag calculations in new method. No functional changes.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92052 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7c119d7d49e4c86b04e942d8ae5ac8721e2ca9a4
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 23 21:28:23 2009 +0000
    Move repeated code to a new method. No functional change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92051 91177308-0d34-0410-b5e6-96231b3b80d8
commit 07cc79a1623ca8414da9255543762abe8a8037d9
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 21:27:29 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92050 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6ff267f2711ec600d9458749bef022b8a6476ab4
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 21:16:54 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92048 91177308-0d34-0410-b5e6-96231b3b80d8
commit a80ab14e95be6b6ea2c7fa2b57398b830fe6beb5
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 21:06:14 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92046 91177308-0d34-0410-b5e6-96231b3b80d8
commit 00532a28dca9a915557626b73b4d089108ce85cb
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:52:41 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92042 91177308-0d34-0410-b5e6-96231b3b80d8
commit d120239be2123affddcadf85d9ce6cdf75e4f064
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:43:58 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92040 91177308-0d34-0410-b5e6-96231b3b80d8
commit ad44e7d5a9e226bf9b3aa54763e83fc51273a969
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:34:27 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92039 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4a60d180d7fe86436196abb37f8b767da07cd30d
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:20:46 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92037 91177308-0d34-0410-b5e6-96231b3b80d8
commit db4dd0d7e4a22a5c0ae0ca9970b649fc5ad0082a
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 23 20:13:44 2009 +0000
    Remove an XFAIL.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92036 91177308-0d34-0410-b5e6-96231b3b80d8
commit f17f28ba4b1067d125d577d52864810ef7733e61
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:10:59 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92035 91177308-0d34-0410-b5e6-96231b3b80d8
commit aa7455dbb5c01cac91b9a254981cb381324a1b9f
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 20:03:58 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92034 91177308-0d34-0410-b5e6-96231b3b80d8
commit 13e07bacee394735a7a604ffd4fdaf15b8384c95
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 19:51:44 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92033 91177308-0d34-0410-b5e6-96231b3b80d8
commit d02176108f777e643dd1b34e70675c3c3892fe21
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 19:45:49 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92032 91177308-0d34-0410-b5e6-96231b3b80d8
commit bb782751a0a6c7f4997f8afc75124241b0a07f94
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 19:27:59 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92029 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8323720790f8a7b2ccb57d0ed927c406c7ada2ff
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 19:21:19 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92026 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9177c9c21f5bade02492fdb1b1cae0d772108f21
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 19:15:13 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92024 91177308-0d34-0410-b5e6-96231b3b80d8
commit 514e97429ecef0dd9f8a483e2dbe3dc8de47b73d
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 19:12:50 2009 +0000
    Alternative fix to make sure that the extern declarations used by
    DynamicLibrary::SearchForAddressOfSymbol refer to declarations in the
    global namespace.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92023 91177308-0d34-0410-b5e6-96231b3b80d8
commit afaefaaf3d83a920746492a48e70c7343f2df5e1
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 19:04:10 2009 +0000
    Revert 92020 until I figure out a more portable fix
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92021 91177308-0d34-0410-b5e6-96231b3b80d8
commit 852b0c0e84467eab2076b2014b54843b15b06b1e
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 18:56:27 2009 +0000
    Move the extern symbol declarations outside of
    DynamicLibrary::SearchForAddressOfSymbol and force them to have "C"
    linkage.
    Interestingly, GCC treats the block-scoped "extern" declarations we
    previously had as if they were extern "C" declarations (or, at least,
    were in the global namespace), so that GCC bug papered over this LLVM
    bug. Clang and EDG get the linkage correct; this new variant seems to
    work for both GCC and Clang.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92020 91177308-0d34-0410-b5e6-96231b3b80d8
commit a21b0c41a131b8eaf95cc441e519923a380ea19c
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 18:27:13 2009 +0000
    Fix another -Wmismatched-tags warning
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92017 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7cc2dbba20994329d71739adc9e54d63e95f37a5
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 18:25:37 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92016 91177308-0d34-0410-b5e6-96231b3b80d8
commit a28b20c236ba2ec1c466f612a84c8b965f60ea81
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 17:55:11 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92013 91177308-0d34-0410-b5e6-96231b3b80d8
commit dc8b5720c49dd593865b6ed1e18928e5e038000e
Author: Nuno Lopes <nunoplopes@sapo.pt>
Date:   Wed Dec 23 17:48:10 2009 +0000
    move a few more symbols to .rodata
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92011 91177308-0d34-0410-b5e6-96231b3b80d8
commit d25af07faae782ffd616b13b2d8dadd1e229a0f9
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 17:24:22 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92006 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2531b82af471667ff2ffcab9eb801b77f04ec0f6
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 17:18:22 2009 +0000
    Convert debug messages to use dbgs().  Generally this means
    s/errs/dbgs/g except for certain special cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92005 91177308-0d34-0410-b5e6-96231b3b80d8
commit aa80e75a467dd54a9e2007f29ff99aa8fd42626d
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 17:05:07 2009 +0000
    Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92004 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5efd48c6c7c43ed1d8eadb79c17260b15f472f38
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Wed Dec 23 17:03:46 2009 +0000
    De-bork CMake build
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92003 91177308-0d34-0410-b5e6-96231b3b80d8
commit bb6f927871a16e14c3b78ec1382d75fe82197bd4
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 16:39:06 2009 +0000
    Provide dbgs(), a circular-buffering debug output stream.  By default it
    simply passes output to errs().  If -debug-buffer-size=N is set N > 0,
    dbgs() buffers its output until program termination and dumps the last N
    characters sent to it.  This is handy when debugging very large inputs.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92002 91177308-0d34-0410-b5e6-96231b3b80d8
commit 825e4b5c9261d0c2ee58c5a771c1331fbfdc8885
Author: David Greene <greened@obbligato.org>
Date:   Wed Dec 23 16:08:15 2009 +0000
    Add circular_raw_ostream, which buffers its output in a circular queue
    and outputs it when explicitly flushed.  The intent is to use it in
    situations such as debug output logging where a signal handler can take
    care of flushing the buffer at program termination.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92001 91177308-0d34-0410-b5e6-96231b3b80d8
commit 236c4bde3fd5143cf9ea997a9863e4a3caaf9210
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Wed Dec 23 12:50:03 2009 +0000
    Make it easier to regenerate docs when srcdir != objdir.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92000 91177308-0d34-0410-b5e6-96231b3b80d8
commit 388266107e740ca794485b3a585def2883956f6f
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Wed Dec 23 12:49:51 2009 +0000
    Regenerate.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91999 91177308-0d34-0410-b5e6-96231b3b80d8
commit 509f9240d37ecbdcabf1d3157a6140322030706b
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Wed Dec 23 12:49:41 2009 +0000
    Cosmetic issue: more consistent naming.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91998 91177308-0d34-0410-b5e6-96231b3b80d8
commit 27d15f58084d6b25bdec9c65eacc2821cb1b9d73
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Wed Dec 23 12:49:30 2009 +0000
    Allow (set_option SwitchOption, true).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91997 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5bb804eb2f89c971a5860a6e0bb0f6f5d58a8ef7
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Wed Dec 23 11:19:09 2009 +0000
    Reapply 91904.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91996 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1f01e330bad7cb24d966bf9e51cfa8c4afbdb4d1
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Wed Dec 23 10:56:02 2009 +0000
    Added missing patterns for subtract instruction.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91995 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5316fa5d7262c48b511104e64664f7b8938a5d6b
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Wed Dec 23 10:35:24 2009 +0000
    deleting empty file.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91994 91177308-0d34-0410-b5e6-96231b3b80d8
commit 391ab2127fb765c0c3fedd0e8db7ac440524353e
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Wed Dec 23 09:46:01 2009 +0000
    Reverting back 91904.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91993 91177308-0d34-0410-b5e6-96231b3b80d8
commit f81e44d0fe15207bd331798aee58a3c95c39a4b8
Author: Dale Johannesen <dalej@apple.com>
Date:   Wed Dec 23 07:32:51 2009 +0000
    Use more sensible type for flags in asms.  PR 5570.
    Patch by Sylve`re Teissier (sorry, ASCII only).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91988 91177308-0d34-0410-b5e6-96231b3b80d8
commit fb2367dd4da70f93d7b83b41c6c00d857358b139
Author: Eric Christopher <echristo@apple.com>
Date:   Wed Dec 23 02:51:48 2009 +0000
    Update objectsize intrinsic and associated dependencies. Fix
    lowering code and update testcases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91979 91177308-0d34-0410-b5e6-96231b3b80d8
commit 25a9b18b58d5c85ad531ca50ac8e81acdf3ffd76
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 23 01:46:40 2009 +0000
    really remove the instruction, don't just comment it out
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91976 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0e34f628addb0a70b0f28ada176693cd30f9349a
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 23 01:45:04 2009 +0000
    completely eliminate the MOV16r0 'instruction'.  The only
    interesting part of this is the divrem changes, which are
    already tested by CodeGen/X86/divrem.ll.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91975 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8a8951e0e3247ddcfa1b0b4486cb77ceb1985a9a
Author: Sean Callanan <scallanan@apple.com>
Date:   Wed Dec 23 01:32:29 2009 +0000
    More fixes for Visual C++.  Replaced several very small
    static inline functions with macros.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91973 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1ef8bc9fb5cb8ea6d404809565bdc7088b85f948
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 23 01:30:26 2009 +0000
    stop pattern matching 16-bit zero's of a register to MOV16r0,
    instead use the appropriate subreggy thing.  This generates identical
    code on some large apps (thanks to Evan's cross class coalescing
    stuff he did back in july).  This means that MOV16r0 can go away
    completely in the future soon.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91972 91177308-0d34-0410-b5e6-96231b3b80d8
commit f70c94554077d2291b6867a2f24e1cd40f2337d1
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 23 01:28:19 2009 +0000
    Remove superfluous SDNode ordering.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91971 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2be082890768917e7360194b667a7fdb81b140b3
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Wed Dec 23 00:58:02 2009 +0000
    Disable JITTest.FunctionIsRecompiledAndRelinked on ARM where it's not
    implemented.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91963 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1e5b9ec2b938c3eb3ef527f254d7200a720e351c
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 23 00:47:20 2009 +0000
    Remove node ordering from inline asm nodes. It's not needed.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91961 91177308-0d34-0410-b5e6-96231b3b80d8
commit ac0bfeb8b0af333e4167dbe6e15ff335ce7b67e1
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 23 00:45:10 2009 +0000
    Suppress compiler warning.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91959 91177308-0d34-0410-b5e6-96231b3b80d8
commit 92b889c9eb3ea14a43dcc2ec7ee64d319a3156d3
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 23 00:44:51 2009 +0000
    Remove node ordering from VA nodes. It's not needed.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91958 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9b4cefa1b947151b3f2178cf3aabec2642e7582b
Author: Eric Christopher <echristo@apple.com>
Date:   Wed Dec 23 00:29:49 2009 +0000
    Update docs for bitcode changes. For object size checking we won't
    work with partial objects so just count the type as a boolean. Update
    appropriately.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91954 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5b000faeb29370a0c4cb395368f4d026b74c1db7
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 23 00:28:23 2009 +0000
    Revert r91949 r91942 and r91936.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91953 91177308-0d34-0410-b5e6-96231b3b80d8
commit 25ae075ab2194cfc445b001c65fa3bf73d65fa93
Author: Gabor Greif <ggreif@gmail.com>
Date:   Wed Dec 23 00:18:40 2009 +0000
    restore 'make update' functionality by not ignoring 'clang' here
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91950 91177308-0d34-0410-b5e6-96231b3b80d8
commit b24f6e8dd614f6e99af0caeedcbb79160d09e09c
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 23 00:05:09 2009 +0000
    Finish up node ordering in ExpandNode.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91949 91177308-0d34-0410-b5e6-96231b3b80d8
commit f55eba02e15f4dce951d3aef8e1e83c2c9fed762
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Tue Dec 22 23:54:54 2009 +0000
    Add coalescer asserts.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91945 91177308-0d34-0410-b5e6-96231b3b80d8
commit c6986e5d47b2c955e77994fb40bcd2f6c2f2038e
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Tue Dec 22 23:54:44 2009 +0000
    Add a SPR register class to the ARM target.
    Certain Thumb instructions require only SP (e.g. tSTRspi).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91944 91177308-0d34-0410-b5e6-96231b3b80d8
commit daad0b43625ca69376938361b466ef42fbdd9776
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Tue Dec 22 23:47:23 2009 +0000
    Partially revert r91626.  Materializing extra functions to determine whether
    they're available_externally broke VMKit, which was relying on the fact that
    functions would only be materialized when they were first called.  We'll have
    to wait for http://llvm.org/PR5737 to really fix this.
    I also added a test for one of the F->isDeclaration() calls which wasn't
    covered by anything else in the test suite.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91943 91177308-0d34-0410-b5e6-96231b3b80d8
commit c969f4b0e7b5df3a854b3d41285a26dc34c4b855
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 23:44:56 2009 +0000
    Assign ordering to nodes created in ExpandNode. Only roughly 1/2 of the function
    is finished.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91942 91177308-0d34-0410-b5e6-96231b3b80d8
commit 14a5e3e29709da3c3297a739a06127f367628bef
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Tue Dec 22 23:18:18 2009 +0000
    Fix a crash in JIT::recompileAndRelinkFunction(). It doesn't pass the MCI
    argument to runJITOnFunction(), which caused a null pointer dereference at
    every call.
    Patch by Gianluca Guida!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91939 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0ee0a9f4d4ac6941cb03bb0e9bd88520221a0b45
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 22:53:39 2009 +0000
    Assign ordering to SDNodes in PromoteNode. Also fixing a subtle bug where BSWAP
    was using "Tmp1" in the first getNode call instead of Node->getOperand(0).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91936 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7043d80affa413b00d8ec2e205e26772e29c2429
Author: Sean Callanan <scallanan@apple.com>
Date:   Tue Dec 22 22:51:40 2009 +0000
    Removed the "inline" keyword from the disassembler decoder,
    because the Visual C++ build does not build .c files as C99
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91935 91177308-0d34-0410-b5e6-96231b3b80d8
commit 34879e45cd8129131ce21558aa92cc2f8876574d
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 22:50:29 2009 +0000
    rename HexDisassembler -> Disassembler, it works on any input
    integer encoding (0123, 0b10101, 42, etc).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91934 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6913818399687ea52e6cce639dcf4e17fbd232c6
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 22:47:43 2009 +0000
    just discard the debug output from the disassembler.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91933 91177308-0d34-0410-b5e6-96231b3b80d8
commit 70abd22a14353cb48d63cc24c311343ce2bb5a7a
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Tue Dec 22 22:37:23 2009 +0000
    Add testcase for PR5703
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91931 91177308-0d34-0410-b5e6-96231b3b80d8
commit cc48d238c088e790bf368544b45ba3f43b632877
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Tue Dec 22 21:52:27 2009 +0000
    Remove minimal CFG sanity checks from verifier.
    These checks would often trigger on unreachable statements inserted by
    bugpoint, leading it astray.
    It would be nice if we could distinguish unreachable blocks from errors.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91923 91177308-0d34-0410-b5e6-96231b3b80d8
commit f040bcb2c5d8edb446938db365ad2cc031822a9b
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Tue Dec 22 21:48:20 2009 +0000
    Allow explicit %reg0 operands beyond what the .td file describes.
    ARM uses these to indicate predicates.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91922 91177308-0d34-0410-b5e6-96231b3b80d8
commit 798c23dcf69e484ae19906869e940bc6b7872117
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 21:35:02 2009 +0000
    Allow 0 as an order number. Don't assign an order to formal arguments.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91920 91177308-0d34-0410-b5e6-96231b3b80d8
commit b53da77b6aaf950b6a59166ddaa5541326c4e43b
Author: Sean Callanan <scallanan@apple.com>
Date:   Tue Dec 22 21:12:55 2009 +0000
    Fixes to the X86 disassembler:
    Made LEA memory operands emit only 4 MCInst operands.
    Made the scale operand equal 1 for instructions that have no
    SIB byte.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91919 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1e2dadd738efd7725ad8de7e064c2d67384f7ed4
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Tue Dec 22 20:11:00 2009 +0000
    Restore snprintf weirdness for VCPP only
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91918 91177308-0d34-0410-b5e6-96231b3b80d8
commit 42806e669ce6482a6268d64ab4d0b53c07ccea70
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 19:33:28 2009 +0000
    Fix the Convert to scalar to not insert dead loads in the store case.  The
    load is needed when we have a small store into a large alloca (at which
    point we get a load/insert/store sequence), but when you do a full-sized
    store, this load ends up being dead.
    This dead load is bad in really large nasty testcases where the load ends
    up causing mem2reg to insert large chains of dependent phi nodes which only
    ADCE can delete.  Instead of doing this, just don't insert the dead load.
    This fixes rdar://6864035
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91917 91177308-0d34-0410-b5e6-96231b3b80d8
commit b0798ce7b64a048bb502c7cf954cd89484940e46
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 19:23:33 2009 +0000
    fix some fixme's by using twines
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91916 91177308-0d34-0410-b5e6-96231b3b80d8
commit fd628a53c45c84a9b6058a26fb58ac8063d7f937
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Tue Dec 22 18:49:55 2009 +0000
    Use proper move instructions. Make the verifier happy.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91914 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8e4381a943076f3c22a07729e3e2fc528d13a369
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Tue Dec 22 18:34:19 2009 +0000
    Report an error for bad inline assembly, where the value passed for an
    "indirect" operand is not a pointer.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91913 91177308-0d34-0410-b5e6-96231b3b80d8
commit f8420485b61d066ed0a876a35cf3098769e1905c
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Tue Dec 22 17:47:23 2009 +0000
    Remove target attribute break-sse-dep. Instead, do not fold load into sse partial update instructions unless optimizing for size.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91910 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1c794cc4f30e9b35a9d2aec6f5b6e05dce42a2b7
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Tue Dec 22 17:25:11 2009 +0000
    Include based on the current path, since we already -I the X86 target's path. Fixes CMake build
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91908 91177308-0d34-0410-b5e6-96231b3b80d8
commit c3828a78a14f37cdf98db1a905ea51fdbd03a5b4
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Tue Dec 22 14:25:37 2009 +0000
    While converting one of the operands to a memory operand, we need to check if it is Legal and does not result into a cyclic dep.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91904 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7dafc1537eed6c94009aca694090c5a7d280d1ea
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 07:03:21 2009 +0000
    specify what is invalid about it
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91901 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1b67a19c78e9d7936eedd0d607dd56a849a5ae88
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 07:01:12 2009 +0000
    specify a triple to use, fixing the test on non-x86-64 hosts.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91900 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0e0dc43e679050600081a316ea18a09d292d47e8
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:58:29 2009 +0000
    reject invalid input with a caret, e.g.:
    simple-tests.txt:16:1: error: invalid instruction
    0xff 0xff
    ^
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91898 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf24dfc6ea2873cce92ad5c10e8ec8c26e4b40f1
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Tue Dec 22 06:57:14 2009 +0000
    Generalize SROA to allow the first index of a GEP to be non-zero.  Add a
    missing check that an array reference doesn't go past the end of the array,
    and remove some redundant checks for in-bound array and vector references
    that are no longer needed.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91897 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7a30eb39c8801739c9a3cc139ea00a16d38140f9
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:56:51 2009 +0000
    various cleanups, make the disassemble reject lines with too much
    data on them, for example:
    	addb	%al, (%rax)
    simple-tests.txt:11:5: error: excess data detected in input
    0 0 0 0 0
        ^
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91896 91177308-0d34-0410-b5e6-96231b3b80d8
commit e409a0ed6b8c66f9f4f0f3cef584af8d6dd013a0
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:45:48 2009 +0000
    If you thought that it didn't make sense for the disassembler
    to not produce caret diagnostics, you were right!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91895 91177308-0d34-0410-b5e6-96231b3b80d8
commit d57f7cd43e80255b87f213e58611407add7b335d
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:37:58 2009 +0000
    rewrite the file parser for the disassembler, implementing support for
    comments.  Also, check in a simple testcase for the disassembler,
    including a test for r91864
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91894 91177308-0d34-0410-b5e6-96231b3b80d8
commit 713e9712579faccc6f8760586bf6cbb777c5e2ed
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:24:00 2009 +0000
    don't crash on blank lines, rename some variables.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91892 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9d4f9105490cb5cad700f117ffa1b84c9a3e6b0a
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:07:30 2009 +0000
    Implement PR5795 by merging duplicated return blocks.  This could go further
    by merging all returns in a function into a single one, but simplifycfg
    currently likes to duplicate the return (an unfortunate choice!)
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91890 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7d85a53fad48d627c6e4a17771ebcd46cfc4db6e
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 06:04:26 2009 +0000
    convert to filecheck
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91889 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6c85d89d85046de478b62c7448927db2e4b87121
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 04:47:41 2009 +0000
    don't run GVN at -O1, GCC doesn't do it's equivalent at that optimization level.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91886 91177308-0d34-0410-b5e6-96231b3b80d8
commit 873e26746bd3c642fbc9947a6dcf500c0995f3cb
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 04:25:02 2009 +0000
    The phi translated pointer can be computed when returning a partially cached result
    instead of stored.  This reduces memdep memory usage, and also eliminates a bunch of
    weakvh's.  This speeds up gvn on gcc.c-torture/20001226-1.c from 23.9s to 8.45s (2.8x)
    on a different machine than earlier.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91885 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf9d0f9154274adb84a66c0581dd9529f0b83ea1
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 02:10:19 2009 +0000
    Add more plumbing. This time in the LowerArguments and "get" functions which
    return partial registers. This affected the back-end lowering code some.
    Also patch up some places I missed before in the "get" functions.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91880 91177308-0d34-0410-b5e6-96231b3b80d8
commit 919f267795692f9df06fef0ee620411534c819aa
Author: Sean Callanan <scallanan@apple.com>
Date:   Tue Dec 22 02:07:42 2009 +0000
    Changed REG_* to MODRM_REG_* to avoid conflicts
    with symbols in AuroraUX's global namespace.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91879 91177308-0d34-0410-b5e6-96231b3b80d8
commit 42c4404dd4b7162b06f56fd82dc779b0b3d13837
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Tue Dec 22 01:41:37 2009 +0000
    Fix some may-be-uninitialized var warnings.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91878 91177308-0d34-0410-b5e6-96231b3b80d8
commit 16ded292991e3e288f1d9deb3e33a5268f1cd6fb
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 01:38:23 2009 +0000
    fix unit test that I broke.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91877 91177308-0d34-0410-b5e6-96231b3b80d8
commit b22e7af680a571467d80a6b5fd5661525010ded5
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 01:25:10 2009 +0000
    Add SDNode ordering to inlined asm and VA functions.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91876 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7581e0c8ad813a3f6c6c0d357b7ced37ed3dfb67
Author: Eric Christopher <echristo@apple.com>
Date:   Tue Dec 22 01:23:51 2009 +0000
    Whitespace fixes.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91875 91177308-0d34-0410-b5e6-96231b3b80d8
commit f1bed4b1cef55bb83753e34e0929c4b10bcc0074
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 01:17:43 2009 +0000
    types don't need atomic inc/dec, they are local to an llvmcontext.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91873 91177308-0d34-0410-b5e6-96231b3b80d8
commit 05a245f41d40f8be120b7d131a7ce16c17dc47d3
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 01:11:43 2009 +0000
    Adding more assignment of ordering to SDNodes. This time in the "call" and
    generic copy functions.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91872 91177308-0d34-0410-b5e6-96231b3b80d8
commit a116e5e520689a75baf513fa8d2cba65e0be743a
Author: Sean Callanan <scallanan@apple.com>
Date:   Tue Dec 22 01:11:26 2009 +0000
    Fixed library dependencies between the X86 disassembler and
    X86 codegen that were causing circular symbol dependencies.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91871 91177308-0d34-0410-b5e6-96231b3b80d8
commit fc86f8cc6c57cb3329675f4fc8ec868fed7a1fe1
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 01:00:32 2009 +0000
    avoid calling extractMallocCall when it's obvious we don't have
    a call.  This speeds up memdep ~1.5%
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91869 91177308-0d34-0410-b5e6-96231b3b80d8
commit d42a013740b839251387f41e40bad6a80552dae8
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 00:51:57 2009 +0000
    comment fix: weakvh -> tracking vh
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91867 91177308-0d34-0410-b5e6-96231b3b80d8
commit 16c7988cb5516a7686c51c2387eb3eef3858893c
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 00:50:32 2009 +0000
    Add ordering of SDNodes to LowerCallTo.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91866 91177308-0d34-0410-b5e6-96231b3b80d8
commit 437f3c269851340bf66d9f5b64f04df846781e13
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 22 00:44:05 2009 +0000
    print pcrel immediates as signed values instead of unsigned so that we
    get things like this out of the disassembler:
    0x100000ecb: callq	-96
    instead of:
    0x100000ecb: callq	4294967200
    rdar://7491123
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91864 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3b72641d65a254c01921e4f767003279383daba4
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 00:40:51 2009 +0000
    Now add ordering to SDNodes created by the massive intrinsic lowering function.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91863 91177308-0d34-0410-b5e6-96231b3b80d8
commit f406ec5e612f8958fb8ea7c6b5b129753b0b8064
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 22 00:12:37 2009 +0000
    To make things interesting, I added MORE code to set the ordering of
    SDNodes. This time in the load/store and limited-precision code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91860 91177308-0d34-0410-b5e6-96231b3b80d8
commit 87476f66ef1998ff5d93a2cb413ba10a1413d21b
Author: Lang Hames <lhames@gmail.com>
Date:   Tue Dec 22 00:11:50 2009 +0000
    Changed slot index ranges for MachineBasicBlocks to be exclusive of endpoint.
    This fixes an in-place update bug where code inserted at the end of basic blocks may not be covered by existing intervals which were live across the entire block. It is also consistent with the way ranges are specified for live intervals.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91859 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1c01aa9daf0ba64f48ab7c3ffe81a7c51b2006fa
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 23:47:40 2009 +0000
    Add more plumbing to assign ordering to SDNodes. Have the "getValue" method
    assign the ordering when called. Combine some of the ordering assignments to
    keep things simple.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91857 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4137a8aa60914101aa1ad7f1a7dfe12c0b35607c
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Mon Dec 21 23:27:57 2009 +0000
    Add suggested parentheses.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91853 91177308-0d34-0410-b5e6-96231b3b80d8
commit 79479fcf0a878ea487fd745920c106d5c860a723
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 23:15:48 2009 +0000
    Add a fastpath to Load GVN to special case when we have exactly one dominating
    load to avoid even messing around with SSAUpdate at all.  In this case (which
    is very common, we can just use the input value directly).
    This speeds up GVN time on gcc.c-torture/20001226-1.c from 36.4s to 16.3s,
    which still isn't great, but substantially better and this is a simple speedup
    that applies to lots of different cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91851 91177308-0d34-0410-b5e6-96231b3b80d8
commit b8d65d5bf97d41881148b3ce93f634a9ac3903ab
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 23:10:19 2009 +0000
    More ordering plumbing. This time for GEP. I need to remember to assign
    orderings to values returned by getValue().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91850 91177308-0d34-0410-b5e6-96231b3b80d8
commit fe213dba0d5785b3dfa97a22f0d20aaf9982e3f3
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 23:04:33 2009 +0000
    refactor some code out to a new helper method.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91849 91177308-0d34-0410-b5e6-96231b3b80d8
commit b702ceab37bdb90e32041f6ae1b5085a82abd4c8
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 22:43:03 2009 +0000
    improve indentation avoid a pointless conversion from weakvh to trackingvh,
    no functionality change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91848 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2a33d37c9f1e5ef0c7f5bcdb1c488540d42f3f67
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 22:42:14 2009 +0000
    Another incremental check-in for assigning ordering to SDNodes. This time for
    shuffle and insert vector.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91847 91177308-0d34-0410-b5e6-96231b3b80d8
commit ef4620fe2846df5790119fd45e62e28f6f490b3e
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 22:30:11 2009 +0000
    Assign ordering to more instructions. Incremental check-in.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91846 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4852546f88da1386e3f36ad7c0e270f0798a3dea
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 21:59:52 2009 +0000
    - Add a bit more plumbing assigning an order to SDNodes.
    - Modify the "dump" method to emit the order of an SDNode.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91845 91177308-0d34-0410-b5e6-96231b3b80d8
commit 29296e63554a23d2e8a7ccc7c1b776dd52346e1c
Author: David Greene <greened@obbligato.org>
Date:   Mon Dec 21 21:21:34 2009 +0000
    Fix a bug in !subst where TableGen would go and resubstitute text it had
    just substituted.  This could cause infinite looping in certain
    pathological cases.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91843 91177308-0d34-0410-b5e6-96231b3b80d8
commit df70e60850a5c0b905cd23e84e44e677dc6c03e7
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Mon Dec 21 20:19:37 2009 +0000
    Remove uber-gross hack. The define _snprintf to snprintf is invalid due to two reasons: 1. Accroding to C++ standard snprintf should be available in std namespace (and __gnu_cxx in case of GCC to). Such ifdef will change all snprintf's to _snprintf's, but won't bring snprintf to all necessary namespaces. Thus e.g. any locale-using code on mingw will yield an error (include this file + string to see the result) 2. MSVCRT's _snprintf does not comply with C99 standard. Standard one is snprintf.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91842 91177308-0d34-0410-b5e6-96231b3b80d8
commit 38150fc924f6aa5ba056d738d8ecd75cbc4f8778
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Mon Dec 21 20:18:49 2009 +0000
    Mark FPW as allocable when frame address is taken.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91841 91177308-0d34-0410-b5e6-96231b3b80d8
commit 708808ae99856d00af548177ea42e18d4ad32dc8
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 19:59:38 2009 +0000
    First wave of plumbing for assigning an ordering to SDNodes. This takes care of
    a lot of the branching instructions.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91838 91177308-0d34-0410-b5e6-96231b3b80d8
commit e35f67f9527538257e684574bdf21392be2c92bf
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Mon Dec 21 19:53:39 2009 +0000
    Delete the instruction just before the function terminates for consistency sake.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91836 91177308-0d34-0410-b5e6-96231b3b80d8
commit d58e7f8655f246d9bbda9ba4933e1906a5690dc8
Author: Bill Wendling <isanbard@gmail.com>
Date:   Mon Dec 21 19:34:59 2009 +0000
    Place SDNodeOrdering.h in the directory it's used.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91834 91177308-0d34-0410-b5e6-96231b3b80d8
commit 962018b8231c524caba670c9dd19427eafd6f1fd
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Mon Dec 21 18:39:47 2009 +0000
    Remove special-case SROA optimization of variable indexes to one-element and
    two-element arrays.  After restructuring the SROA code, it was not safe to
    do this without adding more checking.  It is not clear that this special-case
    has really been useful, and removing this simplifies the code quite a bit.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91828 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7f5262f3ef1729d48a3e03f90192c053d27fa1e9
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Mon Dec 21 17:31:59 2009 +0000
    XFAIL these tests on powerpc, under the assumption that no one cares. If you care, feel free to fix.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91826 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5c6ab9595c06e46bd1670ce7a0a52852d9ff669f
Author: Eric Christopher <echristo@apple.com>
Date:   Mon Dec 21 08:15:29 2009 +0000
    Fix setting and default setting of code model for jit. Do this
    by allowing backends to override routines that will default
    the JIT and Static code generation to an appropriate code model
    for the architecture.
    Should fix PR 5773.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91824 91177308-0d34-0410-b5e6-96231b3b80d8
commit 76f683191bd6137f9177dca4686ead7d6944981b
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Mon Dec 21 08:03:16 2009 +0000
    A couple minor README updates.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91823 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7abdd670070ff4c05b8e79c8d393b252e9cbf4d6
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 07:52:40 2009 +0000
    improve compatibility with SWIG, patch by James Knight!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91822 91177308-0d34-0410-b5e6-96231b3b80d8
commit 860471ea8a2cf7e68285dd1351c51152518bd8e1
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 07:45:57 2009 +0000
    revert r89298, which was committed without a testcase.  I think
    the underlying PHI node insertion issue in SSAUpdate is fixed.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91821 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2bf5b030a6357c2fb9ee937c0a7b907f9d995052
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 07:16:11 2009 +0000
    fix PR5837 by having SSAUpdate reuse phi nodes for the
    'GetValueInMiddleOfBlock' case, instead of inserting
    duplicates.
    A similar fix is almost certainly needed by the machine-level
    SSAUpdate implementation.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91820 91177308-0d34-0410-b5e6-96231b3b80d8
commit c8785545bcf2d1e861969bdf0cdc3c506abf7163
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 07:15:15 2009 +0000
    add a helper ctor.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91819 91177308-0d34-0410-b5e6-96231b3b80d8
commit ccdbd097759b1f3feaa10a39b7cc23341da58dbd
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Mon Dec 21 06:49:24 2009 +0000
    Change StringRef::startswith and StringRef::endswith to versions which are a
    bit more verbose, but optimize to much shorter code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91817 91177308-0d34-0410-b5e6-96231b3b80d8
commit f171d4bff6fe4500beb60a3525e2c1e3b76d46b7
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 06:08:50 2009 +0000
    add check lines for min/max tests.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91816 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6c88fd376d17c371454f88795bc0a6bb4b2e30e3
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 06:06:10 2009 +0000
    really convert this to filecheck.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91815 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1ae148ac3895cc2204d32b84361bbebbb42384fb
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 06:03:05 2009 +0000
    give instcombine some helper functions for matching MIN and MAX, and
    implement some optimizations for MIN(MIN()) and MAX(MAX()) and
    MIN(MAX()) etc.  This substantially improves the code in PR5822 but
    doesn't kick in much elsewhere.  2 max's were optimized in
    pairlocalalign and one in smg2000.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91814 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3ee8750e43a6c4fd3baf29b50ff2f5144161f7eb
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 05:53:13 2009 +0000
    filecheckize
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91813 91177308-0d34-0410-b5e6-96231b3b80d8
commit eecd79c9182748a08fa05cb57b410f45a894432a
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 04:04:05 2009 +0000
    enhance x-(-A) -> x+A to preserve NUW/NSW.
    Use the presence of NSW/NUW to fold "icmp (x+cst), x" to a constant in
    cases where it would otherwise be undefined behavior.
    Surprisingly (to me at least), this triggers hundreds of the times in
    a few benchmarks: lencode, ldecode, and 466.h264ref seem to *really*
    like this.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91812 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2dce671f9422bce436c74ad48a2b964d08bf2af9
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 03:19:28 2009 +0000
    Optimize all cases of "icmp (X+Cst), X" to something simpler.  This triggers
    a bunch in lencode, ldecod, spass, 176.gcc, 252.eon, among others.  It is
    also the first part of PR5822
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91811 91177308-0d34-0410-b5e6-96231b3b80d8
commit fd6df61746f769d9195f057199a9d16a215c2396
Author: Chris Lattner <sabre@nondot.org>
Date:   Mon Dec 21 03:11:05 2009 +0000
    convert to filecheck
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91810 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2e4b507f989730839d48a1ea77845b3a4d8b3aa9
Author: Lang Hames <lhames@gmail.com>
Date:   Sat Dec 19 23:32:32 2009 +0000
    Fixed use of phi param in SlotIndex constructors.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91790 91177308-0d34-0410-b5e6-96231b3b80d8
commit d452037790a4653227a51c854409e3a151d9ca3d
Author: Chris Lattner <sabre@nondot.org>
Date:   Sat Dec 19 21:29:22 2009 +0000
    fix an overly conservative caching issue that caused memdep to
    cache a pointer as being unavailable due to phi trans in the
    wrong place.  This would cause later queries to fail even when
    they didn't involve phi trans.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91787 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6fade252c5089e35a484d16b67dc3193d4744590
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 21:27:30 2009 +0000
    CMake: Update lib deps.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91786 91177308-0d34-0410-b5e6-96231b3b80d8
commit cae7a4ce386dd7b01264acd17fce0453ce671e66
Author: Chris Lattner <sabre@nondot.org>
Date:   Sat Dec 19 20:56:53 2009 +0000
    .llx is no more.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91784 91177308-0d34-0410-b5e6-96231b3b80d8
commit d19bb92ed1e9b879ed5ad87ab0021bed0b21d1b9
Author: Chris Lattner <sabre@nondot.org>
Date:   Sat Dec 19 20:44:43 2009 +0000
    fix inconsistent use of tabs
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91783 91177308-0d34-0410-b5e6-96231b3b80d8
commit 70c75b50f227c44043294c642734da957925df59
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 18:58:49 2009 +0000
    Remove unused variable (noticed by clang++).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91780 91177308-0d34-0410-b5e6-96231b3b80d8
commit 05e9f7410481592f66c6169923d903f9c592d3c4
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 17:11:53 2009 +0000
    #if 0 out X86 disassembler for now, it is breaking the build in multiple places.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91778 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5bdef5b8ec8fd24804c3017e27417788d03c3e3b
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Sat Dec 19 13:52:01 2009 +0000
    Emit direction operand in binary insns that stores in memory.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91777 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4b40abc73cf4280ee01a3c40ecaab7834aa76796
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Sat Dec 19 13:13:29 2009 +0000
    Adding a bunch of options to the mcc16 driver.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91776 91177308-0d34-0410-b5e6-96231b3b80d8
commit 333f2f2612d193b17a373c2643bf6033719e6998
Author: Nuno Lopes <nunoplopes@sapo.pt>
Date:   Sat Dec 19 12:07:00 2009 +0000
    rename dprintf to dbgpritnf, in order to fix build with glibc (which already defines dprintf in stdio.h
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91775 91177308-0d34-0410-b5e6-96231b3b80d8
commit c6adb84d954dd57766b7f3dd1454dfe3e05f83b7
Author: Nuno Lopes <nunoplopes@sapo.pt>
Date:   Sat Dec 19 11:52:18 2009 +0000
    fix build and while at it remove a redudant include
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91774 91177308-0d34-0410-b5e6-96231b3b80d8
commit d31fb873f66238f8ccd0edd157b1451e83ad796e
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Sat Dec 19 11:38:14 2009 +0000
    Test cases for changes done in 91768.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91773 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6758957e00103d5df70147ac3552efcf4a28c3b5
Author: Sanjiv Gupta <sanjiv.gupta@microchip.com>
Date:   Sat Dec 19 08:26:25 2009 +0000
    1. In indirect load/store insns , the name of fsr should be emitted as INDF.
    2. include standard asmbly headers in generated asmbly.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91768 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9731ea6739a2acc4c0b437f168dc6769f3808a98
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Sat Dec 19 07:05:23 2009 +0000
    Fix a bunch of little errors that Clang complains about when its being pedantic
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91764 91177308-0d34-0410-b5e6-96231b3b80d8
commit 42becae4234059212beb68cfdd09ddf0e9ff7377
Author: Chris Lattner <sabre@nondot.org>
Date:   Sat Dec 19 07:01:15 2009 +0000
    fix PR5827 by disabling the phi slicing transformation in a case
    where instcombine would have to split a critical edge due to a
    phi node of an invoke.  Since instcombine can't change the CFG,
    it has to bail out from doing the transformation.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91763 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2b827d0d4b3e378a70b894d130235274c56d4697
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Sat Dec 19 06:53:17 2009 +0000
    Update my SROA changes in response to review.
    * change FindElementAndOffset to return a uint64_t instead of unsigned, and
      to identify the type to be used for that result in a GEP instruction.
    * move "isa<ConstantInt>" to be first in conditional.
    * replace some dyn_casts with casts.
    * add a comment about handling mem intrinsics.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91762 91177308-0d34-0410-b5e6-96231b3b80d8
commit e38b949bc7db6805bb2a77ca4d6068037cd8c2d5
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 04:16:57 2009 +0000
    More bzero -> memset that I missed.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91757 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6861faed9cba02c3a49b856a4e728dce8c1b651d
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 04:16:48 2009 +0000
    Add missing newlines at EOF (for clang++).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91756 91177308-0d34-0410-b5e6-96231b3b80d8
commit 299fdcebe71c89b3fc73923b44c4f0a9169e340d
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Sat Dec 19 03:31:50 2009 +0000
    Use memset instead of bzero, its more portable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91754 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7566a55acf4fe9a69ad17887fea806d846ba7e98
Author: Douglas Gregor <doug.gregor@gmail.com>
Date:   Sat Dec 19 03:21:36 2009 +0000
    Remove spurious semicolon. Thanks, Clang
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91752 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1a4f32c3c2eba982b658ac52f37f1d667960acea
Author: Sean Callanan <scallanan@apple.com>
Date:   Sat Dec 19 02:59:52 2009 +0000
    Table-driven disassembler for the X86 architecture (16-, 32-, and 64-bit
    incarnations), integrated into the MC framework.
    The disassembler is table-driven, using a custom TableGen backend to
    generate hierarchical tables optimized for fast decode.  The disassembler
    consumes MemoryObjects and produces arrays of MCInsts, adhering to the
    abstract base class MCDisassembler (llvm/MC/MCDisassembler.h).
    The disassembler is documented in detail in
    - lib/Target/X86/Disassembler/X86Disassembler.cpp (disassembler runtime)
    - utils/TableGen/DisassemblerEmitter.cpp (table emitter)
    You can test the disassembler by running llvm-mc -disassemble for i386
    or x86_64 targets.  Please let me know if you encounter any problems
    with it.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91749 91177308-0d34-0410-b5e6-96231b3b80d8
commit 232149a85f22b513b690ce6386cc8922b66b659b
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Sat Dec 19 02:04:23 2009 +0000
    Bump alignment requirements for windows targets to achieve compartibility with vcpp.
    Based on patch by Michael Beck!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91745 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6a0bb8172b4327b725fd609028c9f8ceb8086d8d
Author: Anton Korobeynikov <asl@math.spbu.ru>
Date:   Sat Dec 19 02:04:00 2009 +0000
    Use 4-arg getVTList) variant instead of generic one, when possible
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91744 91177308-0d34-0410-b5e6-96231b3b80d8
commit a3e53b706108ada456d24d6f2090b6a96b153569
Author: Dan Gohman <gohman@apple.com>
Date:   Sat Dec 19 01:47:13 2009 +0000
    Delete unused code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91743 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6a1afd606983941b9db6a41029c238b2df0b520a
Author: Dan Gohman <gohman@apple.com>
Date:   Sat Dec 19 01:46:34 2009 +0000
    Fix a spello in a comment that Nick spotted.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91742 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9cae1100652da2ac306c7b9d11446d8e4639b6d7
Author: Dan Gohman <gohman@apple.com>
Date:   Sat Dec 19 01:46:09 2009 +0000
    Fix a comment.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91741 91177308-0d34-0410-b5e6-96231b3b80d8
commit 09e76650fe1e6c21a06f0ef7f43b15c1f433e546
Author: Chris Lattner <sabre@nondot.org>
Date:   Sat Dec 19 01:38:42 2009 +0000
    Make some methods const.  The only interesting change here is that
    it changes raw_fd_ostream::preferred_buffer_size to return zero on
    a scary stat failure instead of setting the stream to an error state.
    This method really should not mutate the stream.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91740 91177308-0d34-0410-b5e6-96231b3b80d8
commit 28039a48aebce267d2472eb5e143f19c68354ac9
Author: John McCall <rjmccall@apple.com>
Date:   Sat Dec 19 00:55:12 2009 +0000
    Qualify a bunch of explicit template instantiations to satisfy clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91736 91177308-0d34-0410-b5e6-96231b3b80d8
commit fb0624b1443a68698a41e40e479b6910e6a18a57
Author: John McCall <rjmccall@apple.com>
Date:   Sat Dec 19 00:51:42 2009 +0000
    Put TypesEqual and TypeHasCycleThroughItself in namespace llvm so ADL from
    the templates in TypesContext.h can find them.  Caught by clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91735 91177308-0d34-0410-b5e6-96231b3b80d8
commit f3b3032dc132f8386dde8aa6ecbc6c8d92d35876
Author: Bill Wendling <isanbard@gmail.com>
Date:   Sat Dec 19 00:05:07 2009 +0000
    Forgot forward declaration.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91732 91177308-0d34-0410-b5e6-96231b3b80d8
commit f169e657ed99eca80912bd00c06489556091a826
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 23:42:08 2009 +0000
    Eliminate unnecessary LLVMContexts.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91729 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3a8afc0ed526b8b49af2c089ba600193f8b708c4
Author: Bill Wendling <isanbard@gmail.com>
Date:   Fri Dec 18 23:32:53 2009 +0000
    Changes from review:
    - Move DisableScheduling flag into TargetOption.h
    - Move SDNodeOrdering into its own header file. Give it a minimal interface that
      doesn't conflate construction with storage.
    - Move assigning the ordering into the SelectionDAGBuilder.
    This isn't used yet, so there should be no functional changes.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91727 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2a0bb8e3f58a6f09316801bcaf043d34b048605c
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 23:18:03 2009 +0000
    Make this comment more precise.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91722 91177308-0d34-0410-b5e6-96231b3b80d8
commit 52cda8c8d86f40c6e2cab28f54367bf7c64ba804
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Fri Dec 18 21:38:44 2009 +0000
    Fix an issue in googletest where a name was used before it was defined.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91718 91177308-0d34-0410-b5e6-96231b3b80d8
commit d26b552b438a1b4ba2d60bbf715f0286aa22d780
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Fri Dec 18 21:31:31 2009 +0000
    Increase opportunities to optimize (brcond (srl (and c1), c2)).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91717 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6a4a08546569962a0a1929d1eda9fd46bffbde75
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Fri Dec 18 21:07:18 2009 +0000
    Fix gcc warning.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91715 91177308-0d34-0410-b5e6-96231b3b80d8
commit d59ead6cba177414008b14ccbab2d86cd1e8cf3f
Author: Rafael Espindola <rafael.espindola@gmail.com>
Date:   Fri Dec 18 20:35:38 2009 +0000
    Catch more cases of a pointer being marked garbage twice. This helps when
    debugging some leaks (PR5770 in particular).
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91713 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9a3d620799aa212d3ef04231e0bace426cb4eb29
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Fri Dec 18 20:14:40 2009 +0000
    Reapply 91459 with a simple fix for the problem that broke the x86_64-darwin
    bootstrap.  This also replaces the WeakVH references that Chris objected to
    with normal Value references.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91711 91177308-0d34-0410-b5e6-96231b3b80d8
commit a6e122fd8ed8e60cc79a1fbaef1658fe5aca160a
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Fri Dec 18 20:12:14 2009 +0000
    Fix another parallel make race condition.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91709 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3e7564c22ba1e674327fc5c92540bb67bedaf292
Author: Victor Hernandez <vhernandez@apple.com>
Date:   Fri Dec 18 20:09:14 2009 +0000
    Formalize MDNode's function-localness:
    - an MDNode is designated as function-local when created, and continues to be even if its operands are modified not to refer to function-local IR
    - function-localness is designated via lowest bit in SubclassData
    - getLocalFunction() descends MDNode tree to see if it is consistently function-local
    Add verification of MDNodes to checks that MDNodes are consistently function-local.
    Update AsmWriter to use isFunctionLocal().
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91708 91177308-0d34-0410-b5e6-96231b3b80d8
commit 80441befe44d1fc2d8c7c26536b4b0e582ccbcfd
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Fri Dec 18 19:59:48 2009 +0000
    Fix Win32 Path.inc for API update.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91706 91177308-0d34-0410-b5e6-96231b3b80d8
commit cb4a07928cea4c2e4b9406665669c7062018280e
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 18:45:31 2009 +0000
    Revert this use of NUW/NSW also. Overflow-undefined multiplication isn't
    associative either.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91701 91177308-0d34-0410-b5e6-96231b3b80d8
commit bd9dd2b40d94c3846795ed176ea5d3b641006625
Author: Rafael Espindola <rafael.espindola@gmail.com>
Date:   Fri Dec 18 16:59:39 2009 +0000
    Fix libstdc++ build on ARM linux and part of PR5770.
    MI was not being used but it was also not being deleted, so it was kept in the garbage list. The memory itself was freed once the function code gen was done.
    Once in a while the codegen of another function would create an instruction on the same address. Adding it to the garbage group would work once, but when another pointer was added it would cause an assert as "Cache" was about to be pushed to Ts.
    For a patch that make us detect problems like this earlier, take a look at
    http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091214/092758.html
    With that patch we assert as soon and the new instruction is added to the garbage set.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91691 91177308-0d34-0410-b5e6-96231b3b80d8
commit ffb71a4733c04874b5d47320507eea7e6a083791
Author: Tilmann Scheller <tilmann.scheller@googlemail.com>
Date:   Fri Dec 18 13:00:34 2009 +0000
    Fix wrong frame pointer save offset in the 64-bit PowerPC SVR4 ABI.
    Patch contributed by Ken Werner of IBM!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91681 91177308-0d34-0410-b5e6-96231b3b80d8
commit b2615b51f6c845fc7376f9bf3c773f5d1028e294
Author: Tilmann Scheller <tilmann.scheller@googlemail.com>
Date:   Fri Dec 18 13:00:15 2009 +0000
    Add support for calls through function pointers in the 64-bit PowerPC SVR4 ABI.
    Patch contributed by Ken Werner of IBM!
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91680 91177308-0d34-0410-b5e6-96231b3b80d8
commit e931a13acc5d5dd31e3ec33ccc4b7438e8a5afca
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Fri Dec 18 11:27:26 2009 +0000
    Make 'set_option' work with list options.
    This works now: (set_option "list_opt", ["val_1", "val_2", "val_3"])
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91679 91177308-0d34-0410-b5e6-96231b3b80d8
commit 21e40b731446c720069c0929bdfa590c946232a5
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Fri Dec 18 08:22:35 2009 +0000
    Optimize icmp of null and select of two constants even if the select has
    multiple uses.  (The construct in question was found in gcc.)
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91675 91177308-0d34-0410-b5e6-96231b3b80d8
commit 31d9e33e0d4b4b815ec6002aaab2f280d450c21a
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Fri Dec 18 07:40:29 2009 +0000
    On recent Intel u-arch's, folding loads into some unary SSE instructions can
    be non-optimal. To be precise, we should avoid folding loads if the instructions
    only update part of the destination register, and the non-updated part is not
    needed. e.g. cvtss2sd, sqrtss. Unfolding the load from these instructions breaks
    the partial register dependency and it can improve performance. e.g.
    movss (%rdi), %xmm0
    cvtss2sd %xmm0, %xmm0
    instead of
    cvtss2sd (%rdi), %xmm0
    An alternative method to break dependency is to clear the register first. e.g.
    xorps %xmm0, %xmm0
    cvtss2sd (%rdi), %xmm0
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91672 91177308-0d34-0410-b5e6-96231b3b80d8
commit c8a33c1c3ea5a45185dbfd0046b79c14f9821b4a
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 03:57:04 2009 +0000
    Revert this use of NSW; this one isn't actually safe. NSW addition
    is not reassociative.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91667 91177308-0d34-0410-b5e6-96231b3b80d8
commit c7d9c3baf89ad6e2a3162daf524f1d4d4c9e9090
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 03:25:51 2009 +0000
    Eliminte unnecessary uses of <cstdio>.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91666 91177308-0d34-0410-b5e6-96231b3b80d8
commit 532e3f52901265414842dbe21e106f9b32c5b182
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 03:10:26 2009 +0000
    Add utility routines for NSW multiply.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91664 91177308-0d34-0410-b5e6-96231b3b80d8
commit dbe0132963a2021bcabd9fe92cd0b1c257614ab8
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 02:58:50 2009 +0000
    Add utility routines for creating integer negation operators with NSW set.
    Integer negation only overflows with INT_MIN, but that's an important case.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91662 91177308-0d34-0410-b5e6-96231b3b80d8
commit 18256c45ce2016abbde91d2c738609dea2225561
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 02:14:37 2009 +0000
    Delete an unused variable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91659 91177308-0d34-0410-b5e6-96231b3b80d8
commit eadde674855dc5d1e1bee25aa2c621d982b6d8d6
Author: Eric Christopher <echristo@apple.com>
Date:   Fri Dec 18 02:12:53 2009 +0000
    Fix typo.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91657 91177308-0d34-0410-b5e6-96231b3b80d8
commit 620156de509db9f3d1a1130c33c680e92b722b3a
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 02:09:29 2009 +0000
    Preserve NSW information in more places.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91656 91177308-0d34-0410-b5e6-96231b3b80d8
commit b3099793f471d4ca8845cb922da8a7052bd2d619
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Fri Dec 18 01:59:21 2009 +0000
    Re-apply 91623 now that I actually know what I was trying to do.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91655 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf4c33d434849ca17d8624a77c56b94085d84954
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 01:24:09 2009 +0000
    Add Loop contains utility methods for testing whether a loop
    contains another loop, or an instruction. The loop form is
    substantially more efficient on large loops than the typical
    code it replaces.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91654 91177308-0d34-0410-b5e6-96231b3b80d8
commit 36dcb6d0219b2c549638bddb9b8c6d46d9877406
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 01:20:44 2009 +0000
    Minor code simplification.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91653 91177308-0d34-0410-b5e6-96231b3b80d8
commit fb8c8533ea5b7e620324138fb647b1b968ff5cae
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 01:14:11 2009 +0000
    Whitespace cleanups.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91651 91177308-0d34-0410-b5e6-96231b3b80d8
commit fa5054b14df7bdc8da0f9e20c771d7d3b599c8d9
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 01:05:06 2009 +0000
    Tidy up this testcase and add test for tailcall optimization
    with unreachable.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91650 91177308-0d34-0410-b5e6-96231b3b80d8
commit cc841d457d517cc8af00f08be3c7bdf803c1eb98
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Fri Dec 18 01:03:29 2009 +0000
    Handle ARM inline asm "w" constraints with 64-bit ("d") registers.
    The change in SelectionDAGBuilder is needed to allow using bitcasts to convert
    between f64 (the default type for ARM "d" registers) and 64-bit Neon vector
    types.  Radar 7457110.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91649 91177308-0d34-0410-b5e6-96231b3b80d8
commit 82dff7d94faf98ea406305388528b0d459987172
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 01:02:18 2009 +0000
    Remove "tail" keywords. These calls are not intended to be tail calls.
    This protects this test from depending on codegen not performing the
    tail call optimization by default.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91648 91177308-0d34-0410-b5e6-96231b3b80d8
commit 33922e093855021c4516c58b25d2a97321d7ec9f
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 00:38:08 2009 +0000
    Don't pass const pointers by reference.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91647 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4d6a53b925c6331b45c191fd1e8dfa4af3ce2fc8
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 00:28:43 2009 +0000
    Update a comment.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91645 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9b781ff887e6ce97d55151debf0a6c91f4545344
Author: John McCall <rjmccall@apple.com>
Date:   Fri Dec 18 00:27:18 2009 +0000
    Pass the error string directly to llvm_unreachable instead of the residual
    (0 && "error").  Rough consensus seems to be that g++ *should* be diagnosing
    this because the pointer makes it not an ICE in c++03.  Everyone agrees that
    the current standard is silly and null-pointer-ness should not be based on
    ICE-ness.  Excellent fight scene in Act II, denouement weak, two stars.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91644 91177308-0d34-0410-b5e6-96231b3b80d8
commit e28a5aeb1044f710d929732875a68072d157fdb4
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Fri Dec 18 00:11:44 2009 +0000
    Add test case for the phi reuse patch.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91642 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8eba23b792b47890c4d973ad6df31fdedfd25088
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 00:06:20 2009 +0000
    Reapply LoopStrengthReduce and IVUsers cleanups, excluding the part
    of 91296 that caused trouble -- the Processed list needs to be
    preserved for the livetime of the pass, as AddUsersIfInteresting
    is called from other passes.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91641 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2366772de3db53fc74f19a184140687c2ac7d9bf
Author: Dan Gohman <gohman@apple.com>
Date:   Fri Dec 18 00:03:58 2009 +0000
    Add an svn:ignore.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91639 91177308-0d34-0410-b5e6-96231b3b80d8
commit 10bd00cf60fd21ca257127ded9684b48aa22abc1
Author: Sean Callanan <scallanan@apple.com>
Date:   Fri Dec 18 00:01:26 2009 +0000
    Instruction fixes, added instructions, and AsmString changes in the
    X86 instruction tables.
    Also (while I was at it) cleaned up the X86 tables, removing tabs and
    80-line violations.
    This patch was reviewed by Chris Lattner, but please let me know if
    there are any problems.
    * X86*.td
    	Removed tabs and fixed 80-line violations
    * X86Instr64bit.td
    	(IRET, POPCNT, BT_, LSL, SWPGS, PUSH_S, POP_S, L_S, SMSW)
    		Added
    	(CALL, CMOV) Added qualifiers
    	(JMP) Added PC-relative jump instruction
    	(POPFQ/PUSHFQ) Added qualifiers; renamed PUSHFQ to indicate
    		that it is 64-bit only (ambiguous since it has no
    		REX prefix)
    	(MOV) Added rr form going the other way, which is encoded
    		differently
    	(MOV) Changed immediates to offsets, which is more correct;
    		also fixed MOV64o64a to have to a 64-bit offset
    	(MOV) Fixed qualifiers
    	(MOV) Added debug-register and condition-register moves
    	(MOVZX) Added more forms
    	(ADC, SUB, SBB, AND, OR, XOR) Added reverse forms, which
    		(as with MOV) are encoded differently
    	(ROL) Made REX.W required
    	(BT) Uncommented mr form for disassembly only
    	(CVT__2__) Added several missing non-intrinsic forms
    	(LXADD, XCHG) Reordered operands to make more sense for
    		MRMSrcMem
    	(XCHG) Added register-to-register forms
    	(XADD, CMPXCHG, XCHG) Added non-locked forms
    * X86InstrSSE.td
    	(CVTSS2SI, COMISS, CVTTPS2DQ, CVTPS2PD, CVTPD2PS, MOVQ)
    		Added
    * X86InstrFPStack.td
    	(COM_FST0, COMP_FST0, COM_FI, COM_FIP, FFREE, FNCLEX, FNOP,
    	 FXAM, FLDL2T, FLDL2E, FLDPI, FLDLG2, FLDLN2, F2XM1, FYL2X,
    	 FPTAN, FPATAN, FXTRACT, FPREM1, FDECSTP, FINCSTP, FPREM,
    	 FYL2XP1, FSINCOS, FRNDINT, FSCALE, FCOMPP, FXSAVE,
    	 FXRSTOR)
    		Added
    	(FCOM, FCOMP) Added qualifiers
    	(FSTENV, FSAVE, FSTSW) Fixed opcode names
    	(FNSTSW) Added implicit register operand
    * X86InstrInfo.td
    	(opaque512mem) Added for FXSAVE/FXRSTOR
    	(offset8, offset16, offset32, offset64) Added for MOV
    	(NOOPW, IRET, POPCNT, IN, BTC, BTR, BTS, LSL, INVLPG, STR,
    	 LTR, PUSHFS, PUSHGS, POPFS, POPGS, LDS, LSS, LES, LFS,
    	 LGS, VERR, VERW, SGDT, SIDT, SLDT, LGDT, LIDT, LLDT,
    	 LODSD, OUTSB, OUTSW, OUTSD, HLT, RSM, FNINIT, CLC, STC,
    	 CLI, STI, CLD, STD, CMC, CLTS, XLAT, WRMSR, RDMSR, RDPMC,
    	 SMSW, LMSW, CPUID, INVD, WBINVD, INVEPT, INVVPID, VMCALL,
    	 VMCLEAR, VMLAUNCH, VMRESUME, VMPTRLD, VMPTRST, VMREAD,
    	 VMWRITE, VMXOFF, VMXON) Added
    	(NOOPL, POPF, POPFD, PUSHF, PUSHFD) Added qualifier
    	(JO, JNO, JB, JAE, JE, JNE, JBE, JA, JS, JNS, JP, JNP, JL,
    	 JGE, JLE, JG, JCXZ) Added 32-bit forms
    	(MOV) Changed some immediate forms to offset forms
    	(MOV) Added reversed reg-reg forms, which are encoded
    		differently
    	(MOV) Added debug-register and condition-register moves
    	(CMOV) Added qualifiers
    	(AND, OR, XOR, ADC, SUB, SBB) Added reverse forms, like MOV
    	(BT) Uncommented memory-register forms for disassembler
    	(MOVSX, MOVZX) Added forms
    	(XCHG, LXADD) Made operand order make sense for MRMSrcMem
    	(XCHG) Added register-register forms
    	(XADD, CMPXCHG) Added unlocked forms
    * X86InstrMMX.td
    	(MMX_MOVD, MMV_MOVQ) Added forms
    * X86InstrInfo.cpp: Changed PUSHFQ to PUSHFQ64 to reflect table
    	change
    * X86RegisterInfo.td: Added debug and condition register sets
    * x86-64-pic-3.ll: Fixed testcase to reflect call qualifier
    * peep-test-3.ll: Fixed testcase to reflect test qualifier
    * cmov.ll: Fixed testcase to reflect cmov qualifier
    * loop-blocks.ll: Fixed testcase to reflect call qualifier
    * x86-64-pic-11.ll: Fixed testcase to reflect call qualifier
    * 2009-11-04-SubregCoalescingBug.ll: Fixed testcase to reflect call
      qualifier
    * x86-64-pic-2.ll: Fixed testcase to reflect call qualifier
    * live-out-reg-info.ll: Fixed testcase to reflect test qualifier
    * tail-opts.ll: Fixed testcase to reflect call qualifiers
    * x86-64-pic-10.ll: Fixed testcase to reflect call qualifier
    * bss-pagealigned.ll: Fixed testcase to reflect call qualifier
    * x86-64-pic-1.ll: Fixed testcase to reflect call qualifier
    * widen_load-1.ll: Fixed testcase to reflect call qualifier
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91638 91177308-0d34-0410-b5e6-96231b3b80d8
commit 20ec3073cae13b5c8a1661dabdfdb97500e6e26c
Author: John McCall <rjmccall@apple.com>
Date:   Thu Dec 17 23:49:16 2009 +0000
    Sundry dependent-name fixes flagged by clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91636 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4ca952ac3fa90cc373192bb96a3ddbdfd71f9f21
Author: Bill Wendling <isanbard@gmail.com>
Date:   Thu Dec 17 23:45:18 2009 +0000
    Revert accidental commit.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91635 91177308-0d34-0410-b5e6-96231b3b80d8
commit af37dac175cdf3ea8698ecc653c0f4d978a352f0
Author: Bill Wendling <isanbard@gmail.com>
Date:   Thu Dec 17 23:42:32 2009 +0000
    Turn off critical edge splitting for landing pads. The introduction of a
    non-landing pad basic block as the successor to a block that ends in an
    unconditional jump will cause block folding to remove the added block as a
    successor. Thus eventually removing it AND the landing pad entirely. Critical
    edge splitting is an optimization, so we can safely turn it off when dealing
    with landing pads.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91634 91177308-0d34-0410-b5e6-96231b3b80d8
commit b246171d0203ce94b4403d68fd8aa7eead2c998a
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Thu Dec 17 22:44:34 2009 +0000
    Revert r91623 to unbreak the buildbots.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91632 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf3381db96461b1fd215fae3feaf559e7aeb3f96
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Thu Dec 17 22:42:29 2009 +0000
    Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91631 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9bc1fde05ecc916e64ad0f39feb6c5d14fb5cfe4
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Thu Dec 17 21:35:29 2009 +0000
    Don't codegen available_externally functions.  Fixes http://llvm.org/PR5735.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91626 91177308-0d34-0410-b5e6-96231b3b80d8
commit 459ca567824a4f39cf8ad280401de1ec15d5bc2b
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Thu Dec 17 21:27:47 2009 +0000
    Make the ptrtoint comparison simplification work if one side is a global.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91624 91177308-0d34-0410-b5e6-96231b3b80d8
commit fe77cf2b9eda42bd7f805e0f1c853ffae9739c10
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Thu Dec 17 21:23:58 2009 +0000
    Remove an unused option.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91623 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8f109efcd44af6875cd87dc939bbcf2f6777ea9a
Author: Chris Lattner <sabre@nondot.org>
Date:   Thu Dec 17 21:23:46 2009 +0000
    tabs -> spaces.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91622 91177308-0d34-0410-b5e6-96231b3b80d8
commit f1ff2c77af0c898a7673f1ff16e8ecda1a443357
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Thu Dec 17 21:07:31 2009 +0000
    Slightly generalize transformation of memmove(a,a,n) so that it also applies
    to memcpy. (Such a memcpy is technically illegal, but in practice is safe
    and is generated by struct self-assignment in C code.)
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91621 91177308-0d34-0410-b5e6-96231b3b80d8
commit 15408333ed53187bf1c886db1756b38c9aac9c6d
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Thu Dec 17 21:02:39 2009 +0000
    Make Path use StringRef instead of std::string where possible.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91620 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3da0d8c2d10e49cd7df0e2ba33247580dcf57645
Author: Bill Wendling <isanbard@gmail.com>
Date:   Thu Dec 17 20:41:01 2009 +0000
    Temporarily revert 91337. It's causing testcase failures.
    $ svn merge -c -91337 https://llvm.org/svn/llvm-project/llvm/trunk
    --- Reverse-merging r91337 into '.':
    U    lib/CodeGen/AsmPrinter/DwarfException.cpp
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91618 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1898b53fca4fe2862b5404a3a80a802620060020
Author: Steve Naroff <snaroff@apple.com>
Date:   Thu Dec 17 20:39:34 2009 +0000
    Fix Windows build breakage...
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91617 91177308-0d34-0410-b5e6-96231b3b80d8
commit afb4e48b3b1ab458736885d32d33ff550bb4a503
Author: Ken Dyck <cfe-commits@cs.uiuc.edu>
Date:   Thu Dec 17 20:09:43 2009 +0000
    Introduce EVT::getHalfSizedIntegerVT() for use in ExpandUnalignedStore() in
    LegalizeDAG.cpp. Unlike the code it replaces, which simply decrements the simple
    type by one, getHalfSizedIntegerVT() searches for the smallest simple integer
    type that is at least half the size of the type it is called on. This approach
    has the advantage that it will continue working if a new value type (such as
    i24) is added to MVT.
    Also, in preparation for new value types, remove the assertions that
    non-power-of-2 8-bit-mutiple types are Extended when legalizing extload and
    truncstore operations.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91614 91177308-0d34-0410-b5e6-96231b3b80d8
commit cfb5c54ba03e4b004314dfce5eeec919471a5fb9
Author: Chris Lattner <sabre@nondot.org>
Date:   Thu Dec 17 20:00:21 2009 +0000
    finish cleaning up StructLayoutMap.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91612 91177308-0d34-0410-b5e6-96231b3b80d8
commit f3c8e732244684983ee5f9526d71ae636d5823c0
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Thu Dec 17 19:55:06 2009 +0000
    This fixes a memory leak in OpaqueType found by Google's internal heapchecker.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91611 91177308-0d34-0410-b5e6-96231b3b80d8
commit 878ec1002b2f3232687cd932ef029b403b46feda
Author: Eric Christopher <echristo@apple.com>
Date:   Thu Dec 17 19:07:19 2009 +0000
    Fix unused variable warning.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91609 91177308-0d34-0410-b5e6-96231b3b80d8
commit 11f4e3ba76bd0cce3d9e4ad622c294b23b6c0db9
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Thu Dec 17 18:34:24 2009 +0000
    Re-revert 91459.  It's breaking the x86_64 darwin bootstrap.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91607 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0bbe84e28cb5f73f1a84c487086144b39b257358
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Thu Dec 17 18:03:12 2009 +0000
    Remove debugging code.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91604 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5a461bf3a0e2b3e4cffa9fd3130d5fbcfe1ada8e
Author: Jim Grosbach <grosbach@apple.com>
Date:   Thu Dec 17 17:18:11 2009 +0000
    Add more detail for getting started on Windows.
    Patch from jon.forums at gmail.com
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91603 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5f7bbf56080ea6adfaeac4cea32a6934bfeb81ee
Author: Ken Dyck <cfe-commits@cs.uiuc.edu>
Date:   Thu Dec 17 15:31:52 2009 +0000
    In LowerEXTRACT_VECTOR_ELT, force an i32 value type for PEXTWR instead of
    incrementing the simple value type of the 16-bit type, which would give the
    wrong type if an intemediate MVT (such as i24) were introduced.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91602 91177308-0d34-0410-b5e6-96231b3b80d8
commit 38e52386fcf379c1a97c557bf81c345fd1233a04
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Thu Dec 17 09:39:49 2009 +0000
    Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently introduced a non-deterministic behavior in the optimizer somewhere.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91598 91177308-0d34-0410-b5e6-96231b3b80d8
commit 75192f45c3fe86b5afe94a303a0cbbe0dbed923c
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Thu Dec 17 07:49:26 2009 +0000
    Regenerate.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91595 91177308-0d34-0410-b5e6-96231b3b80d8
commit 098d20a0ba341dd7f3db8ffbf3ec908fb60b0be1
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Thu Dec 17 07:49:16 2009 +0000
    Add a 'set_option' action for use in OptionPreprocessor.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91594 91177308-0d34-0410-b5e6-96231b3b80d8
commit 410ace8ad7a9495dc9ab4a111bc220426ecf17fd
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Thu Dec 17 07:48:49 2009 +0000
    Refactoring, no functionality change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91593 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4bd5523d989fddfb885d2b4c33058530919b21af
Author: Mikhail Glushenkov <foldr@codedgers.com>
Date:   Thu Dec 17 07:48:34 2009 +0000
    s/TokenizeCmdline/TokenizeCmdLine/
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91592 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7c3da9b61ecc4532780f2503832dd9f1e18f4130
Author: Chandler Carruth <chandlerc@gmail.com>
Date:   Thu Dec 17 06:35:17 2009 +0000
    Update CMake build to include HexDisassembler.cpp.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91589 91177308-0d34-0410-b5e6-96231b3b80d8
commit a06cd190d48a95b42f2226fb6bcfbe263ffc2dc3
Author: Eli Friedman <eli.friedman@gmail.com>
Date:   Thu Dec 17 06:07:04 2009 +0000
    Aggressively flip compare constant expressions where appropriate; constant
    folding in particular expects null to be on the RHS.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91587 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3c06eac1ead1ee19d5da7f6244fc1eba2ca17240
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Thu Dec 17 05:07:36 2009 +0000
    Fix a comment grammaro.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91584 91177308-0d34-0410-b5e6-96231b3b80d8
commit b1d966ed5e666c21c6bef2178778f11b006e8211
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Thu Dec 17 05:05:36 2009 +0000
    BIT_CONVERT nodes are used for vector types, too.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91582 91177308-0d34-0410-b5e6-96231b3b80d8
commit 72af3d737fd75f62999dec911911103f41aba75a
Author: Sean Callanan <scallanan@apple.com>
Date:   Thu Dec 17 01:49:59 2009 +0000
    Test harness for the LLVM disassembler.  When invoked
    with -disassemble, llvm-mc now accepts lines of the
    form
    0x00 0x00
    and passes the resulting bytes to the disassembler for
    the chosen (or default) target, printing the result.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91579 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7d8baee6a05ca3383f39a5745c3c93aeb09aa749
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Thu Dec 17 00:40:05 2009 +0000
    Revert this dag combine change:
    Fold (zext (and x, cst)) -> (and (zext x), cst)
    DAG combiner likes to optimize expression in the other way so this would end up cause an infinite looping.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91574 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8ae68e420a7fd0e4bc77674860a3d2fb619a3b15
Author: Johnny Chen <johnny.chen@apple.com>
Date:   Wed Dec 16 23:36:52 2009 +0000
    Renamed "tCMNZ" to "tCMNz" to be consistent with other similar namings.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91571 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0be22d12589480b482126c2d8eb816a9590d54d8
Author: John McCall <rjmccall@apple.com>
Date:   Wed Dec 16 20:31:50 2009 +0000
    Silence a clang warning about the deprecated (but perfectly reasonable in
    context) increment-of-bool idiom.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91564 91177308-0d34-0410-b5e6-96231b3b80d8
commit b3fc6a97363135cc1bf0f825a2424b1faf53eb26
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 16 20:10:05 2009 +0000
    Reapply r91392, it was only unmasking the bug, and since TOT is still broken having it reverted does no good.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91560 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1c9fe58fab7095cbd17c99970631f5c3c9044a94
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 16 20:09:53 2009 +0000
    Reapply r91459, it was only unmasking the bug, and since TOT is still broken having it reverted does no good.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91559 91177308-0d34-0410-b5e6-96231b3b80d8
commit 724d7a167ac9c576db2e9217adfbee9ac8cd7b24
Author: Jim Grosbach <grosbach@apple.com>
Date:   Wed Dec 16 19:44:06 2009 +0000
    Mark STREX* as earlyclobber for the success result register.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91555 91177308-0d34-0410-b5e6-96231b3b80d8
commit ef786f2f846f89ff2675dd29e74c517d24db0d24
Author: Jim Grosbach <grosbach@apple.com>
Date:   Wed Dec 16 19:43:02 2009 +0000
    Add @earlyclobber TableGen constraint
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91554 91177308-0d34-0410-b5e6-96231b3b80d8
commit 4e7896b88c383b5c64ddf574995fbafb4105884c
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 16 19:36:42 2009 +0000
    Remove superfluous 'extern' variable that was causing a warning with clang.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91552 91177308-0d34-0410-b5e6-96231b3b80d8
commit 87450c87ff52d57481df9e6263f9a1b68cc8005a
Author: Jakob Stoklund Olesen <stoklund@2pi.dk>
Date:   Wed Dec 16 18:55:53 2009 +0000
    Reuse lowered phi nodes.
    Tail duplication produces lots of identical phi nodes in different basic
    blocks. Teach PHIElimination to reuse the join registers when lowering a phi
    node that is identical to an already lowered node. This saves virtual
    registers, and more importantly it avoids creating copies the the coalescer
    doesn't know how to eliminate.
    Teach LiveIntervalAnalysis about the phi joins with multiple uses.
    This patch significantly reduces code size produced by -pre-regalloc-taildup.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91549 91177308-0d34-0410-b5e6-96231b3b80d8
commit 903dc204e38ab5efaef573815ac96a6c2028c495
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 16 11:38:03 2009 +0000
    Fix one more missing this-> to placate that picky clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91536 91177308-0d34-0410-b5e6-96231b3b80d8
commit 53dee55036da98a51831d75dfc9f704a91cd5f48
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 16 10:56:17 2009 +0000
    Revert "Reapply 91184 with fixes and an addition to the testcase to cover the
    problem", this broke llvm-gcc bootstrap for release builds on
    x86_64-apple-darwin10.
    This reverts commit db22309800b224a9f5f51baf76071d7a93ce59c9.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91534 91177308-0d34-0410-b5e6-96231b3b80d8
commit e95e6c2b9690abed80c74de593f537d230318a98
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Wed Dec 16 10:56:02 2009 +0000
    Revert "Initial work on disabling the scheduler. This is a work in progress, and
    this", this broke llvm-gcc bootstrap for release builds on
    x86_64-apple-darwin10.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91533 91177308-0d34-0410-b5e6-96231b3b80d8
commit 325984d0b8274e8b0b891df078f74f8330a24a2e
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 09:32:05 2009 +0000
    reapply my strstr optimization.  I have reproduced the x86-64 bootstrap
    miscompile (i386.o miscompares) but it happens both with and without
    this patch.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91532 91177308-0d34-0410-b5e6-96231b3b80d8
commit a967657dbc081c7a72a734688e073bead60492f5
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 09:17:12 2009 +0000
    fix more missing this->'s to placate clang++
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91531 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1306a7b58af44ff7d4d3d55fb55f05d90dc17b51
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 09:09:54 2009 +0000
    Fix a missing this-> that clang++ notices.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91530 91177308-0d34-0410-b5e6-96231b3b80d8
commit bb29769774962df2dcb7a31f8bd158a0f6871ceb
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:44:24 2009 +0000
    now that libsystem no longer uses SmallVector, we can move
    SmallVectorBase::grow_pod out of line, finally satisfying PR3758.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91529 91177308-0d34-0410-b5e6-96231b3b80d8
commit a01522ef1c2bb894f01f20481aeec71b41760c2a
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:40:44 2009 +0000
    remove use of SmallVector from Path::makeUnique.  Path::makeUnique
    is not used by anything performance sensitive, so just use std::string.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91528 91177308-0d34-0410-b5e6-96231b3b80d8
commit 75d7b5b99547063514152db411a60befc99f5302
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:35:54 2009 +0000
    eliminate an extraneous use of SmallVector in a case where
    a fixed size buffer is perfectly fine.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91527 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3ab8c0e1d42d4ee44349b7b1f51e5130b9c12530
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:34:40 2009 +0000
    factor out the grow() method for all pod implementations into one
    common function.  It is still an inline method, which will be fixed next.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91526 91177308-0d34-0410-b5e6-96231b3b80d8
commit dd44d1b21d8f77f7d3015d258383337dc6646780
Author: Victor Hernandez <vhernandez@apple.com>
Date:   Wed Dec 16 08:10:57 2009 +0000
    Use different name for argument and field
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91524 91177308-0d34-0410-b5e6-96231b3b80d8
commit b9e74f2cb039a0d6581861171f4c7f42d0880f25
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:09:23 2009 +0000
    pull destroy_range and uninitialized_copy up to the
    SmallVectorTemplateBase class, which allows us to statically
    dispatch on isPodLike instead of dynamically.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91523 91177308-0d34-0410-b5e6-96231b3b80d8
commit d8d02743d04afde76e9bfa7ba918911f40a9b1cb
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 08:05:48 2009 +0000
    sink most of the meat in smallvector back from SmallVectorTemplateCommon
    down into SmallVectorImpl.  This requires sprinking a ton of this->'s in,
    but gives us a place to factor.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91522 91177308-0d34-0410-b5e6-96231b3b80d8
commit 59ebf30b613ebf2617a1519fbd0dbc1f2b4aeb13
Author: Nick Lewycky <nicholas@mxc.ca>
Date:   Wed Dec 16 07:35:25 2009 +0000
    Make this test pass on Linux.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91521 91177308-0d34-0410-b5e6-96231b3b80d8
commit 3521fb7b3e549c489faebd76084d86a1c30cba8a
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 06:55:45 2009 +0000
    substantial refactoring of SmallVector, now most code is in SmallVectorTemplateCommon,
    and there is a new SmallVectorTemplateBase class in between it and SmallVectorImpl.
    SmallVectorTemplateBase can be specialized based on isPodLike.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91518 91177308-0d34-0410-b5e6-96231b3b80d8
commit a6b8642f72c98125b56e34469baaed50819ef2a2
Author: Victor Hernandez <vhernandez@apple.com>
Date:   Wed Dec 16 02:52:09 2009 +0000
    MDNodes that refer to an instruction are local to a function; in that case, explicitly keep track of the function they are local to
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91497 91177308-0d34-0410-b5e6-96231b3b80d8
commit aa640d3fc7563e889ef2ef93994b4c6ff38933f1
Author: Johnny Chen <johnny.chen@apple.com>
Date:   Wed Dec 16 02:32:54 2009 +0000
    Add encoding bits for some Thumb instructions.  Plus explicitly set the top two
    bytes of Inst to 0x0000 for the benefit of the Thumb decoder.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91496 91177308-0d34-0410-b5e6-96231b3b80d8
commit 95150a6fa59d69f01bcd481e9bb2dc937c548107
Author: Devang Patel <dpatel@apple.com>
Date:   Wed Dec 16 02:11:38 2009 +0000
    XFAIL on ppc-darwin.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91495 91177308-0d34-0410-b5e6-96231b3b80d8
commit edeb169061593870ac603ab898a58d4db579d162
Author: Evan Cheng <evan.cheng@apple.com>
Date:   Wed Dec 16 00:53:11 2009 +0000
    Re-enable 91381 with fixes.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91489 91177308-0d34-0410-b5e6-96231b3b80d8
commit 1ea083faf048bcaa812098ebdc3f55c0ddcc1687
Author: Chris Lattner <sabre@nondot.org>
Date:   Wed Dec 16 00:46:02 2009 +0000
    revert my strstr optimization, I'm told it breaks x86-64 bootstrap.
    Will reapply with a fix when I get a chance.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91486 91177308-0d34-0410-b5e6-96231b3b80d8
commit 5d25f9bbd3a3106239e6b957c233b598d36576fe
Author: Dale Johannesen <dalej@apple.com>
Date:   Wed Dec 16 00:29:41 2009 +0000
    Do better with physical reg operands (typically, from inline asm)
    in local register allocator.  If a reg-reg copy has a phys reg
    input and a virt reg output, and this is the last use of the phys
    reg, assign the phys reg to the virt reg.  If a reg-reg copy has
    a phys reg output and we need to reload its spilled input, reload
    it directly into the phys reg than passing it through another reg.
    Following 76208, there is sometimes no dependency between the def of
    a phys reg and its use; this creates a window where that phys reg
    can be used for spilling (this is true in linear scan also).  This
    is bad and needs to be fixed a better way, although 76208 works too
    well in practice to be reverted.  However, there should normally be
    no spilling within inline asm blocks.  The patch here goes a long way
    towards making this actually be true.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91485 91177308-0d34-0410-b5e6-96231b3b80d8
commit b6bf5b926d84470a0527691b20f60c31f6bf7978
Author: John McCall <rjmccall@apple.com>
Date:   Wed Dec 16 00:15:28 2009 +0000
    Every anonymous namespace is different.  Caught by clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91481 91177308-0d34-0410-b5e6-96231b3b80d8
commit 86dd20e4ab83c6d96b5a526bc95fc0ee6170e4ec
Author: John McCall <rjmccall@apple.com>
Date:   Wed Dec 16 00:13:24 2009 +0000
    Explicit template instantiations must happen in the template's immediately
    enclosing namespace.  Caught by clang++.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91480 91177308-0d34-0410-b5e6-96231b3b80d8
commit bf525e4cf50311df9aa8ed97d0eaf81a49fa6c3d
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 16 00:08:36 2009 +0000
    Helpful comment added. Some code cleanup. No functional change.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91479 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7cb7f462c39ffc68a5fe873078c2bb545c44f086
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 16 00:01:27 2009 +0000
    Initialize uninitialized variables.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91477 91177308-0d34-0410-b5e6-96231b3b80d8
commit 9d8b6523d77b512dc276857e3e58e1b226856445
Author: Bill Wendling <isanbard@gmail.com>
Date:   Wed Dec 16 00:00:18 2009 +0000
    Initialize uninitialized variables.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91475 91177308-0d34-0410-b5e6-96231b3b80d8
commit 43a22289bdf5f2e1d884de469b9ab5b849c077b7
Author: Jeffrey Yasskin <jyasskin@google.com>
Date:   Tue Dec 15 22:42:46 2009 +0000
    Change indirect-globals to use a dedicated allocIndirectGV.  This lets us
    remove start/finishGVStub and the BufferState helper class from the
    MachineCodeEmitter interface.  It has the side-effect of not setting the
    indirect global writable and then executable on ARM, but that shouldn't be
    necessary.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91464 91177308-0d34-0410-b5e6-96231b3b80d8
commit d91158b66c9ed1337bdad3741a2a1bbb78525d69
Author: Bill Wendling <isanbard@gmail.com>
Date:   Tue Dec 15 22:42:19 2009 +0000
    Some command lines don't like numbers with leading zeros. Remove them.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91463 91177308-0d34-0410-b5e6-96231b3b80d8
commit 2c03fdc0413fbc193bca3214907aa7827f3a0a11
Author: Bob Wilson <bob.wilson@apple.com>
Date:   Tue Dec 15 22:00:51 2009 +0000
    Reapply 91184 with fixes and an addition to the testcase to cover the problem
    found last time.  Instead of trying to modify the IR while iterating over it,
    I've change it to keep a list of WeakVH references to dead instructions, and
    then delete those instructions later.  I also added some special case code to
    detect and handle the situation when both operands of a memcpy intrinsic are
    referencing the same alloca.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91459 91177308-0d34-0410-b5e6-96231b3b80d8
commit 91978076a03bdda4a5c8167436659916e4a31621
Author: Daniel Dunbar <daniel@zuster.org>
Date:   Tue Dec 15 22:00:37 2009 +0000
    lit: Improve error when gtest discovery fails.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91458 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8f4f994c3cefa11b5df46f4aaaab86b15d4d4504
Author: Dan Gohman <gohman@apple.com>
Date:   Tue Dec 15 20:21:44 2009 +0000
    Revert 90628, which was incorrect.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91448 91177308-0d34-0410-b5e6-96231b3b80d8
commit 51260423ed052b52a4246c7643d33cb7750f3bd0
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 15 19:34:20 2009 +0000
    Fix GetConstantStringInfo to not look into MDString (it works on
    real data, not metadata) and fix DbgInfoPrinter to not abuse
    GetConstantStringInfo.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91444 91177308-0d34-0410-b5e6-96231b3b80d8
commit 465e633b903c1418bcf46021b2b1e02974505c8c
Author: Jim Grosbach <grosbach@apple.com>
Date:   Tue Dec 15 19:28:13 2009 +0000
    whitespace
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91442 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8287d66aee7d877aaa80a3fb40cc90580e669493
Author: Devang Patel <dpatel@apple.com>
Date:   Tue Dec 15 19:16:48 2009 +0000
    Add support to emit debug info for C++ namespaces.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91440 91177308-0d34-0410-b5e6-96231b3b80d8
commit a5b475def3406f1175162574ccbe300f9ab61bfd
Author: Chris Lattner <sabre@nondot.org>
Date:   Tue Dec 15 19:14:40 2009 +0000
    optimize strstr, PR5783
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91438 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0d810c281064e69c6a0cab4f9f43870628628566
Author: Johnny Chen <johnny.chen@apple.com>
Date:   Tue Dec 15 17:24:14 2009 +0000
    Added encoding bits for the Thumb ISA.  Initial checkin.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91434 91177308-0d34-0410-b5e6-96231b3b80d8
commit 7725021a32f9cb0f289b052a953ea77bfcda2bcf
Author: Dan Gohman <gohman@apple.com>
Date:   Tue Dec 15 16:30:09 2009 +0000
    Delete an unused function.
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91432 91177308-0d34-0410-b5e6-96231b3b80d8
							
						 |