mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	TestRunner tests). This makes creating the new test database class easier to implement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8841 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			21 lines
		
	
	
		
			352 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			352 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ;
 | |
| ; RUN: analyze %s -tddatastructure
 | |
| 
 | |
| %str = type { int*, int* }
 | |
| 
 | |
| implementation
 | |
| 
 | |
| void %bar(%str* %S, bool %C) {
 | |
| 	br bool %C, label %T, label %F
 | |
| T:
 | |
| 	%A = getelementptr %str* %S, long 0, ubyte 0
 | |
| 	br label %Out
 | |
| F:
 | |
| 	%B = getelementptr %str* %S, long 0, ubyte 1
 | |
| 	br label %Out
 | |
| Out:
 | |
| 	%P = phi int** [%A, %T], [%B, %F]
 | |
| 	store int* null, int** %P
 | |
| 	ret void
 | |
| }
 |