summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/readnone.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/readnone.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/readnone.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/readnone.ll b/llvm/test/Transforms/FunctionAttrs/readnone.ll
deleted file mode 100644
index b5a5b30ae21..00000000000
--- a/llvm/test/Transforms/FunctionAttrs/readnone.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: opt < %s -functionattrs -S | FileCheck %s
-; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
-
-; CHECK: define void @bar(i8* nocapture readnone)
-define void @bar(i8* readonly) {
- call void @foo(i8* %0)
- ret void
-}
-
-; CHECK: define void @foo(i8* nocapture readnone)
-define void @foo(i8* readonly) {
- call void @bar(i8* %0)
- ret void
-}
OpenPOWER on IntegriCloud