[llvm-commits] [poolalloc] r114572 - in /poolalloc/trunk/test/dsa/local: arrays1.c arrays1.ll

Arushi Aggarwal aggarwa4 at illinois.edu
Wed Sep 22 12:22:16 PDT 2010


Author: aggarwa4
Date: Wed Sep 22 14:22:16 2010
New Revision: 114572

URL: http://llvm.org/viewvc/llvm-project?rev=114572&view=rev
Log:
Added comments

Modified:
    poolalloc/trunk/test/dsa/local/arrays1.c
    poolalloc/trunk/test/dsa/local/arrays1.ll

Modified: poolalloc/trunk/test/dsa/local/arrays1.c
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays1.c?rev=114572&r1=114571&r2=114572&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays1.c (original)
+++ poolalloc/trunk/test/dsa/local/arrays1.c Wed Sep 22 14:22:16 2010
@@ -1,3 +1,6 @@
+// Checks that structure field offsets are calculated correctly
+// Checks that structure is folded
+
 //--Make sure we can run DSA on it! 
 //RUN: llvm-gcc %s -c --emit-llvm -o - |  \
 //RUN: dsaopt -dsa-bu -dsa-td -disable-output

Modified: poolalloc/trunk/test/dsa/local/arrays1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays1.ll?rev=114572&r1=114571&r2=114572&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays1.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays1.ll Wed Sep 22 14:22:16 2010
@@ -1,5 +1,9 @@
+;Checks that structure field offsets are calculated correctly
+;Checks that structure is folded
+
 ;RUN: dsaopt %s -dsa-local -analyze -check-same-node=func:tmp:0:0,func:tmp:0
 ;RUN: dsaopt %s -dsa-local -analyze -check-same-node=func:c:0,func:tmp:0,func:s2:8
+;RUN: dsaopt %s -dsa-local -analyze -check-type=func:tmp:0,FoldedVOIDArray
 
 ; ModuleID = 'arrays1.bc'
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"





More information about the llvm-commits mailing list