Chris Lattner 
							
						 
					 
					
						
						
							
						
						4a86348bfb 
					 
					
						
						
							
							remove an extraneous mem2reg pass early in the pipe.  Since  
						
						... 
						
						
						
						this is run after the 'standard function passes', SRoA was
recently run.  This saves a domfrontier construction. Thanks
to Eli for noticing this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82291  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-18 22:03:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d7a5983e48 
					 
					
						
						
							
							reduce indentation by using an early exit, and add a comment,  
						
						... 
						
						
						
						no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82290  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-09-18 22:01:30 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						120505d5e7 
					 
					
						
						
							
							Disable loop index split for now and let nightly tester verify its usefulness.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74955  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-07 22:09:42 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						e0f0e0be1c 
					 
					
						
						
							
							Change LTO to run the global opt pass twice.  
						
						... 
						
						
						
						- This matches llvm-ld.
It took a bit of archeology to figure out what the right thing to do was
(whether this was intentionally added or intentionally removed). My final
conclusion is that Chris added this intentionally here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=16913 
but the changes weren't propogated to llvm-ld until here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=34058 
which was after lto.cpp had been cloned off (of llvm-ld), here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=29494 
From the commit message, it looks like the motivation for running global opt
again is because we ran it prior to inlining. Based on that I updated the
comment and also only run the pass if we actually ran the inliner.
Chris, please review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72811  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-03 21:51:32 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						006a034828 
					 
					
						
						
							
							Add createStandardLTOPasses to StandardPasses.h, and move lto and llvm-ld over.  
						
						... 
						
						
						
						- I know it sounds crazy, but I think all the pass lists are now coalesced into
   StandardPasses.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72805  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-03 21:06:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						e98c4d0b10 
					 
					
						
						
							
							Remove some silly code.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72788  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-03 18:13:05 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						04d5f44882 
					 
					
						
						
							
							Add StandardPasses.h which embeds the standard compilation passes shared by  
						
						... 
						
						
						
						clang/llvm-gcc.
 - Implemented as inline functions for linking simplicity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72786  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-03 17:52:39 +00:00