SyphonArch / swpp202301-compiler-team1

MIT License
1 stars 0 forks source link

[Sprint 2] [A-VI] arithmetic and logical instruction optimization #31

Closed pzmaus closed 1 year ago

pzmaus commented 1 year ago

저번에 나온 의견대로 add %a, 0의 경우 mul %a, 1로 바꾸는 최적화 코드를 추가하고 arithmetic_pass_1.ll에 확인을 위한 IR코드를 추가했습니다.