Evian-Zhang / llvm-ir-tutorial

LLVM IR入门指南

Home Page:https://evian-zhang.github.io/llvm-ir-tutorial/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

好像有个小错误

shecairui opened this issue · comments

%stack_variable = alloca i32
%1 = add i32 1, 2
store i32 %1, i32* %stack_variable
%2 = add i32 3, 4
store i32 %1, i32* %stack_variable
为什么最后一行是%1,我觉得好像是2%。
很感谢作者的教程,学到很多

是个笔误,已修改。谢谢!