[llvm-commits] [llvm] r62457 - /llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll

Nick Lewycky nicholas at mxc.ca
Sat Jan 17 20:46:10 PST 2009


Author: nicholas
Date: Sat Jan 17 22:46:10 2009
New Revision: 62457

URL: http://llvm.org/viewvc/llvm-project?rev=62457&view=rev
Log:
Forgot this in the previous checkin: fopen now has nocapture, realloc is
supposed to take two arguments.

Modified:
    llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll

Modified: llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll?rev=62457&r1=62456&r2=62457&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll Sat Jan 17 22:46:10 2009
@@ -1,12 +1,12 @@
 ; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
 ; RUN: grep noalias %t | count 2
-; RUN: grep nocapture %t | count 2
+; RUN: grep nocapture %t | count 3
 ; RUN: grep nounwind %t | count 3
 ; RUN: grep readonly %t | count 1
 
 declare i8* @fopen(i8*, i8*)
 declare i8 @strlen(i8*)
-declare i32* @realloc(i32*)
+declare i32* @realloc(i32*, i32)
 
 ; Test deliberately wrong declaration
 declare i32 @strcpy(...)





More information about the llvm-commits mailing list