Chris Lattner 
							
						 
					 
					
						
						
							
						
						98a42b2fc3 
					 
					
						
						
							
							fix PR9856, an incorrectly conservative assertion: a global can be  
						
						... 
						
						
						
						"stored once" even if its address is compared.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131849  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-05-22 07:15:13 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						5ea5c61589 
					 
					
						
						
							
							Just because a GlobalVariable's initializer is [N x { i32, void ()* }] doesn't  
						
						... 
						
						
						
						mean that it has to be ConstantArray of ConstantStruct. We might have
ConstantAggregateZero, at either level, so don't crash on that.
Also, semi-deprecate the sentinal value. The linker isn't aware of sentinals so
we end up with the two lists appended, each with their "sentinals" on them.
Different parts of LLVM treated sentinals differently, so make them all just
ignore the single entry and continue on with the rest of the list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129307  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-11 22:11:20 +00:00 
						 
				 
			
				
					
						
							
							
								Jay Foad 
							
						 
					 
					
						
						
							
						
						562b84b3ae 
					 
					
						
						
							
							Don't include Operator.h from InstrTypes.h.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129271  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-11 09:35:34 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Friedman 
							
						 
					 
					
						
						
							
						
						18a2e50a9b 
					 
					
						
						
							
							Add back a couple checks removed by r129128; the fact that an intitializer  
						
						... 
						
						
						
						is an array of structures doesn't imply it's a ConstantArray of
ConstantStruct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129207  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-09 09:11:09 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						2c44a80d99 
					 
					
						
						
							
							llvm.global_[cd]tor is defined to be either external, or appending with an array  
						
						... 
						
						
						
						of { i32, void ()* }. Teach the verifier to verify that, deleting copies of
checks strewn about.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129128  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-04-08 07:30:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jay Foad 
							
						 
					 
					
						
						
							
						
						3ecfc861b4 
					 
					
						
						
							
							Remove PHINode::reserveOperandSpace(). Instead, add a parameter to  
						
						... 
						
						
						
						PHINode::Create() giving the (known or expected) number of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128537  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-30 11:28:46 +00:00 
						 
				 
			
				
					
						
							
							
								Jay Foad 
							
						 
					 
					
						
						
							
						
						d8b4fb4aab 
					 
					
						
						
							
							(Almost) always call reserveOperandSpace() on newly created PHINodes.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128535  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-30 11:19:20 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						807bc2a381 
					 
					
						
						
							
							Handle another case that Frits suggested.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128068  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-22 03:21:01 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						b12caf31f4 
					 
					
						
						
							
							More cleanups to the OptimizeEmptyGlobalCXXDtors GlobalOpt function.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127997  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-21 14:54:40 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						262a862787 
					 
					
						
						
							
							As suggested by Nick Lewycky, ignore debugging intrinsics when trying to decide whether a destructor is empty or not.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127985  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-21 02:42:27 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						35ee1c921c 
					 
					
						
						
							
							Fix comments  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127984  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-21 02:26:01 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						4f735ca185 
					 
					
						
						
							
							Don't try to eliminate invokes to __cxa_atexit.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127976  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-20 20:21:33 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						372ec6aa91 
					 
					
						
						
							
							Don't segfault on mutual recursion, as pointed out by Frits.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127975  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-20 20:16:43 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						1f7c7ba380 
					 
					
						
						
							
							Address comments from Frits van Bommel.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127974  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-20 19:51:13 +00:00 
						 
				 
			
				
					
						
							
							
								Anders Carlsson 
							
						 
					 
					
						
						
							
						
						a201c4c2e6 
					 
					
						
						
							
							Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if the function passed is empty.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127970  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-03-20 17:59:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2ca5c8644e 
					 
					
						
						
							
							convert ConstantVector::get to use ArrayRef.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125537  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-15 00:14:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7583190422 
					 
					
						
						
							
							revert my ConstantVector patch, it seems to have made the llvm-gcc  
						
						... 
						
						
						
						builders unhappy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125504  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-14 18:15:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						283c8caccd 
					 
					
						
						
							
							Switch ConstantVector::get to use ArrayRef instead of a pointer+size  
						
						... 
						
						
						
						idiom.  Change various clients to simplify their code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125487  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-02-14 07:55:32 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						c4440e3e30 
					 
					
						
						
							
							Add unnamed_addr when we can show that address of a global is not used.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123834  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-19 16:32:21 +00:00 
						 
				 
			
				
					
						
							
							
								Rafael Espindola 
							
						 
					 
					
						
						
							
						
						daad56a8e3 
					 
					
						
						
							
							Reduce indentation and remove commented out code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123729  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-18 04:36:06 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						66f708f7e5 
					 
					
						
						
							
							Improve the safety of my globalopt enhancement by ensuring that the bitcast  
						
						... 
						
						
						
						of the stored value to the new store type is always.  Also, add a testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123563  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-16 04:33:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d5f656f48b 
					 
					
						
						
							
							simplify this code, it is still broken but will follow up on llvm-commits.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123558  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-16 02:05:10 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						bfa3b90582 
					 
					
						
						
							
							Try to unbreak selfhost.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123537  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-15 11:25:34 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e95a32ce40 
					 
					
						
						
							
							Fix a false-positive warning.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123480  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-14 22:31:13 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						cff6b3772b 
					 
					
						
						
							
							Enhance GlobalOpt to be able evaluate initializers that involve stores through  
						
						... 
						
						
						
						bitcasts, at least in simple cases.  This fixes clang's CodeGenCXX/virtual-base-dtor.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123477  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-14 22:19:20 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d91ed10b70 
					 
					
						
						
							
							fix a globalopt crash on two Adobe-C++ testcases that the recent  
						
						... 
						
						
						
						loop idiom pass exposed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122674  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-01 22:31:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1945d58025 
					 
					
						
						
							
							reapply r121100 with a tweak to constant fold ConstExprs with TargetData  
						
						... 
						
						
						
						(if available) as we go so that we get simple constantexprs not insane ones.
This fixes the failure of clang/test/CodeGenCXX/virtual-base-ctor.cpp
that the previous iteration of this patch had.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121111  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-07 04:33:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						6a3e305326 
					 
					
						
						
							
							Temporarily revert r121100 as it's causing clang to fail  
						
						... 
						
						
						
						CodeGenCXX/virtual-base-ctor.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121102  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-07 02:41:11 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fb431099c5 
					 
					
						
						
							
							fix PR8710 - teach global opt that some constantexprs are too complex to  
						
						... 
						
						
						
						put in a global variable's initializer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121100  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-07 01:59:32 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						f51a6cc5bf 
					 
					
						
						
							
							replace a linear scan with a symtab lookup, reduce indentation.  
						
						... 
						
						
						
						No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121042  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-06 21:53:07 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						081c34b725 
					 
					
						
						
							
							Get rid of static constructors for pass registration.  Instead, every pass exposes an initializeMyPassFunction(), which  
						
						... 
						
						
						
						must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
the pass's dependencies.
Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
before parsing commandline arguments.
I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
registration/creation, please send the testcase to me directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116820  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-19 17:21:58 +00:00 
						 
				 
			
				
					
						
							
							
								Mikhail Glushenkov 
							
						 
					 
					
						
						
							
						
						99fca5de96 
					 
					
						
						
							
							GlobalOpt: EvaluateFunction() must not evaluate stores to weak_odr globals.  
						
						... 
						
						
						
						Fixes PR8389.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116812  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-19 16:47:23 +00:00 
						 
				 
			
				
					
						
							
							
								Mikhail Glushenkov 
							
						 
					 
					
						
						
							
						
						9d28fdd722 
					 
					
						
						
							
							Trailing whitespace.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116749  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-18 21:16:00 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						ce665bd2e2 
					 
					
						
						
							
							Now with fewer extraneous semicolons!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115996  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-10-07 22:25:06 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						90c579de5a 
					 
					
						
						
							
							Reapply r110396, with fixes to appease the Linux buildbot gods.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-06 18:33:48 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						1f74590e9d 
					 
					
						
						
							
							Revert r110396 to fix buildbots.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-06 00:23:35 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9ccaf53ada 
					 
					
						
						
							
							Don't use PassInfo* as a type identifier for passes.  Instead, use the address of the static  
						
						... 
						
						
						
						ID member as the sole unique type identifier.  Clean up APIs related to this change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-05 23:42:04 +00:00 
						 
				 
			
				
					
						
							
							
								Oscar Fuentes 
							
						 
					 
					
						
						
							
						
						ee56c42168 
					 
					
						
						
							
							Prefix next' iterator operation with llvm::'.  
						
						... 
						
						
						
						Fixes potential ambiguity problems on VS 2010.
Patch by nobled!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110029  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-08-02 06:00:15 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						a399781289 
					 
					
						
						
							
							undo 80 column trespassing I caused  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109092  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-22 10:37:47 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						d13db2c59c 
					 
					
						
						
							
							Fix batch of converting RegisterPass<> to INTIALIZE_PASS().  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109045  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-21 22:09:45 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						49669e6d3a 
					 
					
						
						
							
							eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext,  
						
						... 
						
						
						
						so there is no locking involved in type refinement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108553  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-16 20:50:13 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						aaaaa02a93 
					 
					
						
						
							
							cache result of operator*  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108144  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 14:13:15 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5a30a8574c 
					 
					
						
						
							
							make the prototypes for CreateMalloc and CreateFree more consistent.  Patch  
						
						... 
						
						
						
						by Hans Vandierendonck from PR7605
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108116  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-12 00:57:28 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						e664267ae7 
					 
					
						
						
							
							cache result of operator*  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107990  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-07-09 16:51:20 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						9e4f243de7 
					 
					
						
						
							
							use ArgOperand API and CallSite for arg range; add necessary casts and perform some cosmetics  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106747  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-06-24 14:42:01 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						a9b2313c13 
					 
					
						
						
							
							use abstract accessors to CallInst  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101899  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-20 13:13:04 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						551754c495 
					 
					
						
						
							
							Revert 101465, it broke internal OpenGL testing.  
						
						... 
						
						
						
						Probably the best way to know that all getOperand() calls have been handled
is to replace that API instead of updating.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101579  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-16 23:37:20 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						4ec2258ffb 
					 
					
						
						
							
							reapply r101434  
						
						... 
						
						
						
						with a fix for self-hosting
rotate CallInst operands, i.e. move callee to the back
of the operand array
the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101465  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-16 15:33:14 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						607a7ab3da 
					 
					
						
						
							
							back out r101423 and r101397, they break llvm-gcc self-host on darwin10  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101434  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-16 01:16:20 +00:00 
						 
				 
			
				
					
						
							
							
								Gabor Greif 
							
						 
					 
					
						
						
							
						
						2ff961f668 
					 
					
						
						
							
							reapply r101364, which has been backed out in r101368  
						
						... 
						
						
						
						with a fix
rotate CallInst operands, i.e. move callee to the back
of the operand array
the motivation for this patch are laid out in my mail to llvm-commits:
more efficient access to operands and callee, faster callgraph-construction,
smaller compiler binary
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101397  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-04-15 20:51:13 +00:00