[PATCH] [LoopInterchange] Add support to interchange loops with reductions.
Renato Golin
renato.golin at linaro.org
Mon Mar 23 09:38:43 PDT 2015
In http://reviews.llvm.org/D8314#145073, @karthikthecool wrote:
> Sure. The functions currently duplicated are - isReductionPHI and helper functions and isInductionPHI. Is it ok to move them to somewhere like LoopBase. Loop can expose an API to check if a variable is induction/reduction in the loop? It can be reused by other modules in this case.
Karthik,
Can you try and refactor those two functions to be generic and make both loop vectorizer and interchange to use it?
cheers,
--renato
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8314
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list