summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAyal Zaks <ayal.zaks@intel.com>2017-06-04 13:29:51 +0000
committerAyal Zaks <ayal.zaks@intel.com>2017-06-04 13:29:51 +0000
commitab32aff8387eb1abcccad98c37d3877b5da2251c (patch)
tree23ca4f35364b21d1aee092fd70ff43717365a222 /llvm/lib
parent10673c98bd33fd5978835342b10f0e2b9cbe6dfa (diff)
downloadbcm5719-llvm-ab32aff8387eb1abcccad98c37d3877b5da2251c.tar.gz
bcm5719-llvm-ab32aff8387eb1abcccad98c37d3877b5da2251c.zip
[LV] Make scalarizeInstruction() non-virtual. NFC.
Following the request made in https://reviews.llvm.org/D32871, scalarizeInstruction() which is no longer overridden by InnerLoopUnroller is hereby made non-virtual in InnerLoopVectorizer. Should have been part of r297580 originally. llvm-svn: 304685
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 799eef21dc4..4040be10a14 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -485,8 +485,7 @@ protected:
/// of scalars. If \p IfPredicateInstr is true we need to 'hide' each
/// scalarized instruction behind an if block predicated on the control
/// dependence of the instruction.
- virtual void scalarizeInstruction(Instruction *Instr,
- bool IfPredicateInstr = false);
+ void scalarizeInstruction(Instruction *Instr, bool IfPredicateInstr = false);
/// Vectorize Load and Store instructions,
virtual void vectorizeMemoryInstruction(Instruction *Instr);
OpenPOWER on IntegriCloud