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

Karthik Bhat kv.bhat at samsung.com
Fri Apr 17 07:37:51 PDT 2015


Hi All,
Updated the code to address Adam,Renato's comments.
Following are the changes-

1. Moved Enums inside structs.
2. Marked local functions in struct as static.
3. Moved functions inside of ReductionDescriptor.

No functionality change/No Regressions observed. 
Please let me know your comments on the same.

Thanks and 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.23931.patch
Type: text/x-patch
Size: 48278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/7739b0a4/attachment.bin>


More information about the llvm-commits mailing list