Weekly check-in #3
RobertoRosmaninho
Published: 06/22/2021
What did I do this week?
This week I focused on testing compiler and run simple programs using the LLVM backend already implemented. I had to Generate the LLVM IR, compile it to assembly, and then use this code in a C program, where I could finally test the implementation. When I executed this test, I realize that the basic blocks of the 'for' loop didn't generate correctly. A second problem emerges with Guilherme's help: a bitwise instruction was missing on a tensor declaration producing errors on assignments. After fixing these bugs a PR was sent by Guilherme and the simple example "A(i) = B(i)" was finally compiling and executing correctly. For now, the "for" loop the way it should.
What is coming up?
This week I'll test some complex examples and investigate if there is any problem with the translation of conditional instructions to LLVM IR.
Did I get stuck anywhere?
Yes, I had some issues executing the code, but mainly my problem was to find what was wrong in the tensor assignment, but these doubts were solved with the precious help of my mentor.