[PATCH] D11530: RFC: LoopEditor, a high-level loop transform toolkit

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 20:11:17 PDT 2015


anemet added a comment.

> Unfortunately the code in question is a bit of a monolith and has resisted all of my attempts at chiselling into better shape. The main problem is that any sane composition model would perform a sequence of operations on a loop, mutating it in place. This is the model I'd like to get to. But the current model is to do one pass over the source loop, injecting any cloned instructions into a single IRBuilder.


Can you please elaborate on the difficulties a bit more?  Perhaps working through an example would help here.

Thanks,
Adam


Repository:
  rL LLVM

http://reviews.llvm.org/D11530





More information about the llvm-commits mailing list