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

fix test_perf bug

parent 864f2a42
......@@ -4,7 +4,7 @@ project_dir=$(realpath ../../)
io_dir=$(realpath "$project_dir"/src/io)
output_dir=output
suffix=cminus
flag = ""
flag=""
LOG=log.txt
check_return_value() {
......@@ -30,12 +30,12 @@ JIANMU
[ $# -lt 1 ] && usage
if [ "$1" == "licm" ]; then
licm=true
nfalg = "-mem2reg"
flag = "-mem2reg -licm"
nfalg="-mem2reg"
flag="-mem2reg -licm"
elif [ "$1" == "mem2reg" ]; then
licm=false
nflag = ""
flag = "-mem2reg"
nflag=""
flag="-mem2reg"
else
usage
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