File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -747,8 +747,8 @@ void StraightLineStrengthReduce::setBasisAndDeltaFor(Candidate &C) {
747747// Y = A + 2
748748// Z = A + 3
749749// Return the delta info for C aginst the new Basis
750- StraightLineStrengthReduce::compressPath (Candidate &C,
751- Candidate *Basis) const -> DeltaInfo {
750+ auto StraightLineStrengthReduce::compressPath (
751+ Candidate &C, Candidate *Basis) const -> DeltaInfo {
752752 if (!Basis || !Basis->Basis || C.CandidateKind == Candidate::Mul)
753753 return {};
754754 Candidate *Root = Basis;
@@ -849,8 +849,8 @@ void StraightLineStrengthReduce::sortCandidateInstructions() {
849849 " Dependency graph should not have cycles" );
850850}
851851
852- StraightLineStrengthReduce::pickRewriteCandidate (
853- Instruction *I) const -> Candidate * {
852+ auto StraightLineStrengthReduce::pickRewriteCandidate (Instruction *I) const
853+ -> Candidate * {
854854 // Return the candidate of instruction I that has the highest profit.
855855 auto It = RewriteCandidates.find (I);
856856 if (It == RewriteCandidates.end ())
You can’t perform that action at this time.
0 commit comments