From 0873e7d2186c97499aacda67eb2fea7ef4ccbcf3 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Mon, 8 Aug 2016 07:03:49 +0000 Subject: Add some comments linking back to PR28400. Thanks to Mehdi for the suggestion! llvm-svn: 277984 --- llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp') diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp index e4b86e9ca7d..6496f3abe5c 100644 --- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp @@ -1274,6 +1274,8 @@ ReversePostOrderFunctionAttrsPass::run(Module &M, AnalysisManager &AM) { // CallGraphAnalysis holds AssertingVH and must be invalidated eagerly so // that other passes don't delete stuff from under it. + // FIXME: We need to invalidate this to avoid PR28400. Is there a better + // solution? AM.invalidate(M); if (!Changed) -- cgit v1.2.3