19 lines
		
	
	
		
			322 B
		
	
	
	
		
			LLVM
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			322 B
		
	
	
	
		
			LLVM
		
	
	
	
; RUN: opt -inline -S < %s | FileCheck %s
 | 
						|
; PR6682
 | 
						|
declare void @foo() nounwind
 | 
						|
 | 
						|
define void @bar() nounwind {
 | 
						|
entry:
 | 
						|
    tail call void @foo() nounwind
 | 
						|
    ret void
 | 
						|
}
 | 
						|
 | 
						|
define void @bazz() nounwind {
 | 
						|
entry:
 | 
						|
    tail call void @bar() nounwind noinline
 | 
						|
    ret void
 | 
						|
}
 | 
						|
 | 
						|
; CHECK: define void @bazz()
 | 
						|
; CHECK: call void @bar()
 |