Commit 5c416b5a authored by 刘睿博's avatar 刘睿博 🎯

fix test_perf bug

parent 864f2a42
...@@ -4,7 +4,7 @@ project_dir=$(realpath ../../) ...@@ -4,7 +4,7 @@ project_dir=$(realpath ../../)
io_dir=$(realpath "$project_dir"/src/io) io_dir=$(realpath "$project_dir"/src/io)
output_dir=output output_dir=output
suffix=cminus suffix=cminus
flag = "" flag=""
LOG=log.txt LOG=log.txt
check_return_value() { check_return_value() {
...@@ -30,12 +30,12 @@ JIANMU ...@@ -30,12 +30,12 @@ JIANMU
[ $# -lt 1 ] && usage [ $# -lt 1 ] && usage
if [ "$1" == "licm" ]; then if [ "$1" == "licm" ]; then
licm=true licm=true
nfalg = "-mem2reg" nfalg="-mem2reg"
flag = "-mem2reg -licm" flag="-mem2reg -licm"
elif [ "$1" == "mem2reg" ]; then elif [ "$1" == "mem2reg" ]; then
licm=false licm=false
nflag = "" nflag=""
flag = "-mem2reg" flag="-mem2reg"
else else
usage usage
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment