summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll
blob: 4ad195ea2b5ffd5c544ed5b2912b46f82d807b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; 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 }
OpenPOWER on IntegriCloud