Chad Rosier 
							
						 
					 
					
						
						
							
						
						618c1dbd29 
					 
					
						
						
							
							Propagate TargetLibraryInfo throughout ConstantFolding.cpp and  
						
						... 
						
						
						
						InstructionSimplify.cpp.  Other fixups as needed.
Part of rdar://10500969
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145559  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-12-01 03:08:23 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						dc615e41b5 
					 
					
						
						
							
							Speed up instsimplify by about 10-15% by not bothering to retry  
						
						... 
						
						
						
						InstructionSimplify on instructions that didn't change since the
last time round the loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122745  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2011-01-03 10:50:04 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						8a3d29cf10 
					 
					
						
						
							
							Simplify this pass by using a depth-first iterator to ensure that all  
						
						... 
						
						
						
						operands are visited before the instructions themselves.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122647  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-31 17:49:05 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						fea0b8b666 
					 
					
						
						
							
							Zap dead instructions harder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122645  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-31 16:17:54 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						1cd0f4637b 
					 
					
						
						
							
							Visit instructions deterministically.  Use a FIFO so as to approximately  
						
						... 
						
						
						
						visit instructions before their uses, since InstructionSimplify does a
better job in that case.  All this prompted by Frits van Bommel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122343  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-21 17:08:55 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						e95cc25a22 
					 
					
						
						
							
							If an instruction simplifies, try again to simplify any uses of it.  This is  
						
						... 
						
						
						
						not very important since the pass is only used for testing, but it does make
it more realistic.  Suggested by Frits van Bommel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122336  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-21 16:12:03 +00:00 
						 
				 
			
				
					
						
							
							
								Duncan Sands 
							
						 
					 
					
						
						
							
						
						69fdf876e1 
					 
					
						
						
							
							Oops, forgot to add the pass itself!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122265  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2010-12-20 21:07:42 +00:00