[PATCH] Refactor identification of reductions and expose them as utility functions

Karthik Bhat kv.bhat at samsung.com
Fri Apr 17 14:01:48 PDT 2015


Hi Renato,
Thanks for the review. Addressing review comments. 
I have made ReductionInstDesc and ReductionDescriptor as class as per your suggestion. Made member variables as private and exposed them through get functions so that they can be used in LoopVectorizer. I hope you are ok with this change?

Thanks for your time and awaiting for your inputs.

Regards
Karthik Bhat


http://reviews.llvm.org/D9046

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/Transforms/Utils/CMakeLists.txt
  lib/Transforms/Utils/LoopUtils.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9046.23967.patch
Type: text/x-patch
Size: 52608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/28e1d130/attachment.bin>


More information about the llvm-commits mailing list