Chris Lattner 
							
						 
					 
					
						
						
							
						
						401ec7f6a9 
					 
					
						
						
							
							Unbreak the build on non-apple compilers :-(  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27173  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 16:10:59 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						23cc8708c3 
					 
					
						
						
							
							Try again  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27171  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 08:10:26 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						f48b50a7ef 
					 
					
						
						
							
							Incorrect check for FP all one's  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27169  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 07:26:17 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						a8df166fbe 
					 
					
						
						
							
							Change isBuildVectorAllOnesInteger to isBuildVectorAllOnes. Also check for  
						
						... 
						
						
						
						floating point cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27165  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 06:58:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						70a248d284 
					 
					
						
						
							
							Instead of printing "INTRINSIC" on intrinsic node, print the intrinsic name.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27164  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 06:45:25 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						f15485a8d0 
					 
					
						
						
							
							SelectionDAGISel can now natively handle Switch instructions, in the same  
						
						... 
						
						
						
						manner that the LowerSwitch LLVM to LLVM pass does: emitting a binary
search tree of basic blocks.  The new approach has several advantages:
it is faster, it generates significantly smaller code in many cases, and
it paves the way for implementing dense switch tables as a jump table by
handling switches directly in the instruction selector.
This functionality is currently only enabled on x86, but should be safe for
every target.  In anticipation of making it the default, the cfg is now
properly updated in the x86, ppc, and sparc select lowering code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27156  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-27 01:32:24 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Laskey 
							
						 
					 
					
						
						
							
						
						fbcf23c3c1 
					 
					
						
						
							
							Bullet proof against undefined args produced by upgrading ols-style debug info.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27155  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-26 22:46:27 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						4a147842eb 
					 
					
						
						
							
							Add ISD::isBuildVectorAllZeros predicate  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27147  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-26 09:50:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						10d7fa62ff 
					 
					
						
						
							
							Allow targets to custom lower their own intrinsics if desired.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27146  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-26 09:12:51 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						452e8354d5 
					 
					
						
						
							
							Fix a bug in ISD::isBuildVectorAllOnesInteger that  caused it to always return  
						
						... 
						
						
						
						false
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27131  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-25 22:59:28 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						61d4399dfc 
					 
					
						
						
							
							Implement the ISD::isBuildVectorAllOnesInteger predicate  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27130  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-25 22:57:01 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6ea2dee6f6 
					 
					
						
						
							
							Don't call SimplifyDemandedBits on vectors  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27128  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-25 22:19:00 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7255a54561 
					 
					
						
						
							
							fix inverted conditional  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27089  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 22:49:42 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						73d7b6029a 
					 
					
						
						
							
							Only to vector shuffle for {x,x,y,y} cases when SCALAR_TO_VECTOR is free.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27071  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 18:45:20 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Laskey 
							
						 
					 
					
						
						
							
						
						0892cee81f 
					 
					
						
						
							
							Rename for truth in advertising.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27063  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 09:50:27 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2eb8653157 
					 
					
						
						
							
							prefer to generate constant pool loads over splats.  This prevents us from  
						
						... 
						
						
						
						using a splat for {1.0,1.0,1.0,1.0}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27055  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 07:29:17 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						45053fc7fc 
					 
					
						
						
							
							fix spello  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27053  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 07:15:07 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						d1f04d40a0 
					 
					
						
						
							
							legalize vbit_convert nodes whose result is a legal type.  
						
						... 
						
						
						
						Legalize intrinsic nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27036  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 02:26:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0eade319cd 
					 
					
						
						
							
							Lower target intrinsics into an INTRINSIC node  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27035  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 02:22:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e8a30fdf51 
					 
					
						
						
							
							fix some bogus assertions: noop bitconverts are legal  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27032  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 02:20:47 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						033e681666 
					 
					
						
						
							
							Lower BUILD_VECTOR to VECTOR_SHUFFLE if there are two distinct nodes (and if  
						
						... 
						
						
						
						the target can handle it). Issue two SCALAR_TO_VECTOR ops followed by a
VECTOR_SHUFFLE to select from the two vectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27023  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 01:17:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3e8f3ce8f6 
					 
					
						
						
							
							Identify the INTRINSIC node  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27020  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-24 01:04:30 +00:00 
						 
				 
			
				
					
						
							
							
								Evan Cheng 
							
						 
					 
					
						
						
							
						
						677274b1cb 
					 
					
						
						
							
							Typo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27008  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-23 23:24:51 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7692eb4201 
					 
					
						
						
							
							add support for splitting casts.  This implements  
						
						... 
						
						
						
						CodeGen/Generic/vector.ll:test_cast_2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26999  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-23 21:16:34 +00:00 
						 
				 
			
				
					
						
							
							
								Jim Laskey 
							
						 
					 
					
						
						
							
						
						43970fec32 
					 
					
						
						
							
							Handle new forms of llvm.dbg intrinsics.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26988  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-23 18:06:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						408c428096 
					 
					
						
						
							
							simplify some code  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26972  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-23 05:29:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						7e358908b8 
					 
					
						
						
							
							Fix a typo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26965  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-22 22:20:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e25ca692c0 
					 
					
						
						
							
							Implement simple support for vector casting.  This can currently only handle  
						
						... 
						
						
						
						casts between legal vector types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26961  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-22 20:09:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						841c882f5d 
					 
					
						
						
							
							Endianness does not affect the order of vector fields.  This fixes  
						
						... 
						
						
						
						SingleSource/UnitTests/Vector/build.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26936  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-22 01:46:54 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						3b9fa89fca 
					 
					
						
						
							
							Enclose some variables in a scope to avoid error with some gcc versions  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26934  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-22 00:12:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						e35c218f3e 
					 
					
						
						
							
							add expand support for extractelement  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26931  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-21 21:02:03 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						384504cea6 
					 
					
						
						
							
							add some trivial support for extractelement.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26928  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-21 20:44:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						1c6191ffe7 
					 
					
						
						
							
							Add a hacky workaround for crashes due to vectors live across blocks.  
						
						... 
						
						
						
						Note that this code won't work for vectors that aren't legal on the
target.  Improvements coming.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26925  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-21 19:20:37 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						87100e0b83 
					 
					
						
						
							
							If a target supports splatting with SHUFFLE_VECTOR, lower to it from BUILD_VECTOR(x,x,x,x)  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26885  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-20 01:52:29 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						54a30b9639 
					 
					
						
						
							
							TargetData doesn't know the alignment of vectors :(  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26884  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-20 01:51:46 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						fb194b9e73 
					 
					
						
						
							
							Add very basic support for VECTOR_SHUFFLE  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26880  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 23:56:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4d3abee618 
					 
					
						
						
							
							Allow SCALAR_TO_VECTOR to be custom lowered.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26867  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 06:47:21 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ce87215131 
					 
					
						
						
							
							Add SCALAR_TO_VECTOR support  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26866  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 06:31:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						74881908fe 
					 
					
						
						
							
							Don't bother storing undef elements of BUILD_VECTOR's  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26858  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 05:46:04 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						5fcd0350be 
					 
					
						
						
							
							Implement expand of BUILD_VECTOR containing variable elements.  
						
						... 
						
						
						
						This implements CodeGen/Generic/vector.ll:test_variable_buildvector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26852  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 04:18:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						ca24244234 
					 
					
						
						
							
							fold insertelement(buildvector) -> buildvector if the inserted element # is  
						
						... 
						
						
						
						a constant.  This implements test_constant_insert in CodeGen/Generic/vector.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26851  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 01:27:56 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						2332b9f16f 
					 
					
						
						
							
							implement basic support for INSERT_VECTOR_ELT.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26849  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 01:17:20 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						b2827b0901 
					 
					
						
						
							
							Rename ConstantVec -> BUILD_VECTOR and VConstant -> VBUILD_VECTOR.  Allow*BUILD_VECTOR to take variable inputs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26847  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 00:52:58 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						23d564c11f 
					 
					
						
						
							
							implement vector.ll:test_undef  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26845  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 00:20:20 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						4794a6b6a0 
					 
					
						
						
							
							Fix the remaining bugs in the vector expansion rework I commited yesterday.  
						
						... 
						
						
						
						This fixes CodeGen/Generic/vector.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26843  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-19 00:07:49 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						c7029805ef 
					 
					
						
						
							
							Change the structure of lowering vector stuff.  Note: This breaks some  
						
						... 
						
						
						
						things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26840  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-18 01:44:44 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0c486bdc22 
					 
					
						
						
							
							add a couple enum values  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26830  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-17 19:53:59 +00:00 
						 
				 
			
				
					
						
							
							
								Nate Begeman 
							
						 
					 
					
						
						
							
						
						81e8097377 
					 
					
						
						
							
							Remove BRTWOWAY*  
						
						... 
						
						
						
						Make the PPC backend not dependent on BRTWOWAY_CC and make the branch
selector smarter about the code it generates, fixing a case in the
readme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26814  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-17 01:40:33 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						6cb7004c34 
					 
					
						
						
							
							Fix a problem fully scalarizing values.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26811  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-16 23:05:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						199862b749 
					 
					
						
						
							
							Add support for CopyFromReg from vector values.  Note: this doesn't support  
						
						... 
						
						
						
						illegal vector types yet!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26799  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2006-03-16 19:57:50 +00:00