Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/_posts/llvm-cg-errata.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ sticky: 100
![](llvm-cg-errata/17499583960826.jpg)
印刷校正前疏忽导致9-3标题错误。代码9-3是对clang编译后的LLVM IR调整后的LLVM IR,其目的是为了触发尾代码优化,而非书中提到的经过尾代码优化后的LLVM IR。
![](llvm-cg-errata/17499584262522.jpg)
4.第24页在讨论SSA析构时有读者xfan对2-14提出疑问,为什么此时SSA析构不考虑IR并行执行的?该例是JVM C1中IR析构的处理方式,如下

感谢泽文和他的小伙伴,发现了上述问题。

![](llvm-cg-errata/17499665831153.jpg)
原因是在JVM的C1进行构造IR已经考虑过,所以在析构时不用再考虑。由于书中没有明确提及这一点,给读者造成误解,抱歉。后续会稍微补充相关背景知识。

感谢泽文和他的小伙伴xfan、bloomsky等,发现了上述问题,感谢。

2025年1月第二版次印刷修正了如下错误。

Expand Down
Binary file added source/_posts/llvm-cg-errata/17499665831153.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed source/_posts/media/17499581411514.jpg
Binary file not shown.
Binary file removed source/_posts/media/17499581954471.jpg
Binary file not shown.
Binary file removed source/_posts/media/17499583960826.jpg
Binary file not shown.
Binary file removed source/_posts/media/17499584262522.jpg
Binary file not shown.
Loading