forked from OSchip/llvm-project
parent
7e6a0d8c17
commit
55c72cb47a
|
@ -18,8 +18,8 @@ $DIS < $1.bc.1 > $1.ll.1 || exit 3
|
|||
$DIS < $1.bc.2 > $1.ll.2 || exit 3
|
||||
diff $1.ll.[12] || exit 3
|
||||
|
||||
# Try out SCCP
|
||||
$AS < $1 | $OPT -q -inline -dce -sccp -dce | $DIS | $AS > $1.bc.3 || exit 1
|
||||
# Try out SCCP & CleanGCC
|
||||
$AS < $1 | $OPT -q -inline -dce -cleangcc -sccp -dce | $DIS | $AS > $1.bc.3 || exit 1
|
||||
|
||||
# Should not be able to optimize further!
|
||||
#$OPT -q -sccp -dce < $1.bc.3 > $1.bc.4 || exit 2
|
||||
|
|
Loading…
Reference in New Issue