[PATCH] Refactor identification of reductions and expose them as utility functions
James Molloy
james.molloy at arm.com
Thu Apr 16 03:40:32 PDT 2015
Hi Karthik,
I like the general direction. We have reduction detection logic in too many places already (LoopReroller, I'm looking at you!) and this will enable us to only have one.
However, the functions you've ripped out of LoopVectorizationLegality no longer make sense to be in LoopVectorize.cpp - they should be in lib/Transforms/Utils to avoid a layering violation.
Cheers,
James
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9046
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list