aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionAttrs
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-01-02 03:52:27 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-01-02 03:52:27 +0000
commit8439653dfc2ab2f8c7555883a608ff9a3296c9de (patch)
treeddf4f9d74a9ec5e1ff19fd9d11ef5961abb7407d /test/Transforms/FunctionAttrs
parent6b0568628319e08b36b8ec14793083e6bbf101a7 (diff)
downloadexternal_llvm-8439653dfc2ab2f8c7555883a608ff9a3296c9de.zip
external_llvm-8439653dfc2ab2f8c7555883a608ff9a3296c9de.tar.gz
external_llvm-8439653dfc2ab2f8c7555883a608ff9a3296c9de.tar.bz2
Remove the cyclic part of this test, it was passing for the wrong
reason. Two functions which mutually require each other to be nocapture are not currently supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/FunctionAttrs')
-rw-r--r--test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
index 758f0dd..b874c82 100644
--- a/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
+++ b/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | not grep {nocapture *%%q}
-; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p} | count 8
+; RUN: llvm-as < %s | opt -functionattrs | llvm-dis | grep {nocapture *%%p} | count 6
@g = global i32* null ; <i32**> [#uses=1]
define i32* @c1(i32* %q) {
@@ -74,13 +74,3 @@ define void @nc5(void (i8*)* %f, i8* %p) {
call void %f(i8* nocapture %p)
ret void
}
-
-define void @nc6(i8* %p) {
- call void @nc7(i8* %p)
- ret void
-}
-
-define void @nc7(i8* %p) {
- call void @nc6(i8* %p)
- ret void
-}