Skip to content

Commit

Permalink
remove --enable-new-pm
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan committed Nov 27, 2024
1 parent 7fe662d commit 460c9bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ entry:
LD_LIBRARY_PATH=$HOME/sysu/lib:$LD_LIBRARY_PATH &&
clang -E tester/mizuno_ai/mizuno_ai.sysu.c |
clang -cc1 -S -emit-llvm |
opt --enable-new-pm -S -load-pass-plugin=libsysuOptimizer.so -passes="sysu-optimizer-pass" )
opt -S -load-pass-plugin=libsysuOptimizer.so -passes="sysu-optimizer-pass" )
```

### `translator`
Expand Down
2 changes: 1 addition & 1 deletion optimizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
LD_LIBRARY_PATH=$HOME/sysu/lib:$LD_LIBRARY_PATH &&
clang -E tester/mizuno_ai/mizuno_ai.sysu.c |
clang -cc1 -O0 -S -emit-llvm -disable-O0-optnone |
opt -S --enable-new-pm -load-pass-plugin=libsysuOptimizer.so -passes="sysu-optimizer-pass" )
opt -S -load-pass-plugin=libsysuOptimizer.so -passes="sysu-optimizer-pass" )
```

本目录下提供了一个基于 llvm pass manager 的模板,你可以基于此继续完成整个实验。以下是助教测试时运行时间超过两分钟的几个算例,你可以重点关注它们并进行优化:
Expand Down

0 comments on commit 460c9bf

Please sign in to comment.