b137c9e551 
								
							 
						 
						
							
							
								
								Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID  
							
							... 
							
							
							
							This is done to avoid odd test failures, like the one fixed in r171243.
llvm-svn: 171246 
							
						 
						
							2012-12-30 01:28:40 +00:00  
				
					
						
							
							
								 
						
							
								55fa49f32d 
								
							 
						 
						
							
							
								
								PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into global initializers if there's an implied extension or truncation.  
							
							... 
							
							
							
							llvm-svn: 147625 
							
						 
						
							2012-01-05 23:03:32 +00:00  
				
					
						
							
							
								 
						
							
								0d71c4f564 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 121111 
							
						 
						
							2010-12-07 04:33:29 +00:00  
				
					
						
							
							
								 
						
							
								f10dcfb9fb 
								
							 
						 
						
							
							
								
								Temporarily revert r121100 as it's causing clang to fail  
							
							... 
							
							
							
							CodeGenCXX/virtual-base-ctor.cpp.
llvm-svn: 121102 
							
						 
						
							2010-12-07 02:41:11 +00:00  
				
					
						
							
							
								 
						
							
								287f4366c1 
								
							 
						 
						
							
							
								
								fix PR8710 - teach global opt that some constantexprs are too complex to  
							
							... 
							
							
							
							put in a global variable's initializer.
llvm-svn: 121100 
							
						 
						
							2010-12-07 01:59:32 +00:00