llvm.org GIT mirror llvm / dc77158 test / Transforms / FunctionAttrs / operand-bundles-scc.ll
dc77158

Tree @dc77158 (Download .tar.gz)

operand-bundles-scc.ll @dc77158

598198e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7597e7f
; RUN: opt -S -functionattrs < %s | FileCheck %s
; RUN: opt -S -passes=function-attrs < %s | FileCheck %s

define void @f() {
; CHECK-LABEL:  define void @f() #0 {
 call void @g() [ "unknown"() ]
 ret void
}

define void @g() {
; CHECK-LABEL:  define void @g() #0 {
 call void @f()
 ret void
}


; CHECK: attributes #0 = { nofree nounwind }