[llvm-commits] [poolalloc] r114569 - in /poolalloc/trunk/test/dsa/local: extern.ll extern3.ll

Will Dietz wdietz2 at illinois.edu
Wed Sep 22 11:59:53 PDT 2010


Author: wdietz2
Date: Wed Sep 22 13:59:53 2010
New Revision: 114569

URL: http://llvm.org/viewvc/llvm-project?rev=114569&view=rev
Log:
Fix up extern test cases to be accurate.
Typos (sigh) and forgot to mark one of the methods 'internal'.

Modified:
    poolalloc/trunk/test/dsa/local/extern.ll
    poolalloc/trunk/test/dsa/local/extern3.ll

Modified: poolalloc/trunk/test/dsa/local/extern.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/extern.ll?rev=114569&r1=114568&r2=114569&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/extern.ll (original)
+++ poolalloc/trunk/test/dsa/local/extern.ll Wed Sep 22 13:59:53 2010
@@ -40,7 +40,7 @@
 
 declare i32* @getPointerExtern(...)
 
-define noalias i32* @getPointer() nounwind {
+define internal noalias i32* @getPointer() nounwind {
 entry:
   %0 = tail call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
   %1 = bitcast i8* %0 to i32*                     ; <i32*> [#uses=1]

Modified: poolalloc/trunk/test/dsa/local/extern3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/extern3.ll?rev=114569&r1=114568&r2=114569&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/extern3.ll (original)
+++ poolalloc/trunk/test/dsa/local/extern3.ll Wed Sep 22 13:59:53 2010
@@ -75,8 +75,8 @@
   ret void
 }
 
-;RUN: dsaopt %s -dsa-td -analyze -verify-flags "checkExternals:get-I"
-;RUN: dsaopt %s -dsa-td -analyze -verify-flags "checkExternals:take-I"
+;RUN: dsaopt %s -dsa-td -analyze -verify-flags "checkInternals:get-I"
+;RUN: dsaopt %s -dsa-td -analyze -verify-flags "checkInternals:take-I"
 define void @checkInternals() nounwind {
 entry:
   %get = tail call i32* ()* @getPointerInternal() nounwind ; <i32*> [#uses=0]





More information about the llvm-commits mailing list