[llvm-commits] [llvm] r61553 - /llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll

Nick Lewycky nicholas at mxc.ca
Thu Jan 1 19:52:28 PST 2009


Author: nicholas
Date: Thu Jan  1 21:52:27 2009
New Revision: 61553

URL: http://llvm.org/viewvc/llvm-project?rev=61553&view=rev
Log:
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.

Modified:
    llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll

Modified: llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll?rev=61553&r1=61552&r2=61553&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll (original)
+++ llvm/trunk/test/Transforms/FunctionAttrs/2008-12-31-NoCapture.ll Thu Jan  1 21:52:27 2009
@@ -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 @@
 	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
-}





More information about the llvm-commits mailing list