[PATCH] D75013: [LoopTerminology] Rotated Loops

Stefanos Baziotis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 15:39:39 PST 2020


baziotis added a comment.

Hi @kbarton, thanks for your time to give feedback.

> An aside - did you consider writing at least some of the examples using LLVM IR instead of C? I agree with @Meinersbur that it is hard to represent some of these concepts in C, and it might be easier to illustrate using LLVM IR. I personally have found it's good to learn these transformations based on what the IR looks like, not the corresponding C or C++.

Definitely, I agree, it's coming in the next update. I think each has their place. For example, when talking about more high-level concepts, like transforming `for` to `do-while` or the guard, C helps. But  when it comes to latches, headers etc. it indeed doesn't get the point across. I hope that I will also be able to put some view-cfg style images.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75013/new/

https://reviews.llvm.org/D75013





More information about the llvm-commits mailing list