Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/include/llvm/Transforms/Utils/SCCPSolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class SCCPSolver {

/// getMRVFunctionsTracked - Get the set of functions which return multiple
/// values tracked by the pass.
const SmallPtrSet<Function *, 16> getMRVFunctionsTracked();
const SmallPtrSet<Function *, 16> &getMRVFunctionsTracked();

/// markOverdefined - Mark the specified value overdefined. This
/// works with both scalars and structs.
Expand Down
4 changes: 2 additions & 2 deletions llvm/lib/Transforms/Utils/SCCPSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ class SCCPInstVisitor : public InstVisitor<SCCPInstVisitor> {
return TrackedGlobals;
}

const SmallPtrSet<Function *, 16> getMRVFunctionsTracked() {
const SmallPtrSet<Function *, 16> &getMRVFunctionsTracked() {
return MRVFunctionsTracked;
}

Expand Down Expand Up @@ -2231,7 +2231,7 @@ SCCPSolver::getTrackedGlobals() {
return Visitor->getTrackedGlobals();
}

const SmallPtrSet<Function *, 16> SCCPSolver::getMRVFunctionsTracked() {
const SmallPtrSet<Function *, 16> &SCCPSolver::getMRVFunctionsTracked() {
return Visitor->getMRVFunctionsTracked();
}

Expand Down