diff options
author | Vikram TV <vikram.tarikere@gmail.com> | 2018-09-10 05:05:08 +0000 |
---|---|---|
committer | Vikram TV <vikram.tarikere@gmail.com> | 2018-09-10 05:05:08 +0000 |
commit | 6594dc377d866fe5fe36fe6619b2555f7bb623e8 (patch) | |
tree | 99fd5334a1c53c48919137ac9825a3258cb84514 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 07cc5a8df9edd94de7390607b0664cf83820089a (diff) | |
download | bcm5719-llvm-6594dc377d866fe5fe36fe6619b2555f7bb623e8.tar.gz bcm5719-llvm-6594dc377d866fe5fe36fe6619b2555f7bb623e8.zip |
Move createMinMaxOp() out of RecurrenceDescriptor.
Reviewers: dmgreen, llvm-commits
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D51838
llvm-svn: 341773
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 0f7cc7b6c04..73beb23620d 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -3688,8 +3688,8 @@ void InnerLoopVectorizer::fixReduction(PHINode *Phi) { Builder.CreateBinOp((Instruction::BinaryOps)Op, RdxPart, ReducedPartRdx, "bin.rdx")); else - ReducedPartRdx = RecurrenceDescriptor::createMinMaxOp( - Builder, MinMaxKind, ReducedPartRdx, RdxPart); + ReducedPartRdx = createMinMaxOp(Builder, MinMaxKind, ReducedPartRdx, + RdxPart); } if (VF > 1) { |