Dan Gohman 
							
						 
					 
					
						
						
							
						
						dd8004dc73 
					 
					
						
						
							
							Add a new keyword 'inbounds' for use with getelementptr. See the  
						
						... 
						
						
						
						LangRef.html changes for details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77259  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 21:53:46 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						6f83c9c6ef 
					 
					
						
						
							
							Move ConstantFP construction back to the 2.5-ish API.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77247  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 20:59:43 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						59858cf792 
					 
					
						
						
							
							Change the assembly syntax for nsw, nuw, and exact, putting them  
						
						... 
						
						
						
						after their associated opcodes rather than before. This makes them
a little easier to read.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77194  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 16:11:46 +00:00 
						 
				 
			
				
					
						
							
							
								Benjamin Kramer 
							
						 
					 
					
						
						
							
						
						30d3b911c9 
					 
					
						
						
							
							Test commit: fix typo  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77187  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-27 09:06:52 +00:00 
						 
				 
			
				
					
						
							
							
								Daniel Dunbar 
							
						 
					 
					
						
						
							
						
						92ccf70ad4 
					 
					
						
						
							
							Finish migrating VMCore to StringRef/Twine based APIs.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77051  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-25 06:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						a3500da559 
					 
					
						
						
							
							Move ExtractElementInst to ::Create instead of new. Update all uses.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77044  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-25 02:28:41 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						eed707b1e6 
					 
					
						
						
							
							Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types.  More to come.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-24 23:12:02 +00:00 
						 
				 
			
				
					
						
							
							
								Eli Friedman 
							
						 
					 
					
						
						
							
						
						4e9bac3769 
					 
					
						
						
							
							Fix assert assembling zero-argument constant GEP.  
						
						... 
						
						
						
						There's still a strict-aliasing violation here, but I don't feel like 
dealing with that right now...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77005  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-24 21:56:17 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2f9c3b002d 
					 
					
						
						
							
							MDString  
						
						... 
						
						
						
						- Rename member function size(). New name is length().
- Store string beginning and length. Earlier it used to store string end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76841  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-23 02:00:51 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						db5e90078e 
					 
					
						
						
							
							Silence "uninitialized use" warning.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76836  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-23 01:36:16 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						104cf9e02b 
					 
					
						
						
							
							Derive MDNode from MetadataBase instead of Constant. Emit MDNodes into METADATA_BLOCK in bitcode file.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76834  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-23 01:07:34 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Christopher 
							
						 
					 
					
						
						
							
						
						0aaf4e91c2 
					 
					
						
						
							
							Fix error message for correct opcode.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76829  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-23 01:01:32 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						08d012eba4 
					 
					
						
						
							
							Rename the new unsigned and signed keywords to nuw and nsw,  
						
						... 
						
						
						
						which stand for no-unsigned-wrap and no-signed-wrap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76810  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-22 22:44:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						e54abc90fe 
					 
					
						
						
							
							Introduce MetadataBase, a base class for MDString and MDNode.  
						
						... 
						
						
						
						Derive MDString directly from MetadataBase. 
Introduce new bitcode block to hold metadata.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76759  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-22 17:43:22 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						b3056faa55 
					 
					
						
						
							
							Rename getConstantInt{True|False} to get{True|False} at Chris' behest.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76598  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-21 18:03:38 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						1224c38698 
					 
					
						
						
							
							Assembly and Bitcode support for unsigned/signed overflow flags and  
						
						... 
						
						
						
						exact sdiv flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76475  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-20 21:19:07 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						256be96457 
					 
					
						
						
							
							Refactor metadata parsing routines into separate functions.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76455  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-20 19:00:08 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						3d10a5a757 
					 
					
						
						
							
							Add plumbing for the `linker_private' linkage type. This type is meant for  
						
						... 
						
						
						
						"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.
This is plumbing, so we don't have a use of it yet. More to come, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76385  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-20 01:03:30 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						c5ec8a78ea 
					 
					
						
						
							
							Add support for naked functions  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76198  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-17 18:07:26 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						50dead06ff 
					 
					
						
						
							
							Revert yesterday's change by removing the LLVMContext parameter to AllocaInst and MallocInst.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75863  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-15 23:53:25 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						9adc0abad3 
					 
					
						
						
							
							Move EVER MORE stuff over to LLVMContext.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 23:09:55 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						c23197a26f 
					 
					
						
						
							
							llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.  
						
						... 
						
						
						
						This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75640  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-14 16:55:14 +00:00 
						 
				 
			
				
					
						
							
							
								Torok Edwin 
							
						 
					 
					
						
						
							
						
						c25e7581b9 
					 
					
						
						
							
							assert(0) -> LLVM_UNREACHABLE.  
						
						... 
						
						
						
						Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75379  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-11 20:10:48 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						333c400965 
					 
					
						
						
							
							This started as a small change, I swear.  Unfortunately, lots of things call the [I|F]CmpInst constructors.  Who knew!?  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75200  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-09 23:48:35 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d1095407ea 
					 
					
						
						
							
							Fix thinko.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75061  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 22:25:56 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						2214c94bb7 
					 
					
						
						
							
							Drop "constant" from  
						
						... 
						
						
						
						!0  = constant metadata !{...}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75057  91177308-0d34-0410-b5e6-96231b3b80d8 
					
						2009-07-08 21:57:07 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						1c7eea60d3 
					 
					
						
						
							
							Support MDNode forward reference.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75031  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 19:23:54 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e9b11b4313 
					 
					
						
						
							
							Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 19:03:57 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						7f6aa2b162 
					 
					
						
						
							
							Remove the vicmp and vfcmp instructions. Because we never had a release with  
						
						... 
						
						
						
						these instructions, no autoupgrade or backwards compatibility support is
provided.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 03:04:38 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						3d29df3e8a 
					 
					
						
						
							
							Push LLVMContext through GlobalVariables and IRBuilder.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74985  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-08 01:26:06 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						eeb4a84ac8 
					 
					
						
						
							
							switch the .ll parser to use SourceMgr.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74735  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 23:08:13 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						12c99d8160 
					 
					
						
						
							
							Use LLVMContext for generating MDStrings too.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74710  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 17:28:30 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						e951bdff0d 
					 
					
						
						
							
							Use LLVMContext to generate metadata constants.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74708  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 17:20:28 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						b43eae745e 
					 
					
						
						
							
							Use LLVMContext for generating UndefValue constants too!  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74703  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-02 17:04:01 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						fba933c823 
					 
					
						
						
							
							Try again at converting the LLParser to use LLVMContext, without massive breakage this time.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74671  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 23:57:11 +00:00 
						 
				 
			
				
					
						
							
							
								Bill Wendling 
							
						 
					 
					
						
						
							
						
						aa3943bf63 
					 
					
						
						
							
							--- Reverse-merging (from foreign repository) r74648 into '.':  
						
						... 
						
						
						
						U    include/llvm/LLVMContext.h
U    lib/VMCore/LLVMContext.cpp
U    lib/AsmParser/LLParser.cpp
U    lib/AsmParser/LLParser.h
Temporarily reverting r74648. It was causing massive failures in release mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74653  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 22:33:26 +00:00 
						 
				 
			
				
					
						
							
							
								Owen Anderson 
							
						 
					 
					
						
						
							
						
						c137ea6cf5 
					 
					
						
						
							
							Convert LLParser to use LLVMContext for creating constants.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74648  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 21:57:44 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						923078c65d 
					 
					
						
						
							
							Support stand alone metadata syntax.  
						
						... 
						
						
						
						!0  = constant metadata !{i32 21, i32 22}
@llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74630  91177308-0d34-0410-b5e6-96231b3b80d8 
					
						2009-07-01 19:21:12 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						0fd38069cb 
					 
					
						
						
							
							improve the APIs for creating struct and function types with no arguments/elements  
						
						... 
						
						
						
						to not have to create a temporary vector (in the API at least).  Patch by Jay Foad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74584  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-07-01 04:13:31 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Korobeynikov 
							
						 
					 
					
						
						
							
						
						385f5a99ec 
					 
					
						
						
							
							Address review comments: add 3 ARM calling conventions.  
						
						... 
						
						
						
						Dispatch C calling conv. to one of these conventions based on
target triple and subtarget features.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73530  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-16 18:50:49 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						24b108bc8c 
					 
					
						
						
							
							Fix a typo in a diagnostic.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73429  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-15 21:52:11 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						a119de86a0 
					 
					
						
						
							
							Fix old-style type names in comments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73362  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-14 23:30:43 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						a5f54a06b0 
					 
					
						
						
							
							Create FunctionType::isValidArgumentType to go along with isValidReturnType.  
						
						... 
						
						
						
						Also create isValidElementType for ArrayType, PointerType, StructType and
VectorType.
Make LLParser use them. This closes up some holes like an assertion failure on:
  %x = type {label}
but largely doesn't change any semantics. The only thing we accept now which
we didn't before is vectors of opaque type such as "<4 x opaque>". The opaque
can be resolved to an int or float when linking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73016  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-07 07:26:46 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						00907c7d81 
					 
					
						
						
							
							Refuse metadata* type for function arguments.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73010  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-07 01:45:11 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						578efa920a 
					 
					
						
						
							
							Add new function attribute - noimplicitfloat  
						
						... 
						
						
						
						Update code generator to use this attribute and remove NoImplicitFloat target option.
Update llc to set this attribute when -no-implicit-float command line option is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72959  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-05 21:57:13 +00:00 
						 
				 
			
				
					
						
							
							
								Dan Gohman 
							
						 
					 
					
						
						
							
						
						ae3a0be92e 
					 
					
						
						
							
							Split the Add, Sub, and Mul instruction opcodes into separate  
						
						... 
						
						
						
						integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.
For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.
This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt 
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72897  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-04 22:49:04 +00:00 
						 
				 
			
				
					
						
							
							
								Devang Patel 
							
						 
					 
					
						
						
							
						
						d18e31ae17 
					 
					
						
						
							
							Add new function attribute - noredzone.  
						
						... 
						
						
						
						Update code generator to use this attribute and remove DisableRedZone target option.
Update llc to set this attribute when -disable-red-zone command line option is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72894  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-06-04 22:05:33 +00:00 
						 
				 
			
				
					
						
							
							
								Jay Foad 
							
						 
					 
					
						
						
							
						
						e3e51c0038 
					 
					
						
						
							
							Use v.data() instead of &v[0] when SmallVector v might be empty.  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72210  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-21 09:52:38 +00:00 
						 
				 
			
				
					
						
							
							
								Nick Lewycky 
							
						 
					 
					
						
						
							
						
						cb33799b9f 
					 
					
						
						
							
							Make MDNode use CallbackVH. Also change MDNode to store Value* instead of  
						
						... 
						
						
						
						Constant* in preperation of a future change to support holding non-Constants
in an MDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71407  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-05-10 20:57:05 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Lattner 
							
						 
					 
					
						
						
							
						
						040f758e3a 
					 
					
						
						
							
							testcase and asmparser fix for PR4066  
						
						... 
						
						
						
						git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70080  91177308-0d34-0410-b5e6-96231b3b80d8 
						
						
					 
					
						2009-04-25 21:26:00 +00:00