8fc340976d 
								
							 
						 
						
							
							
								
								Extend global merge pass to optionally consider global constant variables.  
							
							... 
							
							
							
							Also add some checks to not merge globals used within landing pad instructions or marked as "used".
llvm-svn: 177331 
							
						 
						
							2013-03-18 22:30:07 +00:00  
				
					
						
							
							
								 
						
							
								6cff9df298 
								
							 
						 
						
							
							
								
								Make GlobalMerge honor the preferred alignment on globals without an explicitly specified alignment.  
							
							... 
							
							
							
							<rdar://problem/10497732>.
llvm-svn: 145523 
							
						 
						
							2011-11-30 21:54:15 +00:00  
				
					
						
							
							
								 
						
							
								abc77347a7 
								
							 
						 
						
							
							
								
								Enable GlobalMerge on darwin.  
							
							... 
							
							
							
							llvm-svn: 128183 
							
						 
						
							2011-03-23 23:34:19 +00:00  
				
					
						
							
							
								 
						
							
								906df92d5c 
								
							 
						 
						
							
							
								
								XFAIL for all. These tests are darwin specific anyway.  
							
							... 
							
							
							
							llvm-svn: 127022 
							
						 
						
							2011-03-04 19:38:10 +00:00  
				
					
						
							
							
								 
						
							
								a0d73fd65e 
								
							 
						 
						
							
							
								
								Disable ARMGlobalMerge on darwin. The debugger is not yet able to extract individual variable's info from merged global.  
							
							... 
							
							
							
							llvm-svn: 127019 
							
						 
						
							2011-03-04 19:11:05 +00:00  
				
					
						
							
							
								 
						
							
								881b45ccdf 
								
							 
						 
						
							
							
								
								Change ARMGlobalMerge to keep BSS globals in separate pools.  
							
							... 
							
							
							
							This completes the fixes for Radar 8673120.
llvm-svn: 119566 
							
						 
						
							2010-11-17 21:25:39 +00:00  
				
					
						
							
							
								 
						
							
								4c8ab19c22 
								
							 
						 
						
							
							
								
								Fix ARMGlobalMerge pass to check if globals are entirely within range.  
							
							... 
							
							
							
							It is generally not sufficient to check if the starting offset is in range
of the maximum offset that can be efficiently used for the target.
llvm-svn: 119565 
							
						 
						
							2010-11-17 21:25:36 +00:00  
				
					
						
							
							
								 
						
							
								59182fb4b5 
								
							 
						 
						
							
							
								
								Change the symbol for merged globals from "merged" to "_MergedGlobals".  
							
							... 
							
							
							
							This makes it more clear that the symbol is an internal, compiler-generated
name and gives a little more description about its contents.
llvm-svn: 119564 
							
						 
						
							2010-11-17 21:25:33 +00:00  
				
					
						
							
							
								 
						
							
								f796d4b469 
								
							 
						 
						
							
							
								
								Fix the ARMGlobalMerge pass to look at variable sizes instead of pointer sizes.  
							
							... 
							
							
							
							It was mistakenly looking at the pointer type when checking for the size of
global variables.  This is a partial fix for Radar 8673120.
llvm-svn: 119563 
							
						 
						
							2010-11-17 21:25:27 +00:00