diff options
author | Sean Silva <chisophugis@gmail.com> | 2016-08-08 07:03:49 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2016-08-08 07:03:49 +0000 |
commit | 0873e7d2186c97499aacda67eb2fea7ef4ccbcf3 (patch) | |
tree | adfa50c3af6f381e6f5c527ab273be3cb3db77f6 /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | 97c363fbfe8ab096d559b42960d0fe4c7dda52ff (diff) | |
download | bcm5719-llvm-0873e7d2186c97499aacda67eb2fea7ef4ccbcf3.tar.gz bcm5719-llvm-0873e7d2186c97499aacda67eb2fea7ef4ccbcf3.zip |
Add some comments linking back to PR28400.
Thanks to Mehdi for the suggestion!
llvm-svn: 277984
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<Module> &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<CallGraphAnalysis>(M); if (!Changed) |