#!/bin/bash # 获取脚本所在目录 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # 切换到项目根目录 cd "$SCRIPT_DIR/.." opt -load ./build/ModuleFusion.so -codefusion < proprocess_output/combined_tagged.ll > output/module_fusion.ll 2> output/log_module_fusion.txt