Skip to content

Commit 498687b

Browse files
committed
Add, and infer, a nofree function attribute
Removing dead code leftover from refactor. Reviewers: jdoerfert Differential Revision: https://reviews.llvm.org/D49165 llvm-svn: 365345
1 parent 2734f5c commit 498687b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Transforms/IPO/FunctionAttrs.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,11 +1402,6 @@ PreservedAnalyses PostOrderFunctionAttrsPass::run(LazyCallGraph::SCC &C,
14021402
FunctionAnalysisManager &FAM =
14031403
AM.getResult<FunctionAnalysisManagerCGSCCProxy>(C, CG).getManager();
14041404

1405-
const ModuleAnalysisManager &MAM =
1406-
AM.getResult<ModuleAnalysisManagerCGSCCProxy>(C, CG).getManager();
1407-
assert(C.size() > 0 && "Cannot handle an empty SCC!");
1408-
Module &M = *C.begin()->getFunction().getParent();
1409-
14101405
// We pass a lambda into functions to wire them up to the analysis manager
14111406
// for getting function analyses.
14121407
auto AARGetter = [&](Function &F) -> AAResults & {

0 commit comments

Comments
 (0)