1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Changes to make test scripts more reliable

llvm-svn: 319
This commit is contained in:
Chris Lattner 2001-07-28 17:40:15 +00:00
parent 2143cd75d3
commit c58c25ffc5
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export LD_LIBRARY_PATH
# FIXME: We must strip symbols, because the symbol tables are not output in
# sorted order in the bytecode :(
../tools/as/as < $1 | opt -q -strip > $1.bc.1 || exit 1
../tools/as/as < $1 | ../tools/opt/opt -q -strip > $1.bc.1 || exit 1
../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 2
../tools/as/as < $1.ll.1 > $1.bc.2 || exit 3
../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 4

View File

@ -8,8 +8,8 @@ export LD_LIBRARY_PATH
# Should not be able to optimize further!
../tools/opt/opt -q -constprop -dce < $1.bc.1 > $1.bc.2 || exit 2
dis < $1.bc.1 > $1.ll.1 || exit 3
dis < $1.bc.2 > $1.ll.2 || exit 3
../tools/dis/dis < $1.bc.1 > $1.ll.1 || exit 3
../tools/dis/dis < $1.bc.2 > $1.ll.2 || exit 3
diff $1.ll.[12] || exit 3
# Try out SCCP