]> granicus.if.org Git - llvm/commitdiff
[LV] Make scalarizeInstruction() non-virtual. NFC.
authorAyal Zaks <ayal.zaks@intel.com>
Sun, 4 Jun 2017 13:29:51 +0000 (13:29 +0000)
committerAyal Zaks <ayal.zaks@intel.com>
Sun, 4 Jun 2017 13:29:51 +0000 (13:29 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304685 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 799eef21dc4ea4e6ac7bf2489161113048bcf34d..4040be10a1467d7bd9dc2cac41f7cf71b8d71949 100644 (file)
@@ -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);