[PATCH] D11782: RFC: Target-specific loop idiom recognition

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 06:58:04 PDT 2015


kparzysz added a comment.

In http://reviews.llvm.org/D11782#223545, @jmolloy wrote:

> What's the value of calling this from LIR?


As per my previous reply---the value is that the target-specific hook runs at the same time as the regular LIR.  This is important not because there is anything shared between the two, but because the loops are "in the right shape" for doing such transformation.  Also, as I said earlier, inserting a target-specific pass into the optimization sequence at that point would work, but there is no way of doing it right now: there is no extension point at where LIR runs right now.  If the approach described in the email that Hal added in his comment was implemented (including an extension point for LIR), this would work for me just fine.


Repository:
  rL LLVM

http://reviews.llvm.org/D11782





More information about the llvm-commits mailing list