Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								19d0b47b1f 
								
							 
						 
						
							
							
								
								There are two ways of checking for a given type, for example isa<PointerType>(T)  
							
							 
							
							... 
							
							
							
							and T->isPointerTy().  Convert most instances of the first form to the second form.
Requested by Chris.
llvm-svn: 96344 
							
						 
						
							2010-02-16 11:11:14 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								9dff9bec31 
								
							 
						 
						
							
							
								
								Uniformize the names of type predicates: rather than having isFloatTy and  
							
							 
							
							... 
							
							
							
							isInteger, we now have isFloatTy and isIntegerTy.  Requested by Chris!
llvm-svn: 96223 
							
						 
						
							2010-02-15 16:12:20 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								b22423c89a 
								
							 
						 
						
							
							
								
								fix some problems handling large vectors reported in PR6230  
							
							 
							
							... 
							
							
							
							llvm-svn: 95616 
							
						 
						
							2010-02-08 23:56:03 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								c8a3e56870 
								
							 
						 
						
							
							
								
								Having RHSKnownZero and RHSKnownOne be alternative names for KnownZero and KnownOne  
							
							 
							
							... 
							
							
							
							(via APInt &RHSKnownZero = KnownZero, etc) seems dangerous and confusing to me: it
is easy not to notice this, and then wonder why KnownZero/RHSKnownZero changed
underneath you when you modified RHSKnownZero/KnownZero etc.  So get rid of this.
No intended functionality change (tested with "make check" + llvm-gcc bootstrap).
llvm-svn: 94802 
							
						 
						
							2010-01-29 06:18:46 +00:00  
						
					 
				
					
						
							
							
								 
								Duncan Sands
							
						 
						
							 
							
							
							
							
								
							
							
								3a48b87c54 
								
							 
						 
						
							
							
								
								Fix PR6165.  The bug was that LHSKnownZero was being and'd with DemandedMask  
							
							 
							
							... 
							
							
							
							when it should have been and'd with LowBits.  Fix that and while there beef
up the logic in the case of a negative LHS.
llvm-svn: 94745 
							
						 
						
							2010-01-28 17:22:42 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								7e0449172c 
								
							 
						 
						
							
							
								
								move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K lines out of instcombine.cpp  
							
							 
							
							... 
							
							
							
							llvm-svn: 92465 
							
						 
						
							2010-01-04 07:17:19 +00:00