Tutorial on LLVM IR

Dear all,

I need a beginner’s tutorial on LLVM IR. I request you to kindly give it.

Thanks.
Sudakshina

Hi Sudakshina,

Here’s a tutorial that may help you: https://youtu.be/m8G_S5LwlTo

Best,
Stefanos

Dear Stefanos,

Thanks a lot. I have one more question. If an optimization pass is attempted on a source code and assume the pass is buggy, is it worthwhile to find out which optimization (e.g., code motion, scalar replacement, etc) is responsible for the bug ?

Thanks again for your help.

Sudakshina

I find the course by Adrian Sampson useful

https://www.cs.cornell.edu/courses/cs6120/2020fa/

Hi Sudakshina,

First of all, a pass is not supposed to be buggy. However, if some pass is in fact buggy, finding which one, is worth it depends on your motive.
For example, if you want to help the LLVM community, yes that would be worth it.

Best,
Stefanos

Στις Δευ, 15 Φεβ 2021 στις 11:06 π.μ., ο/η Bernard Nongpoh <bernard.nongpoh@gmail.com> έγραψε: