summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll b/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll
new file mode 100644
index 00000000000..2502ea719ca
--- /dev/null
+++ b/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll
@@ -0,0 +1,13 @@
+; RUN: opt -S -functionattrs < %s | FileCheck %s
+
+define void @f() {
+; CHECK-LABEL: define void @f() {
+ call void @g() [ "unknown"() ]
+ ret void
+}
+
+define void @g() {
+; CHECK-LABEL: define void @g() {
+ call void @f()
+ ret void
+}
OpenPOWER on IntegriCloud