diff options
author | Ayal Zaks <ayal.zaks@intel.com> | 2017-06-04 13:29:51 +0000 |
---|---|---|
committer | Ayal Zaks <ayal.zaks@intel.com> | 2017-06-04 13:29:51 +0000 |
commit | ab32aff8387eb1abcccad98c37d3877b5da2251c (patch) | |
tree | 23ca4f35364b21d1aee092fd70ff43717365a222 /llvm | |
parent | 10673c98bd33fd5978835342b10f0e2b9cbe6dfa (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 3 |
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); |