Commit 06f81e55 authored by 刘睿博's avatar 刘睿博 🎯

fix testcases bugs & LoopDetection bugs

parent 874af38d
...@@ -63,7 +63,8 @@ void LoopDetection::discover_loop_and_sub_loops(BasicBlock *bb, BBset &latches, ...@@ -63,7 +63,8 @@ void LoopDetection::discover_loop_and_sub_loops(BasicBlock *bb, BBset &latches,
* 4. 建立循环嵌套关系: * 4. 建立循环嵌套关系:
* - 设置父循环 * - 设置父循环
* - 添加子循环 * - 添加子循环
* 5. 将子循环header的前驱加入工作表 * 5. 将子循环的所有基本快加入到父循环中
* 6. 将子循环header的前驱加入工作表
*/ */
throw std::runtime_error("Lab4: 你有一个TODO需要完成!"); throw std::runtime_error("Lab4: 你有一个TODO需要完成!");
......
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