diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 14:04:50 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 14:04:50 +0000 | 
| commit | fd4675b5a029cce616a1b0ad339344c5df800ea6 (patch) | |
| tree | 90692ad6d7101214860cca83c219d3c001515d02 /lib/Transforms/Utils | |
| parent | c7dac04c3480f3c20487f912f77343139fce2d99 (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils')
| -rw-r--r-- | lib/Transforms/Utils/LoopUtils.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/LoopUtils.cpp b/lib/Transforms/Utils/LoopUtils.cpp index c3fa05a11a24..fe106e33bca1 100644 --- a/lib/Transforms/Utils/LoopUtils.cpp +++ b/lib/Transforms/Utils/LoopUtils.cpp @@ -880,9 +880,10 @@ bool InductionDescriptor::isFPInductionPHI(PHINode *Phi, const Loop *TheLoop,  /// If we are able to find such sequence, we return the instructions  /// we found, namely %casted_phi and the instructions on its use-def chain up  /// to the phi (not including the phi). -bool getCastsForInductionPHI( -    PredicatedScalarEvolution &PSE, const SCEVUnknown *PhiScev, -    const SCEVAddRecExpr *AR, SmallVectorImpl<Instruction *> &CastInsts) { +static bool getCastsForInductionPHI(PredicatedScalarEvolution &PSE, +                                    const SCEVUnknown *PhiScev, +                                    const SCEVAddRecExpr *AR, +                                    SmallVectorImpl<Instruction *> &CastInsts) {    assert(CastInsts.empty() && "CastInsts is expected to be empty.");    auto *PN = cast<PHINode>(PhiScev->getValue());  | 
