[llvm-commits] [poolalloc] r107711 - /poolalloc/trunk/test/dsa/local/malloc.ll

Will Dietz wdietz2 at illinois.edu
Tue Jul 6 15:12:33 PDT 2010


Author: wdietz2
Date: Tue Jul  6 17:12:33 2010
New Revision: 107711

URL: http://llvm.org/viewvc/llvm-project?rev=107711&view=rev
Log:
Make malloc test robust to arbitrary value ordering in node.

Modified:
    poolalloc/trunk/test/dsa/local/malloc.ll

Modified: poolalloc/trunk/test/dsa/local/malloc.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/malloc.ll?rev=107711&r1=107710&r2=107711&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/malloc.ll (original)
+++ poolalloc/trunk/test/dsa/local/malloc.ll Tue Jul  6 17:12:33 2010
@@ -1,7 +1,9 @@
 ;--check that local detects call to malloc properly (marks them heap)
 ;RUN: dsaopt %s -dsa-local -analyze -dstest -print-node-for-value "main:b:0" -print-only-flags | grep "H"
+
+;RUNX: dsaopt %s -dsa-td -analyze -dstest -print-node-for-value "main:c" -print-only-flags -print-node-for-value "main:d" -print-node-for-value "main:b:0" >& /tmp/test.log
 ;--check that local has b pointing to node containing c and d
-;RUN: dsaopt %s -dsa-local -analyze -dstest -print-node-for-value "main:b:0" -print-only-values | grep "^c,d$"
+;RUN: dsaopt %s -dsa-local -analyze -dstest -print-node-for-value "main:b:0" -print-only-values | grep {^c,d$\\|^d,c$}
 ;--check that td/bu don't mark such nodes as incomplete
 ;RUN: dsaopt %s -dsa-td -analyze -dstest -print-node-for-value "main:c" -print-only-flags | not grep "I"
 ;RUN: dsaopt %s -dsa-bu -analyze -dstest -print-node-for-value "main:c" -print-only-flags | not grep "I"





More information about the llvm-commits mailing list