diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:23:46 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-09 16:23:46 +0000 |
commit | f044d3f93b1068059a4cf13949440ad81f501278 (patch) | |
tree | 2b4dcf46358719512014b2f8da45b292185a384a /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | db4995a1976b4e7f1fc8d655e586fccf8016f492 (diff) | |
download | bcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.tar.gz bcm5719-llvm-f044d3f93b1068059a4cf13949440ad81f501278.zip |
Make helper functions static.
Found by -Wmissing-prototypes. NFC.
llvm-svn: 231664
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 781e224eef6..d22b469046f 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -2533,10 +2533,9 @@ getReductionBinOp(LoopVectorizationLegality::ReductionKind Kind) { } } -Value *createMinMaxOp(IRBuilder<> &Builder, - LoopVectorizationLegality::MinMaxReductionKind RK, - Value *Left, - Value *Right) { +static Value *createMinMaxOp(IRBuilder<> &Builder, + LoopVectorizationLegality::MinMaxReductionKind RK, + Value *Left, Value *Right) { CmpInst::Predicate P = CmpInst::ICMP_NE; switch (RK) { default: |