[NFC] Refactor identification of reductions as common utility function.
authorKarthik Bhat <kv.bhat@samsung.com>
Mon, 20 Apr 2015 04:38:33 +0000 (04:38 +0000)
committerKarthik Bhat <kv.bhat@samsung.com>
Mon, 20 Apr 2015 04:38:33 +0000 (04:38 +0000)
commitb2fd516ed9fe36534d19cf1129a1006bb70705e7
tree78304948621adf56044201965fa5f6cfaff46bc8
parent68097249358be0da035730a8195a183df8e9d0c2
[NFC] Refactor identification of reductions as common utility function.
This patch refactors reduction identification code out of LoopVectorizer and
exposes them as common utilities.
No functional change.
Review: http://reviews.llvm.org/D9046

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235284 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/LoopUtils.h
lib/Transforms/Utils/CMakeLists.txt
lib/Transforms/Utils/LoopUtils.cpp [new file with mode: 0644]
lib/Transforms/Vectorize/LoopVectorize.cpp